 keras tutorialand extensible API.  Minimal structure - easy to achieve the result without any frills.  It supports multiple platforms and backends.  It is user friendly framework which runs on both CPU and another neuron to which it is connected. Each neuron processes a small information and then passes the result to another neuron and this process continues. This is the basic method used by our human brain to layer. The output layer process receives the data from last hidden layer and finally output the result. Keras 13 Convolutional Neural Network (CNN) Convolutional neural network0 码力 | 98 页 | 1.57 MB | 1 年前3 keras tutorialand extensible API.  Minimal structure - easy to achieve the result without any frills.  It supports multiple platforms and backends.  It is user friendly framework which runs on both CPU and another neuron to which it is connected. Each neuron processes a small information and then passes the result to another neuron and this process continues. This is the basic method used by our human brain to layer. The output layer process receives the data from last hidden layer and finally output the result. Keras 13 Convolutional Neural Network (CNN) Convolutional neural network0 码力 | 98 页 | 1.57 MB | 1 年前3
 PyTorch Release Notesis using close to all available device memory due to an unexpected memory thrashing when `torch.backends.cudnn.benchmark = True` is used. The performance can be restored by disabling `cudnn.benchmark` autotuning could cause a long startup time or a hang. In these cases, disbale autotuning using `torch.backends.cudnn.benchmark = False`. ‣ GNMTv2 inference performance regression of up to 50% due to an MKL `antialiasing` argument for resizing operations in DALI 1.16.0 was changed to `True`, which could result in performance regressions on CPU-limited use cases. Set this argument to `False` to restore the0 码力 | 365 页 | 2.94 MB | 1 年前3 PyTorch Release Notesis using close to all available device memory due to an unexpected memory thrashing when `torch.backends.cudnn.benchmark = True` is used. The performance can be restored by disabling `cudnn.benchmark` autotuning could cause a long startup time or a hang. In these cases, disbale autotuning using `torch.backends.cudnn.benchmark = False`. ‣ GNMTv2 inference performance regression of up to 50% due to an MKL `antialiasing` argument for resizing operations in DALI 1.16.0 was changed to `True`, which could result in performance regressions on CPU-limited use cases. Set this argument to `False` to restore the0 码力 | 365 页 | 2.94 MB | 1 年前3
 Keras: 基于 Python 的深度学习库autopep8 -i --select Keras: 基于 Python 的深度学习库autopep8 -i --select- 例如:autopep8 -i --select E128 tests/keras/backend/test_backends.py 8. 提交时,请使用适当的描述性提交消息。 9. 更新文档。如果引入新功能,请确保包含演示新功能用法的代码片段。 10. 提交你的 PR。如果你的更改已在之前的讨论中获得批准,并且你有完整(并通过)的单元 0 码力 | 257 页 | 1.19 MB | 1 年前3
 深度学习下的图像视频处理技术-沈小勇DPE White-box Distort-and-Recover Our result Expert-retouched Visual Comparison: MIT-Adobe FiveK Input JieP HDRNet DPE White-box Distort-and-Recover Our result Expert-retouched More Comparison Results: HDRNet DPE White-Box Distort-and-Recover Our result Limitaion Input Our result More Results Input JieP HDRNet DPE White-box Distort-and-Recover Our result Expert-retouched More Results Input JieP JieP HDRNet DPE White-box Distort-and-Recover Our result Expert-retouched More Results Input JieP HDRNet DPE White-box Distort-and-Recover Our result Expert-retouched More Results Input JieP HDRNet DPE0 码力 | 121 页 | 37.75 MB | 1 年前3 深度学习下的图像视频处理技术-沈小勇DPE White-box Distort-and-Recover Our result Expert-retouched Visual Comparison: MIT-Adobe FiveK Input JieP HDRNet DPE White-box Distort-and-Recover Our result Expert-retouched More Comparison Results: HDRNet DPE White-Box Distort-and-Recover Our result Limitaion Input Our result More Results Input JieP HDRNet DPE White-box Distort-and-Recover Our result Expert-retouched More Results Input JieP JieP HDRNet DPE White-box Distort-and-Recover Our result Expert-retouched More Results Input JieP HDRNet DPE White-box Distort-and-Recover Our result Expert-retouched More Results Input JieP HDRNet DPE0 码力 | 121 页 | 37.75 MB | 1 年前3
 《Efficient Deep Learning Book》[EDL] Chapter 2 - Compression Techniquessine wave is a low precision representation which takes integer values in the range [0, 5]. As a result, the quantized wave requires low transmission bandwidth. Figure 2-3: Quantization of sine waves the low precision domain, because we are losing precision when going to a b-bit integer and as a result values which were close in the high precision domain might end up being mapped to the same value values, with the starting and endpoint defined, along with a step value. This returns the following result. [-10. -7.5 -5. -2.5 0. 2.5 5. 7.5 10. ] Now let’s quantize x. # Quantize the0 码力 | 33 页 | 1.96 MB | 1 年前3 《Efficient Deep Learning Book》[EDL] Chapter 2 - Compression Techniquessine wave is a low precision representation which takes integer values in the range [0, 5]. As a result, the quantized wave requires low transmission bandwidth. Figure 2-3: Quantization of sine waves the low precision domain, because we are losing precision when going to a b-bit integer and as a result values which were close in the high precision domain might end up being mapped to the same value values, with the starting and endpoint defined, along with a step value. This returns the following result. [-10. -7.5 -5. -2.5 0. 2.5 5. 7.5 10. ] Now let’s quantize x. # Quantize the0 码力 | 33 页 | 1.96 MB | 1 年前3
 【PyTorch深度学习-龙龙老师】-测试版20211210 份,每份长度为 1 result = torch.split(x, split_size_or_sections=1, dim=0) len(result) # 返回的列表为 10 个张量的列表 Out[8]: 10 可以查看切割后的某个张量的形状,它应是某个班级的所有成绩册数据,shape 为[35,8], 例如: In [9]: result[0] # 查看第一个班级的成绩册张量 [10]: x = torch.randn([10,35,8]) # 自定义长度的切割,切割为 4 份,返回 4 个张量的列表 result result = torch.split(x, [4,2,2,2] , dim=0) len(result) Out[10]: 4 查看第一个张量的 shape,根据上述的切割方案,它应该包含了 4 个班级的成绩册,shape 预览版202112 预览版202112 5.2 数据统计 5 应为[4,35,8],验证一下: In [10]: result[0] Out[10]: # torch.Size([4, 35, 8]) tensor([[[-6.95693314e-01, 3.01393479e-01, 1.33964568e-01, ...,]]]) 除了 split 函数可以实现张量分割外,PyTorch0 码力 | 439 页 | 29.91 MB | 1 年前3 【PyTorch深度学习-龙龙老师】-测试版20211210 份,每份长度为 1 result = torch.split(x, split_size_or_sections=1, dim=0) len(result) # 返回的列表为 10 个张量的列表 Out[8]: 10 可以查看切割后的某个张量的形状,它应是某个班级的所有成绩册数据,shape 为[35,8], 例如: In [9]: result[0] # 查看第一个班级的成绩册张量 [10]: x = torch.randn([10,35,8]) # 自定义长度的切割,切割为 4 份,返回 4 个张量的列表 result result = torch.split(x, [4,2,2,2] , dim=0) len(result) Out[10]: 4 查看第一个张量的 shape,根据上述的切割方案,它应该包含了 4 个班级的成绩册,shape 预览版202112 预览版202112 5.2 数据统计 5 应为[4,35,8],验证一下: In [10]: result[0] Out[10]: # torch.Size([4, 35, 8]) tensor([[[-6.95693314e-01, 3.01393479e-01, 1.33964568e-01, ...,]]]) 除了 split 函数可以实现张量分割外,PyTorch0 码力 | 439 页 | 29.91 MB | 1 年前3
 《Efficient Deep Learning Book》[EDL] Chapter 3 - Learning Techniqueswhich translates Spanish to English. This model translates “Estoy muy bien” to “I am fine”. This result can be used to train our original English to Spanish translation model. Let’s dig deeper into each on every sample results in a dataset 2x the original size. Two transformations applied separately result in a dataset 3x the original size. Can we apply N transformations to create a dataset Nx the size A 50 pixel point shift moves a pixel with initial coordinates to the final coordinates . As a result, the image is vertically shifted by 50px as shown in the top middle image in figure 3-6. Such a0 码力 | 56 页 | 18.93 MB | 1 年前3 《Efficient Deep Learning Book》[EDL] Chapter 3 - Learning Techniqueswhich translates Spanish to English. This model translates “Estoy muy bien” to “I am fine”. This result can be used to train our original English to Spanish translation model. Let’s dig deeper into each on every sample results in a dataset 2x the original size. Two transformations applied separately result in a dataset 3x the original size. Can we apply N transformations to create a dataset Nx the size A 50 pixel point shift moves a pixel with initial coordinates to the final coordinates . As a result, the image is vertically shifted by 50px as shown in the top middle image in figure 3-6. Such a0 码力 | 56 页 | 18.93 MB | 1 年前3
 Experiment 1: Linear Regressionin this example we have only one feature, being able to plot this gives a nice sanity-check on our result. (3) Finally, we’d like to make some predictions using the learned hypothesis. Use your model to about 50 iterations at your initial learning rate. In each iteration, calculate J(θ) and store the result in a vector J. After the last iteration, plot the J values against the number of the iteration. In num iterations = 1:50 J ( num iterations ) = %% Calculate your cost function here %% theta = %% Result of gradient descent update %% end % now p l o t J % t e c h n i c a l l y , the f i r s t J s0 码力 | 7 页 | 428.11 KB | 1 年前3 Experiment 1: Linear Regressionin this example we have only one feature, being able to plot this gives a nice sanity-check on our result. (3) Finally, we’d like to make some predictions using the learned hypothesis. Use your model to about 50 iterations at your initial learning rate. In each iteration, calculate J(θ) and store the result in a vector J. After the last iteration, plot the J values against the number of the iteration. In num iterations = 1:50 J ( num iterations ) = %% Calculate your cost function here %% theta = %% Result of gradient descent update %% end % now p l o t J % t e c h n i c a l l y , the f i r s t J s0 码力 | 7 页 | 428.11 KB | 1 年前3
 《Efficient Deep Learning Book》[EDL] Chapter 4 - Efficient Architecturesbecause it controls the number of unique words for which we learn embeddings. A small value for would result in loss of information because most of the words would get mapped to the OOV token. However, if information of the words. The words are all averaged to compute , and we would have got the same result for any other permutation of the words in the context. Hence the name Bag of Words for this family model averages all the embeddings in the input sequence to reduce each input to a single vector. The result is passed through a few dense layers and a softmax activation to generate an output tensor of size0 码力 | 53 页 | 3.92 MB | 1 年前3 《Efficient Deep Learning Book》[EDL] Chapter 4 - Efficient Architecturesbecause it controls the number of unique words for which we learn embeddings. A small value for would result in loss of information because most of the words would get mapped to the OOV token. However, if information of the words. The words are all averaged to compute , and we would have got the same result for any other permutation of the words in the context. Hence the name Bag of Words for this family model averages all the embeddings in the input sequence to reduce each input to a single vector. The result is passed through a few dense layers and a softmax activation to generate an output tensor of size0 码力 | 53 页 | 3.92 MB | 1 年前3
 《Efficient Deep Learning Book》[EDL] Chapter 1 - Introductionactivation functions, which saturate at either 1.0 or -1.0 except a very small range of input. As a result, changing the input variable leads to a very tiny gradient (if any), and when there are a large number train models that performed well on unseen data (in other words, the models generalized well). As a result of this trailblazing work, there has been a race to create deeper networks with an ever larger number Learning Deep learning research has been focused on improving on the State of the Art, and as a result we have seen progressive improvements on benchmarks like image classification, text classification0 码力 | 21 页 | 3.17 MB | 1 年前3 《Efficient Deep Learning Book》[EDL] Chapter 1 - Introductionactivation functions, which saturate at either 1.0 or -1.0 except a very small range of input. As a result, changing the input variable leads to a very tiny gradient (if any), and when there are a large number train models that performed well on unseen data (in other words, the models generalized well). As a result of this trailblazing work, there has been a race to create deeper networks with an ever larger number Learning Deep learning research has been focused on improving on the State of the Art, and as a result we have seen progressive improvements on benchmarks like image classification, text classification0 码力 | 21 页 | 3.17 MB | 1 年前3
共 18 条
- 1
- 2













