You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Yulei, thank you for your paper and code, which benefit me a lot.
When I tried to run cfvqa, I may have encountered some problems due to my incorrect usage. I hope that you could answer them.
After training the teacher model, the student model encountered the following error when loading the Optimizer:
�[1m�[90m[I 2022-12-04 22:48:30]�[0m ...fvqa/engines/engine.py.87: Loading last checkpoint
�[1m�[90m[I 2022-12-04 22:48:30]�[0m ...fvqa/engines/engine.py.395: Loading model...
�[1m�[90m[I 2022-12-04 22:48:30]�[0m ...fvqa/engines/engine.py.401: Loading optimizer...
�[1m�[90m[I 2022-12-04 22:48:30]�[0m ...qa/cfint1/cfvqa/run.py.120: Traceback (most recent call last):
File "/mnt/home/lxpvqa/cfint1/cfvqa/run.py", line 113, in main
run(path_opts=path_opts)
File "/mnt/home/lxpvqa/cfint1/cfvqa/run.py", line 92, in run
engine.resume()
File "/mnt/home/lxpvqa/cfint1/cfvqa/cfvqa/engines/engine.py", line 91, in resume
map_location=map_location)
File "/mnt/home/lxpvqa/cfint1/cfvqa/cfvqa/engines/engine.py", line 403, in load
optimizer.load_state_dict(optimizer_state)
File "/usr/local/lib/python3.6/dist-packages/block/optimizers/lr_scheduler.py", line 123, in load_state_dict
self.optimizer.load_state_dict(state['optimizer'])
File "/usr/local/lib/python3.6/dist-packages/torch/optim/optimizer.py", line 124, in load_state_dict
raise ValueError("loaded state dict contains a parameter group "
ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group
Hello Yulei, thank you for your paper and code, which benefit me a lot.
When I tried to run cfvqa, I may have encountered some problems due to my incorrect usage. I hope that you could answer them.
After training the teacher model, the student model encountered the following error when loading the Optimizer:
The run commands I used are as follows:
The following shows the contents of the optimizer in smrl_cfvqaintrod_sum:
Could you please tell me how to solve this problem?
Thanks a lot.
The text was updated successfully, but these errors were encountered: