Attached code: Swin Transformer

Swing transformer: Interpretation of the paper on hierarchical vision transformer using shifted windows Reference link: https://blog.csdn.net/qq_37541097/article/details/121119988?spm=1001.2014.3001.5501 Code link: https://github.com/microsoft/Swin-Transformer Paper link: https://arxiv.org/pdf/2103.14030.pdf Summary: This paper presents a ne ...

Added by m0rpheu5 on Mon, 03 Jan 2022 09:21:02 +0200

Neural networks - IoU & NMS

IoU IoU (Intersection over Union), also known as overlap / intersection union ratio. That is, the intersection/Union in the figure above. The code implementation is as follows: # one pre, one gt def IoU(pred_box, gt_box): ixmin = max(pred_box[0], gt_box[0]) iymin = max(pred_box[1], gt_box[1]) ixmax = min(pred_box[2], gt_box[2]) ...

Added by webspinner on Mon, 03 Jan 2022 07:33:21 +0200

CUDA accelerated programming of python

catalogue 1. What is CUDA? 2. Applicable equipment: 3. Hardware structure of GPU 4. Thread hierarchy of CUDA 5. Preparation of CUDA program 6.CUDA thread index 7. Actual programming 7.1 vector addition 7.2 image brightness adjustment 7.3 matrix multiplication 7.4 image blur by convolution 1. What is CUDA? CUDA Compute Unified D ...

Added by Kyrst on Mon, 03 Jan 2022 01:47:47 +0200

PaddleNLP+Paddlehub create your venting robot

Chat robot Chat robots can be used for practical purposes, such as customer service or information acquisition. Some chat robots will be equipped with natural language processing systems, but most simple systems will only retrieve the input keywords and find the most appropriate response sentences from the database. Chat robots are part of vir ...

Added by Leonardo Dantas on Mon, 03 Jan 2022 01:19:05 +0200

Evaluation of ML - Classification Algorithm

Classification accuracy Problem scenario: An uncommon disease prediction system, input physical examination information, can judge whether there is a disease; Prediction accuracy: 99.9%; If the prevalence rate is 0.1%, our system can achieve 99.9% accuracy in predicting that everyone is healthy. If the prevalence rate is 0.01%, our syste ...

Added by skovela on Mon, 03 Jan 2022 01:03:13 +0200

40 cases of deep learning practical code -- VGG16 theory and Practice

1.VGG16 theory VGG is a convolutional neural network model proposed by Simonyan and Zisserman in the document very deep revolutionary networks for large scale image recognition. Its name comes from the abbreviation of the visual geometry group of Oxford University where the author works. The model participated in the ImageNet image classificat ...

Added by fiona on Sun, 02 Jan 2022 23:00:27 +0200

Tensor operation in pytorch

In deep learning, we often need to do four rules, linear transformation and activation of tensors. 1. Function operation of single tensor t = torch.rand(2, 2) # Generate a 3x3 tensor print(t) print(t.sqrt()) # Square root of tensor, tensor internal method print(torch.sqrt(t)) # Square root of tensor, functional form print(t.sqrt_()) # Squ ...

Added by tyrnt on Sun, 02 Jan 2022 21:08:50 +0200

Graduation project records -yolov5 the whole process of training your own data set (from data set annotation to final picture test)

2022.1.2 records: 1. Dimension dataset The software I use to label the dataset here is labelImg, labellmg download link I put down the latest version. Originally, I wanted to mark 1000 pieces yesterday, but I was so tired. I marked 50 pieces for each signal, a total of 200 pieces. Before labeling, you need to create two folders like this ...

Added by kubak on Sun, 02 Jan 2022 20:40:12 +0200

Deep learning: GooLeNet for image classification

1. Introduction    the name of googlenet is not googlenet, but googlenet. This is to pay tribute to LeNet. Googlenet and AlexNet/VGGNet, which rely on deepening the depth of the network structure, are not exactly the same. Googlenet makes structural innovation while adding depth, and introduces a structure called Inception to replace ...

Added by nosheep on Sun, 02 Jan 2022 15:27:05 +0200

Summary of basic process of production service GC tuning practice

preface Performance tuning of Java virtual machine is a very broad topic and a very difficult process in practice. Because it needs a systematic optimization method and clear optimization expectations. The default JVM parameters attempt to provide acceptable performance in most cases; However, depending on the behavior of the application and t ...

Added by quadlo on Sun, 02 Jan 2022 14:51:51 +0200