gyyang23 / AFPN

102 stars 12 forks source link

AFPN is not in the model registry #3

Open athrunsunny opened 1 year ago

athrunsunny commented 1 year ago

KeyError: "class FasterRCNN in mmdet/models/detectors/faster_rcnn.py: 'AFPN is not in the model registry. Please check whether the value of AFPN is correct or it was registered as expected. More details can be found at https://mmengine.readthedocs.io/en/latest/advanced_tutorials/config.html#import-the-custom-module'"

gyyang23 commented 1 year ago

You should download my code and recompile mmdetction.

git clone https://github.com/gyyang23/AFPN.git cd AFPN/mmdetection pip install -v -e .

zqrxiaer commented 11 months ago

I also encountered this issue and ran the solution as mentioned above, but the problem still persists. I am still getting the error message: 'AFPN is not registered correctly.' I also tried the YOLO configuration file, and the error is: 'YOLOv5AFPN is not registered.

12xc3 commented 2 months ago

我也遇到了这个问题,并按照上面提到的方法运行了解决方案,但问题仍然存在。我仍然收到错误消息:“AFPN 未正确注册。” 我也尝试了 YOLO 配置文件,错误是:“YOLOv5AFPN 未注册。” 你解决了吗,我想在mmdet2.x上用这个,我该怎么弄