Deep learning environment configuration under Ubuntu 20.04 system (subsystem) (pytoch + GPU)

Deep learning environment configuration under Ubuntu 20.04 system (subsystem) (pytoch + GPU) 🍀 Previous sequence (pit avoidance) Last time I installed Ubuntu in the virtual machine and installed Nvidia driver , enter the command Ubuntu drivers devices, and you can see that there are no recommended drivers, as shown below: Finally, sudo ap ...

Posted by geaser_geek on Tue, 01 Mar 2022 16:03:51 +0100

Pytrch deep learning and graph Neural Network Practice Series_ 04 Pytorch quick start

1 tensor data operation 1.1 torch.reshape() implements data dimension change import torch a = torch.tensor([[1,2],[3,4]]) print(torch.reshape(a,(1,-1))) # It is transformed into a tensor with only one row of data, and the parameter - 1 indicates automatic calculation # tensor([[1, 2, 3, 4]]) print(a.reshape((1,-1))) # # It is transformed into ...

Posted by schme16 on Tue, 01 Mar 2022 14:19:48 +0100

Detailed explanation of yolov5 training KITTI data set and division of KITTI data set

preface This article is based on KITTI data set training yolov5. Friends can divide the data set completely according to my steps (strictly follow the directory structure I listed, there will be no problem), so as to successfully train yolov5 in KITTI. If you strictly follow my directory structure, you don't need to modify any sentence in the ...

Posted by Tsukiyomi on Tue, 01 Mar 2022 12:31:19 +0100

Target detection in bad weather

reference resources Target detection in bad weather - cloud + community - Tencent cloud 1. Data based approach (1),Benchmarking Robustness in Object Detection: Autonomous Driving when Winter is Coming Regardless of image distortion or weather conditions, the ability to detect objects is crucial for practical applications of deep learning suc ...

Posted by Hobgoblin11 on Tue, 01 Mar 2022 06:47:08 +0100

Python implementation of k-nearest neighbor algorithm

Python implementation of k-nearest neighbor algorithm 1, Overview K-nearest neighbor algorithm, also known as KNN algorithm, is the simplest algorithm in data mining technology. Working principle of KNN: given a training dataset with known label category, after inputting new data without label, find K instances closest to the new data in the ...

Posted by mrinfin1ty on Sun, 27 Feb 2022 15:31:53 +0100

[secretly kill the little partner Pytorch20 days - day13-nn.functional and nn.Module]

1, NN Functional and NN Module Earlier, we introduced the structure operation of Pytorch's tensor and some common API s in mathematical operation. Using these tensor API s, we can construct neural network related components (such as activation function, model layer, loss function). Most of the functional components related to Pytorch and neu ...

Posted by godsent on Sun, 27 Feb 2022 10:39:22 +0100

Using the transformers library fine tuning

explain According to the official website Working with documents , use transformers for fine tuning. I basically follow the documents. Note: the example on the official website basically saves the model or data set into the local cache through a line of code, but it needs to climb the wall. We can also download the model and data set locall ...

Posted by Gibbs on Sun, 27 Feb 2022 09:52:41 +0100

stargan v2 code learning record

1, Generator (1) lamda python lambda function is also called anonymous function, that is, the function has no specific name. Compared with ordinary functions, lambda just omits the function name. At the same time, such anonymous functions cannot be shared and called elsewhere. In fact, you're right. Lambda really doesn't play an earth shaki ...

Posted by barbatruc on Sat, 26 Feb 2022 15:02:44 +0100

Medical microscopic image recognition of Mycobacterium tuberculosis based on paddedetection_ copy

🔥 Medical microscopic image recognition of Mycobacterium tuberculosis based on paddedetection    this project uses PP-yolov2 to detect conjugated bacteria in sputum, so as to realize anomaly detection. Title reproduced from AI Studio Title item link https://aistudio.baidu.com/aistudio/projectdetail/3503450 I believe you will gain ...

Posted by mvleus on Sat, 26 Feb 2022 07:20:45 +0100

DETR code learning notes

Last DETR code learning notes (I) After recording the backbone of DETR and the part before the data enters the encoder, this article begins to introduce the transformer part of DETR, generally the transformer and Attention is All You Need  The proposed framework is basically consistent, but there are some differences in data. The first part is ...

Posted by Rolando_Garro on Sat, 26 Feb 2022 06:18:27 +0100