gluon-mobilenet-yolov3 icon indicating copy to clipboard operation
gluon-mobilenet-yolov3 copied to clipboard

__init__() got an unexpected keyword argument 'step'

Open xiaoy90 opened this issue 5 years ago • 5 comments

File "train_yolo3_mobilenet.py", line 314, in train warmup_epochs=args.warmup_epochs) TypeError: init() got an unexpected keyword argument 'step'

xiaoy90 avatar Mar 29 '19 03:03 xiaoy90

I also met the same question, have you solved that?

lwdoubles avatar Apr 17 '19 04:04 lwdoubles

hi, I solved it by : pip install Gluoncv==0.3

Installing collected packages: Gluoncv Found existing installation: gluoncv 0.4.0.post0 Uninstalling gluoncv-0.4.0.post0: Successfully uninstalled gluoncv-0.4.0.post0 Successfully installed Gluoncv-0.3.0

qxin avatar Apr 22 '19 05:04 qxin

thank you

lwdoubles avatar Apr 22 '19 06:04 lwdoubles

suggest the author put some notice in the text, that the gluoncv version must be 0.3.0

benz725 avatar Oct 30 '19 13:10 benz725

hi, I solved it by : pip install Gluoncv==0.3

Installing collected packages: Gluoncv Found existing installation: gluoncv 0.4.0.post0 Uninstalling gluoncv-0.4.0.post0: Successfully uninstalled gluoncv-0.4.0.post0 Successfully installed Gluoncv-0.3.0

Hi, I have tried what you said but still I get the same error message in a module named neupy while it calls up one of its class constructor PNN(std=0.1, step=1.0, verbose=True). So, if you help me out then please look after it.

spjoshi758 avatar Jan 14 '20 21:01 spjoshi758