Easy understanding of torch.utils.data.DataLoader (for beginners)

Official explanation: Dataloader combines dataset & sampler to provide iterable data Main parameters: 1. Dataset: this dataset must be torch.utils.data.Dataset itself or a class inherited from it The main method is  __ getitem__(self, index) used to retrieve data according to the index index 2,batch_size: how many pieces of data sh ...

Added by nedpwolf on Fri, 15 Oct 2021 06:27:59 +0300

Text classification based on MLP

Recently, I learned the MLP, CNN and RNN network models based on pytoch framework, and conducted text classification experiments using the commodity comment data obtained on GitHub. This paper introduces how to establish MLP under the pytoch framework to classify the data. The data sets are roughly as follows: 1. Import module import pandas ...

Added by pagod on Thu, 14 Oct 2021 22:33:17 +0300

Transformer hardware implementation part 3: supplement to pytoch basic knowledge

This article is a supplement to the knowledge of pytorch before training Transformer. Thank blogger Mo fan for his video course on Python https://www.youtube.com/watch?v=lAaCeiqE6CE&feature=emb_title , whose home page is: Don't bother Python It is recommended to directly watch the blogger's video tutorial to complete the knowledge suppleme ...

Added by unidox on Tue, 12 Oct 2021 21:42:29 +0300

Wu Enda's in-depth learning programming assignment section 1 - Revolution model step by step V1 / V2

1. Gradually construct convolution network The basic network architecture built this time: Note: for each forward propagation operation, there will be corresponding backward propagation. The parameters of forward propagation will be stored, and these parameters will be used to calculate the gradient in the backward propagation process. 2. Conv ...

Added by PHPBewildered on Tue, 12 Oct 2021 01:33:38 +0300

[RNN architecture analysis] LSTM model

preface Understand the internal structure and calculation formula of LSTMMaster the use of LSTM tools in pytochUnderstand the advantages and disadvantages of LSTM LSTM (long short term memory), also known as long short term memory structure, is a variant of traditional RNN. Compared with classical RNN, it can effectively capture the seman ...

Added by tonga on Thu, 07 Oct 2021 08:00:49 +0300

[pytoch series-24]: neural network foundation - simple linear regression of single neuron without activation function - 2

  Author home page( Silicon based workshop of slow fire rock sugar): Slow fire rock sugar (Wang Wenbing) blog silicon based workshop of slow fire rock sugar _csdnblog Website of this article: https://blog.csdn.net/HiWangWenBing/article/details/120600611 catalogue Introduction deep learning model framework Chapter 1 business area analy ...

Added by ftrudeau on Sun, 03 Oct 2021 23:39:05 +0300

Week 5 assignment: convolutional neural network (Part3)

The summary is taken from Mr. Gao GitHub https://github.com/OUCTheoryGroup/colab_demo/blob/master/202003_models/MobileNetV1_CIFAR10.ipynb https://github.com/OUCTheoryGroup/colab_demo/blob/master/202003_models/MobileNetV2_CIFAR10.ipynb MobileNet v1 The core of Mobilenet v1 is to split the convolution into two parts: epthwise+Pointwise. Dept ...

Added by itpvision on Sun, 03 Oct 2021 22:01:56 +0300

Reproducing pointrcnn + Ubuntu 16.043080 graphics card + pytorch1.7.1+cu110

Reproduce pointrcnn          In the process of reproducing pointrcnn, the easiest place to report errors is to compile CUDA code. Most of the issue s of github emphasize the version problems of gcc and pytorch, but I use 3080 graphics card, which only supports > = cuda11.0, so installing a lower versi ...

Added by Mike-2003 on Fri, 01 Oct 2021 23:11:52 +0300

ONNX to TensorRT accelerated model reasoning

preface TensorRT is an efficient deep learning model reasoning framework launched by NVIDIA. It includes deep learning reasoning optimizer and runtime, which can make deep learning reasoning applications have the advantages of low latency and high throughput. In essence, it is to accelerate the reasoning speed of the whole network by fusing s ...

Added by rolwong on Thu, 30 Sep 2021 23:51:37 +0300

Tianchi Competition - Prediction of Industrial Steam Volume

Starting from 0, data analysis and machine learning in Xueda University are simple and simple to write down the contest experience. This paper uses a variety of machine learning regression algorithms, and also uses deep learning pytorch to build a neural network for regression calculation. 1. Background introduction This is an industrial stea ...

Added by estero2002 on Sun, 26 Sep 2021 20:08:07 +0300