[PyTorch] 13 Image Caption: let neural network read pictures and tell stories

1. Data set acquisition Data from: AI challenger 2017 image description dataset Baidu online disk: https://pan.baidu.com/s/1g1XaPKzNvOurH9M44p1qrw Extraction code: bag3 Since the original training set is too large, only the verification set AI is used here_ challenger_ caption_ validation_ 20170910.zip, unzip it 2. Text data processing ...

Posted by Syranide on Tue, 25 Jan 2022 10:54:37 +0100

Process of installing anaconda and pytorch in linux and sharing of error reports

Note: the bugs in this article are all encountered during the installation process. After finding out the reasons, the command is optimized. Therefore, if you type according to the command, you should not encounter the following bugs It's not easy for new bloggers to sort out. If your problem is solved, please give a praise~~~~~~ I Installing ...

Posted by j0n on Tue, 25 Jan 2022 02:12:33 +0100

Introduction to machine learning for programmers - common skills in the training process

Introduction to machine learning for programmers (IV) - common skills in the training process This article will focus on some common skills in machine learning training using pytorch. Mastering them can make you get twice the result with half the effort. Most of the codes used will be based on the last example in the previous article, that is ...

Posted by PDXDesigner on Mon, 24 Jan 2022 07:22:40 +0100

Pytorch freezes some layers during training so that they do not participate in training (update gradient)

First of all, we know that the parameters in the deep learning network are updated in the back propagation by calculating the gradient, so as to obtain an excellent parameter. However, sometimes, we want to fix the parameters of some layers and do not participate in the back propagation. For example, when fine tuning, we want to fix the paramet ...

Posted by naturalbeauty7 on Sun, 23 Jan 2022 09:37:02 +0100

MNIST handwritten numeral recognition with PyTorch (latest, very detailed)

introduction Based on PyTorch framework, this paper uses CNN convolutional neural network to realize MNIST handwritten numeral recognition, which runs only on CPU. Four structures, Linear pure Linear layer, CNN convolutional neural network, Inception network and Residual residual network, have been used to recognize handwritten digits fro ...

Posted by Vidya_tr on Sun, 23 Jan 2022 08:49:39 +0100

Hands on learning and deep learning -- automatic derivation | CSDN creation punch in

1, Calculation diagram 1. Forward 2. Reverse 3. Complexity The computational complexity of both forward and reverse is O (n). Because you need to traverse the graph to calculate the gradient. The memory complexity in the forward direction is O (1), while that in the reverse direction is O (n), because the reverse direction requires one ...

Posted by kevinsequeira on Thu, 20 Jan 2022 08:51:35 +0100

Pytoch actual combat_ Compression of neural networks

1. Compression of neural network For some large-scale neural networks, their network structure is very complex (it is said that some neural networks of Huawei are composed of hundreds of millions of neurons). It is difficult for us to put this neural network on a small device (such as our apple watch). This requires us to be able to compress t ...

Posted by ttroy on Tue, 18 Jan 2022 01:29:10 +0100

Distributed operation Barrier of PyTorch

Distributed operation Barrier of PyTorchOriginal document: https://www.yuque.com/lart/ug...On the concept of barrierFor the concept of barrier, please refer to the introduction in Wiki: synchronization barrier is a synchronization method in parallel computing. For a group of processes or threads, a synchronization barrier in the program means t ...

Posted by red-x on Mon, 17 Jan 2022 12:53:18 +0100

Five implementation strategies of pytoch's spatial shift operation

Five implementation strategies of pytoch's spatial shift operationThis article has authorized the platform of the polar city and is the official account of the polar platform. No second reprint is allowed without permissionOriginal document (may be further updated): https://www.yuque.com/lart/ug...prefacePreviously, I read some papers that use ...

Posted by daveoffy on Sun, 16 Jan 2022 21:33:02 +0100

A full set of configuration deep learning environment under win10: anaconda3 + cuda10 2 + Cudnn + Pytorch1. 6 + pychar (detailed tutorial, pro test available)

Random talk about Autonomous vehicle_ 02 I ReadMe This paper aims to build a usable and pollution-free deep learning environment for children who are equipped with GPU in the computer and have deep learning needs.The article is based on the various methods of the great gods on the Internet, and then synthesized by myself. If there are simil ...

Posted by kindoman on Sat, 15 Jan 2022 00:11:19 +0100