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
When trying to run the command (checkpoint is the AMR3.parsing-1.0.tar.bz2 one)
python bin/train.py --config configs/config.yaml --direction amr --checkpoint /content/drive/MyDrive/AMRS/SPRING_AMR3_parser.pt
I get the error
Traceback (most recent call last):
File "bin/train.py", line 430, in <module>
fp16=args.fp16,
File "bin/train.py", line 76, in do_train
optimizer.load_state_dict(torch.load(checkpoint)['optimizer'])
File "/usr/local/envs/myenv/lib/python3.7/site-packages/torch/optim/optimizer.py", line 116, 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
When trying to run the command (checkpoint is the AMR3.parsing-1.0.tar.bz2 one)
I get the error
Environment
Any ideas as to what I'm doing wrong?
Thanks in advance.
The text was updated successfully, but these errors were encountered: