Closed hyperparameters closed 3 years ago
I am facing the same issue.
Steps that I followed for installation:
git clone https://github.com/saic-vul/iterdet.git
cd iterdet
pip install -r requirements/build.txt
pip install "git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI"
pip install -v -e . # or "python setup.py develop"
Hi @hyperparameters, @Udit1999
Looks like it is a fresh bug in mmdetection
, that is already fixed in their master. However this repo is not up-to-date with their master. I think, this may be fixed by downgrading mmcv
to the version close to May 2020, ex. 0.5.8, as shown in mmcv
section. Could you please try it and say if it helped?
Hi @filaPro Thanks for your help. The issue is fixed by downgrading mmcv to 0.5.1.
still.. i have this issue.
environment
File "/home/name/HDD1/iterdet/mmdet/ops/__init__.py", line 2, in <module>
from .conv_ws import ConvWS2d, conv_ws_2d
File "/home/name/HDD1/iterdet/mmdet/ops/conv_ws.py", line 23, in <module>
class ConvWS2d(nn.Conv2d):
File "/home/name/anaconda3/envs/mmdetect/lib/python3.6/site-packages/mmcv/utils/registry.py", line 122, in _register
module_class=cls, module_name=name, force=force)
File "/home/name/anaconda3/envs/mmdetect/lib/python3.6/site-packages/mmcv/utils/registry.py", line 58, in _register_module
raise KeyError(f'{module_name} is already registered '
KeyError: 'ConvWS is already registered in conv layer'
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89
gcc --version
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mmcv.version '0.5.1' mmdet.version '2.0.0+1f5b3be'
how can solve this problem? help me
Hi @hihijimin ,
I've tried to build with the Dockerfile (just replaced original repo link with ours). python mmdet/utils/collect_env.py
runs without errors. Can you please try with docker?
Hi @filaPro , Thank you. i tried to build with the docker. It works fine without errors.
I tried to run the demo in colab after following the
install.md
guide i successfully build iterdet but got a runtime error when tried toimage_demo.py
Reproduction
Environment
python mmdet/utils/collect_env.py
also gives the same errornvcc --version
gcc --version
Error traceback