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

can't train the model of YOLOX #136

Closed Maokaicheng0725 closed 1 year ago

Maokaicheng0725 commented 1 year ago

When I train, the program will report errors:AttributeError: 'DetectX' object has no attribute 'anchors'

jayphone17 commented 1 year ago

Try from models.yolox import DetectX ?

iscyy commented 1 year ago

68

Maokaicheng0725 commented 1 year ago

68

我试过这个方法,确实能训练但是第二个epoch的时候就报错了

Maokaicheng0725 commented 1 year ago

我试过了。。。还是不行。。。

jayphone17 commented 1 year ago

我试过了。。。还是不行。。。

我试了 --noautoanchor 是可以跑的

jayphone17 commented 1 year ago

我试过了。。。还是不行。。。

试一下再加一条 --otaloss yolox