`Traceback (most recent call last):


 "/Users/zhangmc/software_kg/PreSumm-dev/src/train.py", line 140, in <module>

test_text_abs(args)


 "/Users/zhangmc/software_kg/PreSumm-dev/src/train_abstractive.py", line 324, in test_text_abs

model = AbsSummarizer(args, device, checkpoint)


 "/Users/zhangmc/software_kg/PreSumm-dev/src/models/model_builder.py", line 217, in __init__

self.load_state_dict(checkpoint['model'], strict=True)


 "/Users/zhangmc/software_kg/venv/lib/python3.7/site-packages/torch/nn/modules/module.py", line 830, in load_state_dict

self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for AbsSummarizer:

Traceback (most recent call last):


 "test.py", line 19, in <module>

model.setup(opt)


 "/home/t-fayan/vision/pytorch-CycleGAN-and-pix2pix/models/base_model.py", line 43, in setup

self.load_networks(opt.which_epoch)


 "/home/t-fayan/vision/pytorch-CycleGAN-and-pix2pix/models/base_model.py", line 130, in load_networks

net.load_state_dict(state_dict)


 "/home/t-fayan/anaconda2/envs/py27/lib/python2.7/site-packages/torch/nn/modules/module.py", line 721, in load_state_dict

self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for ResnetGenerator:
