Introduction notes to deep learning and pytoch
1, Basic operation
Chinese document of pythonPytorch
https://pytorch-cn.readthedocs.io/zh/latest/package_references/torch-optim/
1, Anaconda basic operation
1,use conda establish Python Virtual environment (in) conda prompt (completed in environment)
conda create -n environment_name python=X.X
2,Activate virtual environment (in) conda prom ...
Posted by cwetherbee on Fri, 11 Feb 2022 01:10:15 +0100
[pytorch basics] Tensor and its basic operation
This article is reproduced from: https://zhuanlan.zhihu.com/p/36233589 Record learning only~
summary
This chapter is just a summary of the routine operation of pytorch. It's good to have an impression in your mind. You know that there is such a thing. You can look at it in detail when you need it. In addition, you still need to use it in prac ...
Posted by ralba1998 on Thu, 10 Feb 2022 14:49:49 +0100
GraphSAGE code details - pytorch version
1. GraphSAGE import
Thesis title: Inductive Representation Learning on Large Graphs Author: William L. Hamilton, Rex Ying and Jure Leskovec Graph neural network methods proposed before GraphSAGE, such as DeepWalk and GCN, belong to transmissive models. When the structure of the network changes a little, such models need to be retrained, ...
Posted by neo0506 on Wed, 09 Feb 2022 23:26:38 +0100
Realization of fully connected neural network in C + +
To illustrate the environment, the code is implemented in C + +, but the matrix operation is not implemented in C + +. Making wheels by yourself is a waste of time and unnecessary. Therefore, the Eigen library is used for matrix operation, and the codes of other functions are implemented by yourself.
1, Environment configuration
The Eigen mat ...
Posted by lady_bug on Mon, 07 Feb 2022 09:22:03 +0100
Prevent Early Stopping of over fitting
Early Stopping
Brief Introduction
When we train deep learning neural networks, we usually hope to obtain the best generalization performance. However, all standard deep learning neural network structures such as MLP are easy to over fit: when the error rate of the network in the training set is getting lower and lower, in fact, at a certa ...
Posted by Duke555 on Thu, 03 Feb 2022 04:43:23 +0100
PyTorch learning notes: multilayer perceptron
Multilayer perceptron
Both linear regression and softmax regression are single-layer neural networks. However, deep learning mainly focuses on multi-layer models. Taking multilayer perceptron (MLP) as an example, the concept of multilayer neural network is introduced.
Hidden layer
Multilayer perceptron introduces one or more hidden layer ...
Posted by AdB on Thu, 03 Feb 2022 00:05:30 +0100
darknet training model using deep learning framework
Training data generation
Detailed step reference
Modification of configuration file
This article takes the human hand detection as an example (there is only one label: hand)
Add or modify data / hand Names file, which records labels, one label per line (Note: labels corresponding to training data)Add or modify CFG / hand Data file, the cont ...
Posted by Jax2 on Wed, 02 Feb 2022 15:48:56 +0100
Multi angle understanding of sigmoid, relu and tanh activation functions
sigmoid activation function
Function expression:
Function image:
From this figure, we can see the following characteristics of sigmoid activation function:
1. When the input is greater than zero, the output must be greater than 0.5
2. When the input exceeds 6, the output will be infinitely close to 1, and the discrimination function of ...
Posted by robh76 on Wed, 02 Feb 2022 06:46:33 +0100
Python note12 multilayer neural network
Python note12 multilayer neural network
Multilayer neural network
In the previous, we learned about the two most common models in the field of machine learning, linear regression model and Logistic regression model. They deal with the two most common problems in machine learning - regression problem and classification problem respectively ...
Posted by andychurchill on Tue, 01 Feb 2022 02:17:19 +0100
[darknet to caffe] yolov4 tiny
1. Knowledge reserve
yolo series theory learning pytorch version yolov4 tiny practice Practical video explanation
After learning the above contents, you should be able to master yolov4-tiny model structure and data processing method
2. Hand tear caffe model
1,Download yolov4 tiny model and weight based on darknet framework Find yolov4 tiny ...
Posted by ccravens on Mon, 31 Jan 2022 19:04:23 +0100