Skip to content
프로젝트

소개

rotation detection based on yolov5

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

the rotation detection

Requirement

torch==1.6
shapely==1.7.1
opencv==4.2.0.34

inference

you can download the weights BaiduYun(password is 4ud5) or GoogleDrive for ship detection by my dataset(not DOTA) to test the demo.

$ python detect.py

image

train

what format my model need

Not much different from yolo dataset,just add an angle and we define the box attribute w is always longer than h!

So wo define the box label is (cls, c_x, c_y, Longest side,short side, angle)

Attention!we define angle is a classify question,so we define 180 classes for angle.

For Example: image Range for angle is [-90,90), so wo should add 90 in angle while make your dataset label and then your label's Range should be [0,179) image

modify yaml

models/yolov5m.yaml: set nc to your dataset class num; data/wheat0.yaml:set nc to your dataset class num, and set names to your dataset class name;

$ python train.py

update

2021.1.4---correct some BUG for training

details

If you have any question,welcome discuss with me by This or email to [email protected]

관련 프로젝트 살펴보기

불러오는 중…