mmrazor
mmrazor copied to clipboard
TypeError: __init__() takes 1 positional argument but 2 were given
Checklist
- I have checked the code for this bug, and when I changed the value of the argument I put in it to None, I still get an error (takes 1 positional argument but 2 were given)
Describe the question you meet
When I try to start NAS quickly and call the nas file of config directly, I get the following error: TypeError: init() takes 1 positional argument but 2 were given
Post related information
I run the following command
python ./tools/train.py configs/nas/mmdet/detnas/detnas_retina_shufflenet_supernet_coco_1x.py
hi, have you solved this? I also face the error and have no idea.
hi, have you solved this? I also face the error and have no idea.
no,i can‘t resolve it.