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.