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

The use of paddlepaddle 9 MC Dropout

MC Dropout refers to Monte Carlo dropout, which can improve the performance of the model in the test stage without changing the network structure and increasing training. The essence is to keep dropout in the active stage during the test. The network is propagated forward for many times. Because the neurons activated by dropout are different ev ...

Posted by gevensen on Wed, 09 Feb 2022 20:33:20 +0100

Implementation of backward recalculation in OneFlow: time for space, greatly reducing the occupation of video memory

Author Zhao Luyang In 2016, Chen Tianqi's team proposed "gradient/activation checkpointing" and other technologies related to sub linear memory optimization [1], aiming to reduce the memory occupation caused by intermediate activation in the process of deep learning and training. Checkpointing technology is a kind of sub linear mem ...

Posted by dfarrar on Wed, 09 Feb 2022 18:55:16 +0100

Introduction and Processing of UCF101 Action Recognition Dataset

1. Introduction to datasets: UCF101 is a motion recognition dataset for real action videos collected on YouTube and provides 13320 videos from 101 action categories. Official website: https://www.crcv.ucf.edu/research/data-sets/ucf101/ Dataset name: UCF-101 (2012)Total Videos: 13,320 VideosTotal duration: 27 hoursVideo source: YouTube col ...

Posted by johnwayne77 on Wed, 09 Feb 2022 17:39:21 +0100

Index of numpy array

introduction Array index refers to the use of square brackets ([]) to index a set of values. The most familiar indexing method is single element indexing. In addition, this paper will also introduce the index method of array slice, as well as index array, Boolean index group and structure index tool. 1. Single element index Note: the sta ...

Posted by flunn on Wed, 09 Feb 2022 11:37:38 +0100

Ubuntu nu18 installing tensorrt7 2.3+cuda11. 1+cudnn8. 0+opencv4. four

Download and install TensorRT-7.2.2.3 Download tensorrt-7.2.2.3 on the official website Ubuntu-18.04. x86_ 64-gnu. cuda-11.1. cudnn8. 0.tar. gz tar xzvf TensorRT-7.2.2.3.Ubuntu-18.04.x86_64-gnu.cuda-11.1.cudnn8.0.tar.gz Configure environment variables after decompression: sudo vim ~/.bashrc After entering, add environment variables at th ...

Posted by mabwi on Wed, 09 Feb 2022 11:25:41 +0100

Lesson 1 | building fashion search engine with DocArray

DocArray is a library recently released by Jina AI and suitable for nested and unstructured data transmission. This paper will demonstrate how to use DocArray to build a simple clothing search engine.Good luck to start work. Hello, everyone!We have carefully prepared a Demo and out of the box tools for you. In the new year, let's use this invin ...

Posted by Deany on Tue, 08 Feb 2022 06:13:38 +0100

[use of Dataset and DataLoader for data loading]

Data loading in pytoch In deep learning, the amount of data is usually very large. With such a large amount of data, it is impossible to carry out forward calculation and back propagation in the model at one time. Often, we will randomly disrupt the order of the whole data, process the data into batch es one by one, and preprocess the data at ...

Posted by thenior on Tue, 08 Feb 2022 03:51:21 +0100

Libtorch deployment model

Libtorch It is the C++ API officially provided by pytoch, and the use method can be said to restore pytoch to a great extent. 1, Environment configuration GitHub address: BASNetVS2017+CUDA 10.1+cuDNN 7.6.5+OpenCV 3.4.11Pytorch 1.5.0+torchvision 0.6.0Libtorch 1.5.0 (release): extraction code: 865k https://pan.baidu.com/s/1Ty-UPZWEOnNRPwl ...

Posted by rpanning on Mon, 07 Feb 2022 22:19:31 +0100

Reading Notes: Chapter 7 Convolutional Neural Network

Catalog Chapter 7 Convolutional Neural Network 7.1 Overall Structure 7.2 Convolution Layer Problems with 7.2.1 Full Connection Layer 7.2.2 Convolution 7.2.3 Fill 7.2.4 steps Convolution of 7.2.5 3-D data 7.2.6 Combining Block Thinking 7.2.7 Batch Processing 7.3 Pooling Layer 7.4 Implementation of Convolution Layer and Pooling Layer ...

Posted by jimmygee on Mon, 07 Feb 2022 18:52:37 +0100