Traceback (most recent call last):


 "run_ssd_live_demo.py", line 41, in <module>

net.load(model_path)


 "/Users/mekong/git/pytorch-ssd/vision/ssd/ssd.py", line 135, in load

self.load_state_dict(torch.load(model, map_location=lambda storage, loc: storage))


 "/Users/mekong/git/pytorch-ssd/ssd-pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 719, in load_state_dict

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

Traceback (most recent call last):


 "/Users/user1/dev/Pedestal/srl/demo/bin/allennlp", line 8, in <module>

sys.exit(run())


 "/Users/user1/dev/Pedestal/srl/demo/lib/python3.8/site-packages/allennlp/__main__.py", line 19, in run

main(prog="allennlp")


 "/Users/user1/dev/Pedestal/srl/demo/lib/python3.8/site-packages/allennlp/commands/__init__.py", line 92, in main

args.func(args)


 "/Users/user1/dev/Pedestal/srl/demo/lib/python3.8/site-packages/allennlp/commands/predict.py", line 197, in _predict

predictor = _get_predictor(args)


 "/Users/user1/dev/Pedestal/srl/demo/lib/python3.8/site-packages/allennlp/commands/predict.py", line 94, in _get_predictor

archive = load_archive(


 "/Users/user1/dev/Pedestal/srl/demo/lib/python3.8/site-packages/allennlp/models/archival.py", line 192, in load_archive

model = Model.load(


 "/Users/user1/dev/Pedestal/srl/demo/lib/python3.8/site-packages/allennlp/models/model.py", line 398, in load

return model_class._load(config, serialization_dir, weights_file, cuda_device, opt_level)


 "/Users/user1/dev/Pedestal/srl/demo/lib/python3.8/site-packages/allennlp/models/model.py", line 337, in _load

model.load_state_dict(model_state)


 "/Users/user1/dev/Pedestal/srl/demo/lib/python3.8/site-packages/torch/nn/modules/module.py", line 846, in load_state_dict

raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for SrlBert:
