iscyy / yoloair

🔥🔥🔥 专注于YOLOv5,YOLOv7、YOLOv8、YOLOv9改进模型,Support to improve backbone, neck, head, loss, IoU, NMS and other modules🚀
https://github.com/iscyy/yoloair
GNU General Public License v3.0
2.51k stars 430 forks source link

Running val.py brings up ValueError: not enough values to unpack (expected 2, got 1) #58

Closed Luxiangxianghy closed 2 years ago

Luxiangxianghy commented 2 years ago

Running val.py brings up ValueError: not enough values to unpack (expected 2, got 1) image val.py No parser.add_argument('--otaloss', type=str, default='origin', help='use yolov7 or yolox') How can I solve it?

iscyy commented 2 years ago

You can update the latest code, or update val.py, add --otaloss yolox when running val.py

Luxiangxianghy commented 2 years ago

You can update the latest code, or update val.py, add --otaloss yolox when running val.py Thank you, solved