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

Image Noise Processing

1. Adding noise to the image Adding noise to an image can enhance the data Adding a proper amount of noise to the training data can make the training model more robust and help to improve the performance of the model. Two common noises: salt and pepper noise and Gaussian noise import cv2 import numpy as np import random #Add salt and pepper ...

Posted by jordy on Tue, 18 Jan 2022 09:35:02 +0100

Hengyuan cloud_ Notes on papers on [histogram] in CV field

Source: Hengyuan cloud community( Hengyuan zhixiangyun)Original address| histogramOriginal author | insterLearning objectivesMaster the histogram calculation and display of imagesUnderstand mask applicationsFamiliar with histogram equalization and adaptive equalization1 gray histogram1.1 principleHistogram is a method of data statistics, and or ...

Posted by mickfuzz on Thu, 13 Jan 2022 20:24:47 +0100

yolov4 project record 4- test process

catalogue 1, Overview 2, Test process 1. Parameter preparation 2. Define the model 3. Obtain necessary data 4. Input model 5. Anchor frame screening ① Screening by Object Confidence ② Get type ③ Sort by Object Confidence ④ Non maximal inhibition 6. Draw the external frame 3, Code summary 1, Overview Before training, we first t ...

Posted by py343 on Mon, 03 Jan 2022 23:57:01 +0100

[image processing question 100] Q1-Q10 learning records (to be improved)

Q1 channel switching 1.1 leading knowledge 1. imread() reads of CV2 are arranged in BGR order; 2. The gray image of single channel is represented by two-dimensional gray matrix: height * width; 3. The representation method of three channel color image is three-dimensional BGR/RGB matrix: height * width * channel; 4. In order to facilitate pro ...

Posted by Kingw on Mon, 03 Jan 2022 15:15:25 +0100

CS131 learning notes #0

CS131 learning notes #0 1. Introduction to numpy The essence of image recognition processing is matrix operation. python's numpy library performs this kind of operation, so learning numpy is a necessary step before image learning. import numpy as np is usually used to use the numpy package 1.1 general creation method of matrix Cannot creat ...

Posted by quartney on Fri, 31 Dec 2021 18:57:24 +0100

CBAM:Convolutional Block Attention Module

catalogue 1. Attention mechanism 2. Thesis interpretation 2.1 Channel Attention Module 2.2 Spatial attention channel  2.3 CBAM integrated with a ResBlock in ResNet 2.4 experimental results 1. Attention mechanism Generally speaking, the attention mechanism is to hope that the network can automatically learn what needs attention in ...

Posted by OniLink on Fri, 31 Dec 2021 05:22:36 +0100

DeepLearning:Train and Test Records on ResNet-18 Model

ResNet-18:Train and Test Records **Invariant: * * 200 rounds, ResNet18, input image size 32 (pad=4, randomCrop=32), batchsize=256 **Variables: * * learning rate, optimizer, policy Note: because the experiment is at 32 × 32, so maxpooling (thank to teacher shi.) should not be used before the second layer, but I didn't know at the be ...

Posted by Tubby on Sun, 21 Nov 2021 12:26:55 +0100

Painful installation of opencv and denseflow

Denseflow is a common library for extracting optical flow and pictures. It took a whole afternoon to install denseflow, and it was finally done. The whole process is described below: First, according to: https://github.com/innerlee/setup Install the dependent libraries: boost and OpenCV. There should be no problem with the installation ...

Posted by jax_15 on Sat, 20 Nov 2021 03:29:56 +0100