qdtrack icon indicating copy to clipboard operation
qdtrack copied to clipboard

TypeError : Resnet : __init__() got an unexpected keyword argument 'init_cfg'

Open AmanGoyal99 opened this issue 4 years ago • 12 comments

Greetings,

I am currently using qdtrack in python 3.8, Cuda 11 based environment for RTX 3090 GPU. While training as well as testing, I am getting this error. All required datasets in required locations have been downloaded and maintained. Any help would be appreciated.

AmanGoyal99 avatar Oct 18 '21 09:10 AmanGoyal99

Please refer to this doc and install the right version with mmcv and mmdet.

OceanPang avatar Oct 20 '21 07:10 OceanPang

So RTX 3090 works on only python 3.8+. Hence I had to install different versions of dependencies. Could you please suggest any other solution to this issue ?

AmanGoyal99 avatar Oct 21 '21 08:10 AmanGoyal99

Which version of mmcv or mmdet did you use?

OceanPang avatar Oct 21 '21 08:10 OceanPang

mmdet : 2.11.0 mmcv-full : 1.3.15

AmanGoyal99 avatar Oct 21 '21 09:10 AmanGoyal99

Which version of mmcv or mmdet did you use?

mmdet : 2.11.0 mmcv-full : 1.3.15

AmanGoyal99 avatar Oct 22 '21 14:10 AmanGoyal99

mmdet : 2.11.0 mmcv-full : 1.3.15

AmanGoyal99 avatar Oct 22 '21 14:10 AmanGoyal99

Had closed the issue by mistake. I am still facing the same problem @OceanPang

AmanGoyal99 avatar Oct 22 '21 14:10 AmanGoyal99

We develop this codebase based on mmcv 2.14.0 and mmdet 1.3.10, please update the version of your mmcv.

OceanPang avatar Oct 22 '21 14:10 OceanPang

We develop this codebase based on mmcv 2.14.0 and mmdet 1.3.10, please update the version of your mmcv.

I tried installing using pip install mmcv-full=1.3.10 but I get an error saying that such a version does not exist. @OceanPang

AmanGoyal99 avatar Oct 22 '21 19:10 AmanGoyal99

We develop this codebase based on mmcv 2.14.0 and mmdet 1.3.10, please update the version of your mmcv.

I tried installing using pip install mmcv-full=1.3.10 but I get an error saying that such a version does not exist. @OceanPang

Hi Aman, I got the same issue. I was wondering did you solve it?

Xiaofei-Kevin-Yang avatar Jan 20 '22 21:01 Xiaofei-Kevin-Yang

We develop this codebase based on mmcv 2.14.0 and mmdet 1.3.10, please update the version of your mmcv. Hi Ocean, could you please guide me to solve it. Much appreciated!

Xiaofei-Kevin-Yang avatar Jan 20 '22 21:01 Xiaofei-Kevin-Yang

@AmanGoyal99 , @Xiaofei-Kevin-Yang This command can be used as the reference:

pip install mmcv-full==1.3.10 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.7.0/index.html

HanGuangXin avatar Jul 01 '22 03:07 HanGuangXin