AO2-DETR
AO2-DETR copied to clipboard
KeyError: 'RotatedDeformableDETR is not in the models registry'
你好,我在运行你的代码时,出现了这个错误:KeyError: 'RotatedDeformableDETR is not in the models registry'
我看了你给其他人回答,问题还是没有解决。
我的代码目录如下:
我的运行环境如下:
我的运行命令为:
python tools/train.py configs/deformable_detr/deformable_detr_r50_16x2_50e_dota.py
我的运行结果如下:
麻烦解答一下,我要怎样才可以顺利运行,谢谢。
可以去mmroate下面搜对应的解决方案,应该是编译都没有成功。
@Ixiaohuihuihui what a greatjob!!!! i have some question about the paper, 怎么简要理解 an oriented proposal generation (OPG) mechanism, an adaptive oriented proposal refinement (OPR) module, and a rotation-aware set matching loss这三个点,我看着这个英文有点儿晕晕的
生成旋转候选区域和旋转候选区域细化
你执行git clone https://github.com/open-mmlab/mmrotate.git
cd mmrotate
pip install -r requirements/build.txt
pip install -v -e . # or "python setup.py develop"
实际上是把mmrotate当作了一个新的mmrotate软件包(注意不是AO2-DETR里面的)
但是mmrotate里面并没有作者创新的RotatedDeformableDETR,所以你需要到mmrotate中的__init__.py中去声明
要复制过去再重新声明的有四五个,弄好了就不会报这个错了,但是我碰到了新的问题
你执行git clone https://github.com/open-mmlab/mmrotate.git cd mmrotate pip install -r requirements/build.txt pip install -v -e .# or “python setup.py develop” 实际上是把mmrotate当作了一个新的mmrotate软件包(注意不是AO2-DETR里面的) 但是mmrotate里面并没有作者创新的RotatedDeformableDETR,所以你需要到mmrotate中的__init__.py中去声明
要复制过去再重新声明的有四五个,弄好了就不会报这个错了,但是我碰到了新的问题
你好,我复制过去后重新声明之后又出现了:KeyError: 'RotatedDeformableDETR: "RotatedDeformableDETRHead: 'Rotated_HungarianAssigner is not in the bbox_assigner registry'"'这种问题,但我并没有找到Rotated_HungarianAssigner这个在哪里声明?
你执行git clone https://github.com/open-mmlab/mmrotate.git cd mmrotate pip install -r requirements/build.txt pip install -v -e .# or “python setup.py develop” 实际上是把mmrotate当作了一个新的mmrotate软件包(注意不是AO2-DETR里面的) 但是mmrotate里面并没有作者创新的RotatedDeformableDETR,所以你需要到mmrotate中的__init__.py中去声明
要复制过去再重新声明的有四五个,弄好了就不会报这个错了,但是我碰到了新的问题
你好,我复制过去后重新声明之后又出现了:KeyError: 'RotatedDeformableDETR: "RotatedDeformableDETRHead: 'Rotated_HungarianAssigner is not in the bbox_assigner registry'"'这种问题,但我并没有找到Rotated_HungarianAssigner这个在哪里声明?
时间太长,我也忘记具体怎么解决这个了
大家有遇到执行test.py时卡住的情况吗