Linux
Python 3.7 +
Pytorch 1.7
CUDA 9.0 higher
cd yolov5-obb-kld
pip install -r requirements.txt
cd utils/nms_rotated
python setup.py develop
cd yolov5-obb-kld/DOTA_devkit
sudo apt-get install swig
swig -c++ -python polyiou.i
python setup.py build_ext --inplace
prepare the labels format is [poly, classname,difficult]
[x1, y1, x2, y2, x3, y3, x4, y4, classname, difficult]
hukaixuan19970627/yolov5_obb
name:"胡凯旋"
name:"xingbing"