Closed LeonardoBlack closed 4 years ago
Hi, RFP is registered here:
https://github.com/joe-siyuan-qiao/DetectoRS/blob/master/mmdet/models/detectors/rfp.py#L47
I haven't used the demo tool so I'm not entirely sure what the reasons might be. But it seems that the issue may be related to the python environment where the installed DetectoRS is not found by python -- maybe it found another mmdetection package. Please try to create a new conda environment and reinstall DetectoRS following the mmdetection install.md instructions to see if it helps.
I met the same problem but I found that the solution that one should not follow the install.md. Because in the official instruction it is supposedd to download mmdetection from official open-mmlab, which does not include rfp.py!
In another word, one has to install setup.py directly in this git instead of cloning it from open-mmlab. Because rfp.py exists in this git but not in official open-mmlab!
I have the same issue. Is there anyway to fix it? @betaarnsburg what exactly do you mean by installing setup.py directly?
In the INSTALL.md of docs, it stated that "git clone https://github.com/open-mmlab/mmdetection.git". But in this repo open-mmlab, there is no rfp.py. That is why it was lack of RFP.
Instead, one should do this: git clone git@github.com:joe-siyuan-qiao/DetectoRS.git @SharifElfouly @LeonardoBlack
In the INSTALL.md of docs, it stated that "git clone https://github.com/open-mmlab/mmdetection.git". But in this repo open-mmlab, there is no rfp.py. That is why it was lack of RFP.
Instead, one should do this: git clone git@github.com:joe-siyuan-qiao/DetectoRS.git @SharifElfouly @LeonardoBlack
After running setup.py in DetectoRS cloned dir, getting new issue ModuleNotFoundError: No module named 'mmcv.cnn.weight_init'.
I have installed mmcv-full using pip install mmcv-full
.
also tied using
git clone https://github.com/open-mmlab/mmcv.git
cd mmcv
MMCV_WITH_OPS=1 pip install -e . # package mmcv-full will be installed after this step
but not working
Same problem here.
Official mmdetection(https://github.com/open-mmlab/mmdetection/tree/master/configs/detectors) works well but it seems that it provides lower accuracy model, which best MAP is 49.1. I want to try ResNeXt-101-32x4d(https://www.cs.jhu.edu/~syqiao/DetectoRS/DetectoRS_X101-ed983634.pth) but it doesn't work. Also for the dockerfile, it seems I can't connect to the server.
Any suggestion for that?
Anyone found a solution to the above situation?
when I run “python demo/webcam_demo.py configs/DetectoRS/DetectoRS_mstrain_400_1200_r50_40e.py checkpoints/DetectoRS_R50-0f1c8080.pth ” , "/home/leo/anaconda3/envs/py36/lib/python3.6/site-packages/mmcv/utils/registry.py", line 158, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'RecursiveFeaturePyramid is not in the detector registry' happen