Introduction to YOLO v3 algorithm

Picture from https://towardsdatascience.com/yolo-v3-object-detection-with-keras-461d2cfccef6 Data preprocessing Input picture dimension: (416, 416, 3) Input picture label: $[(x_1, y_1, x_2, y_2, class{\_}index), (x_1, y_1, x_2, y_2,class{\_}index), \ldots, (x_1, y_1, x_2, y_2,class{\_}index)] $represents all the real boxes marked in the pictur ...

Posted by messels on Fri, 20 May 2022 15:36:03 +0300

[Flying Paddle] Target Detection YOLO-V3 Study Notes

Before learning this course, I heard the name of YOLO. During the epidemic, an up master trained the detection of pedestrian masks through yolo and it was a great success. Without further ado, let's start learning. Basic Concepts in Object Detection Before starting to learn YOLO, first learn some basic concepts of target detection. After all, Y ...

Posted by Pro Ninja on Fri, 20 May 2022 08:48:32 +0300

SimpleRNN realizes stock forecast

Please check the previous articles for the principle. 1. Data source   SH600519.csv is the daily k-line data of sh600519 Guizhou Maotai downloaded by tushare module. In this example, only its C-column data is used (as shown in the figure):   use the opening price for 60 consecutive days to predict the opening price on ...

Posted by phpnewbie25 on Thu, 19 May 2022 23:01:07 +0300

[PyTorch] Note 02: Autograd auto derivation

From PyTorch 1.4 tutorial Outline Tensor torch.autograd.backward If the result node is scalar If the result node is a vector [PyTorch] Note 02: Autograd auto derivation In PyTorch, the core of all neural networks is autograd package 1 Tensor torch.Tensor is the core class of this autograd A Tensor tensor usually records the following ...

Posted by rusbb on Thu, 19 May 2022 21:17:09 +0300

Bayesian experiment report

1, Experimental purpose Learn how to infer the behavior model and solve the problem by using the short message mca-3. 2, Experiment contents and steps (including problems, codes, results and conclusions) 2.1 SMS data inference behavior Title: code: Data reading and display: import pymc3 as pm import matplotlib.pyplot as plt import nump ...

Posted by GYK on Mon, 16 May 2022 22:26:11 +0300

A few lines of code to easily realize the task of target detection and image classification -- building an enterprise machine learning micro service based on Spring Boot and DJL

Now there seems to be a trend in the field of AI applications. Most learning applications are in Python. Spring Boot is an open source platform widely used in the field of microservices. Users can use Stock API to create an RPC API based on C + + or Python applications to realize reasoning tasks in different languages. However, this will bring ...

Posted by UKlee on Mon, 16 May 2022 07:22:16 +0300

weibu's in-depth learning chapter: pytorch -- utils Data and torch vision

Overview of data processing toolbox Pytoch involves data processing (data loading, data preprocessing, data enhancement, etc.), and the main toolkits and related relationships are as follows: Overview of pytorch data processing toolkit torch.utils.data Toolkit 1) Dataset: abstract class. Other datasets should inherit this class and contain ...

Posted by sid on Sun, 15 May 2022 05:28:39 +0300

[pytorch] code implementation of ECA-NET attention mechanism applied to ResNet

1, Foreword Introduction to ECA-NET(CVPR 2020): Thesis title:ECA-Net: Effificient Channel Attention for Deep Convolutional Neural NetworksThesis address:https://arxiv.org/abs/1910.03151Open source code:https://github.com/BangguWu/ECANet As a lightweight attention mechanism, ECA net is actually an implementation form of channel attention mecha ...

Posted by phpflixnewbie on Sun, 15 May 2022 01:47:39 +0300

CASIA-HWDB2.x (offline) data set is merged into page type and marked with row-level bbox

Recently, I will do line-level handwritten document detection work, merge CASIA-HWDB2.x (offline) data, and generate a page-level dataset with corresponding bbox. If you want to exchange ocr-related work, you can join the group (at the end of the article): CASIA-HWDB2.x (offline) data set download address: http://www.nlpr.ia.ac.cn/databases/ha ...

Posted by nwoeddie23 on Sat, 14 May 2022 10:42:27 +0300

pytorch collate_fn function to realize variable length batch - Dynamic padding

Note: batch here refers to mini batch Two methods to realize sequence (text, log) batch processing Fixed length batches (uniform length batches) All batch sequences have the same length. For example, seqs = [[1,2,3,3,4,5,6,7], [1,2,3], [2,4,1,2,3], [1,2,4,1]] batch_size = 2 Then the maximum sequence length is 8. If it is less than 8, fill it ...

Posted by sonic_2k_uk on Sat, 14 May 2022 05:21:32 +0300