yolov5_obb
yolov5_obb copied to clipboard
yolov5 + csl_label.(Oriented Object Detection)(Rotation Detection)(Rotated BBox)基于yolov5的旋转目标检测
I am trying to run a demo program to train the original dataset demo, but getting ImportError: cannot import name 'nms_rotated_ext' from partially initialized module 'utils.nms_rotated' (most likely due to...
     
In Colab ``` %cd /content/yolov5_obb !python detect.py --weights '/content/best.pt' --source '../datasets/sample/valid/images' --conf-thres 0.5 --img 640 --device 0 --agnostic-nms --save-txt ``` Result ``` /content/yolov5_obb detect: weights=['/content/sample_data/best.pt'], source=../datasets/sample/valid/images, imgsz=[640, 640], conf_thres=0.5, iou_thres=0.4,...
之前的环境是ubuntu18.04,python3.7,cuda10.2 现在上机载电脑,换了环境,ubuntu20.04,python3.8,cuda11.4,torch1.11,运行detect.py出现导包报错: ``` nvidia@ubuntu:~/ros_workspace/src/yolov5_ros/src/yolov5_obb-master/yolov5_obb-master$ python3 detect.py Traceback (most recent call last): File "detect.py", line 32, in from models.common import DetectMultiBackend File "/home/nvidia/ros_workspace/src/yolov5_ros/src/yolov5_obb-master/yolov5_obb-master/models/common.py", line 23, in from utils.datasets import exif_transpose, letterbox...
 
val: WARNING: dataset/val/images/0200__1__0___0.jpg: ignoring corrupt image/label: 'dict' object has no attribute 'index' val: New cache created: dataset/val/labelTxt.cache Traceback (most recent call last): File "/home/liujiafei/yolov5_obb/val.py", line 401, in main(opt) File "/home/liujiafei/yolov5_obb/val.py",...
参考 https://github.com/pytorch/pytorch/pull/65472
according to https://github.com/pytorch/pytorch/pull/65492 and https://github.com/pytorch/pytorch/pull/65472
Hi, I was wondering if it might be possible to run your model even on the limited computing power of a smartphone. Before diving too deep into it, I wanted...