libtorch study notes - MNIST combat

MNIST libtorch practical exercise Ready to work First download the MNIST database, http://yann.lecun.com/exdb/mnist/ After downloading, do not decompress it with software such as winrar. For example, t10k-images-idx3-ubyte is decompressed into t10k-images.idx3-ubyte. It is best to decompress it with tar in Linux environment. Suppose you unzip t ...

Posted by chrys on Wed, 25 May 2022 15:51:55 +0300

pytorch on GPU - training neural network with CUDA (pytorch series-30)

Running PyTorch code on GPU - neural network programming guide In this episode, we will learn how to use GPU and PyTorch. We will see how to use the general methods of GPU, and we will see how to apply these general techniques to train our neural networks. Deep learning using GPU If you haven't seen the episode about why deep learning and neur ...

Posted by bmbc on Mon, 23 May 2022 12:42:05 +0300

[Flying Paddle] Target Detection YOLO-V3 Study Notes

Before learning this course, I heard the name of YOLO. During the epidemic, an up master trained the detection of pedestrian masks through yolo and it was a great success. Without further ado, let's start learning. Basic Concepts in Object Detection Before starting to learn YOLO, first learn some basic concepts of target detection. After all, Y ...

Posted by Pro Ninja on Fri, 20 May 2022 08:48:32 +0300

SimpleRNN realizes stock forecast

Please check the previous articles for the principle. 1. Data source   SH600519.csv is the daily k-line data of sh600519 Guizhou Maotai downloaded by tushare module. In this example, only its C-column data is used (as shown in the figure):   use the opening price for 60 consecutive days to predict the opening price on ...

Posted by phpnewbie25 on Thu, 19 May 2022 23:01:07 +0300

[PyTorch] Note 02: Autograd auto derivation

From PyTorch 1.4 tutorial Outline Tensor torch.autograd.backward If the result node is scalar If the result node is a vector [PyTorch] Note 02: Autograd auto derivation In PyTorch, the core of all neural networks is autograd package 1 Tensor torch.Tensor is the core class of this autograd A Tensor tensor usually records the following ...

Posted by rusbb on Thu, 19 May 2022 21:17:09 +0300

[pytorch] code implementation of ECA-NET attention mechanism applied to ResNet

1, Foreword Introduction to ECA-NET(CVPR 2020): Thesis title:ECA-Net: Effificient Channel Attention for Deep Convolutional Neural NetworksThesis address:https://arxiv.org/abs/1910.03151Open source code:https://github.com/BangguWu/ECANet As a lightweight attention mechanism, ECA net is actually an implementation form of channel attention mecha ...

Posted by phpflixnewbie on Sun, 15 May 2022 01:47:39 +0300

[PyTorch learning notes] 1.2 introduction to tensor

thumbnail: https://image.zhangxiann.com/...toc: truedate: 2020/2/5 20:39:20disqusId: zhangxiancategories: PyTorch tags: AI Deep Learning Code of this chapter: https://github.com/zhangxiann/PyTorch_Practice/blob/master/lesson1/tensor_introduce1.py https://github.com/zhangxiann/PyTorch_Practice/blob/master/lesson1/tensor_introduce1.py Tensor c ...

Posted by sean14592 on Wed, 11 May 2022 06:42:57 +0300

Image recognition using ResNet18 residual network model of CIFAR10 data set - with an accuracy of 90%

Image recognition experiment using ResNet18 residual network model of CIFAR10 data set - accuracy of 90% (detailed notes attached) Auther:Yuandong Li Date: 2020/11/17 Welcome to my github: Li-Y-D The source code of this experiment and the code file in Jupyter Notebook format: Image-classification-CIFAR10-ResNet18 I Test requirements: Use Jup ...

Posted by cretam on Sat, 07 May 2022 04:50:48 +0300

Community project sharing | build a film recommendation system with Jina

We are in contact with the recommendation system every day, including short videos, e-commerce, takeout, performances, advertisementsToday, we will demonstrate the project of Jina AI Community user Li Achintya, who built a movie recommendation system with Jina.Overview of the principle of film recommendation systemIn this Demo, the author trans ...

Posted by shadowwebs on Fri, 06 May 2022 14:33:23 +0300

Pytoch implementation of super-resolution network SRCNN

Overall framework SR, i.e. super resolution, i.e. super resolution. CNN is relatively famous as convolutional neural network. As can be seen from the name, SRCNN is the first convolutional neural network applied in the field of super-resolution. In fact, it is true. Super resolution refers to the process of enlarging a low resolution (LR) ...

Posted by thefollower on Thu, 05 May 2022 05:02:16 +0300