無人機飛行載具之智慧計數競賽 (TEAM_2054)
Nowadays, with the rapid development of deep neural networks and the computing power of graphic cards, the performance of object detection has been greatly improved. Even though this field looks very mature, there are still some intractable problems, such as a lack of labeled data and a lack of understanding of species. Here, I use YOLOv5 as my object detection model. Using this method, my final scores are
Hardware information
- CPU: i7-11700F
- GPU: GeForce GTX 1660 SUPER™ VENTUS XS OC (6G)
Conda environment
$ conda create -n uav_yolov5 python=3.7 -y
$ conda activate uav_yolov5
Clone Repository
$ git clone https://github.com/TW-yuhsi/Object-Detection-in-Aerial-Images
$ cd Object-Detection-in-Aerial-Images/
$ pip install -r requirements.txt
2. Reproduce the Best Result (public: 0.727275, private: 0.749105)
Folder Structure
Object-Detection-in-Aerial-Images/
├── best.pt
├── datasets/
└── private/ # img1501.png, img1502.png, img1503.png, ...
Inference
$ python detect_csv.py --weights best.pt --source datasets/private --conf-thres 0.3 --iou-thres 0.3 --save-txt --imgsz 2912