Option critical code analysis

Option critical code analysis 1.option-critic_network.py analysis a. State Network state_ The model performs three-layer convolution on the input, compresses it into a one-dimensional vector, and inputs it to the full connection layer to obtain flatted * weights4 + bias1.My understanding: this process is to extract the features in the imag ...

Posted by chawkimatta on Thu, 11 Nov 2021 22:02:29 -0800

Python pure manual construction of BP neural network -- handwritten numeral recognition

1 Introduction to the experiment Experimental requirements: implement a handwritten numeral recognition program, as shown in the figure below. The neural network is required to include a hidden layer, and the number of neurons in the hidden layer is 15. Overall idea: mainly refer to the introduction of neural network in Chapter 5 of waterme ...

Posted by HockeyDevil07 on Thu, 04 Nov 2021 08:46:58 -0700

[pytorch learning notes] Chapter 4 - neural network

Previous chapter We have learned about automatic gradient autograd. torch.nn can be used to build neural network in pytorch. NN depends on autograd to define the model and differentiate it. nn.Module contains the layer and the method forward(input) that returns output. Artificial Neural Networks (abbreviated as ANNs), also referred to as ne ...

Posted by tmyonline on Sat, 23 Oct 2021 18:31:19 -0700

torch.nn neural network -- use of pooling layer + nonlinear activation function (ReLU and sigmoid) + Sequential() function

nn.Module neural network 4. Pool layer Pooling layer: the pooling function uses the overall statistical characteristics of adjacent outputs at a location to replace the network output at that location. The essence is downsampling to reduce the amount of network parameters Still the old rule, import module and dataset, CIFAR10,batchsize=64: ...

Posted by Zoofu on Fri, 22 Oct 2021 08:17:06 -0700

New generative model to beat GANs: principle, network structure, application, code, experiment and Prospect of score based model (diffusion model)

In the top conferences of NeurIPS, ICCV and CVPR in recent two years, there have been 20 or 30 papers related to score based generic models, which is a new generative model. In particular, some papers directly shouted the slogan of beat GANs. The new generation method and the generation effect of leading GANs and VAE in some fields have attract ...

Posted by Negligence on Wed, 20 Oct 2021 10:22:42 -0700

Chapter II - Preliminary Application of pytoch

Preliminary application of pytoch Build a neural network using Pytorch Typical process of building neural network: A neural network with learnable parameters is definedTraversal training data setProcess the input data to flow through the neural networkCalculate loss valueThe gradient of network parameters is back propagatedUpdate network w ...

Posted by artnow on Tue, 19 Oct 2021 21:22:31 -0700

[Topic on semantic segmentation] work related to semantic segmentation -- full revolutionary densinet

The One Hundred Layers Tiramisu: Fully Convolutional DenseNets for Semantic Segmentation In this paper, DenseNets is extended to solve the problem of semantic segmentation. The best results were obtained on the urban scene benchmark data sets (CamVid and Gatech), without further post-processing modules (such as CRF) and pre training models. In ...

Posted by LOUDMOUTH on Mon, 18 Oct 2021 20:57:06 -0700

Getting started with Pytorch (Teacher Li Hongyi's homework is in the spring of 2021)

This code and data set are from Mr. Li Hongyi's HW1 Data Set Address Reference code address This article introduces Pytorch through Teacher Li's first assignment and the reference code provided. This is an introductory text and does not involve specific network design. When we want to train a model with data, there are actually two main ste ...

Posted by benson on Sun, 17 Oct 2021 11:26:02 -0700

Section II of pytoch model reasoning and multi task general paradigm

1 course learning This lesson is mainly for the white AI course: Ptorch model reasoning and multi task general paradigm The second lesson in the course. 2 assignment topic Title Description Required questions: (1) from torchvision Loading in resnet18 Model structure, and load the pre trained model weight 'resnet18-5c106cde.pth' (In the ...

Posted by austrainer on Thu, 14 Oct 2021 11:02:05 -0700

Deep learning series notes 08 computer vision

7 single shot multi frame detection (SSD) The bounding box, anchor box, multi-scale target detection and data set for target detection are introduced respectively. Now we are ready to use this background knowledge to design a target detection model: single shot multibox detector (SSD). 7.1 model This model is mainly composed of basic net ...

Posted by zoozle on Wed, 13 Oct 2021 22:08:50 -0700