Chasel-Tsui / mmdet-rfla

ECCV22: RFLA
MIT License
254 stars 23 forks source link

运行python tools/train.py configs/rfla/aitod_faster_r50_rfla_wd_1x.py会报错 #5

Closed fppccc closed 3 weeks ago

fppccc commented 1 year ago

作者,您好!我想试着运行您的代码,在配置好环境后(所有requirements均已满足),我在终端输入python tools/train.py configs/rfla/aitod_faster_r50_rfla_wd1x.py的指令,报错为“KeyError: "RPNHead: ' HieAssigner is not in the bbox assigner registry ”,请问是否是我的步骤有错误?感谢!

XiaoyuWant commented 1 year ago

我也有这个问题,没有用过mmdetection,不知道怎么解决。安装的是mvccfull & pytorch 1.10.2

hezheyuan commented 1 year ago

我以为是这个问题

Chasel-Tsui commented 1 year ago

有可能是因为在该环境下同时安装了mmdet和mmdet-rfla,这样会导致环境检索到原来的mmdet,建议卸载重复的mmdet试一下

XiaoyuWant commented 1 year ago

是这个原因,重装了一下问题解决了 :)