-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running demo.py: a parameter group that doesn't match the size of optimizer's group #1
Comments
Can you show me the full error traceback? |
Thanks for the quick reply! I installed mmcv just as mentioned on your readme.
|
So as I can see from your traceback, Line 313 in mmcv/runner/runner.py is different from the one in the repo. multiperson/mmcv/mmcv/runner/runner.py Line 313 in c79c0f8
The line where we load the optimizer state is actually Line 350 multiperson/mmcv/mmcv/runner/runner.py Line 350 in c79c0f8
I suspect that you might have a different version of mmcv installed at some point. We had encountered this issue in the past and explicitly put the optimizer state loading under a try/except block. A quick solution would be to run |
That was exactly it! Somehow, I had another version installed. |
Hi, kudos for the great work! Thank you for sharing the code.
When trying to run demo.py with the command
python3 tools/demo.py --config=configs/smpl/tune.py --image_folder=demo_images/ --output_folder=results/ --ckpt data/checkpoint.pt
I get the following error:
It seems to be triggered by something with the checkpoint and the model architecture. I also get the following message:
The text was updated successfully, but these errors were encountered: