Traceback (most recent call last):


 "train_ssd.py", line 287, in <module>

net.init_from_base_net(args.base_net)


 "/content/pytorch-ssd/vision/ssd/ssd.py", line 112, in init_from_base_net

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


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 769, in load_state_dict

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

Traceback (most recent call last):


 "demo_server.py", line 241, in <module>

main()


 "demo_server.py", line 237, in main

start_server()


 "demo_server.py", line 222, in start_server

num_test_cases=3)


 "demo_server.py", line 139, in warm_up_test

transcript = audio_process_handler(sample['audio_filepath'])


 "demo_server.py", line 198, in file_to_transcript

feeding_dict=data_generator.feeding)


 "/home/aistudio/DeepSpeech/model_utils/model.py", line 411, in infer_batch_probs

self.init_from_pretrained_model(exe, infer_program)


 "/home/aistudio/DeepSpeech/model_utils/model.py", line 161, in init_from_pretrained_model

filename="params.pdparams")


 "/opt/conda/envs/python27-paddle120-env/lib/python2.7/site-packages/paddle/fluid/io.py", line 876, in load_params

filename=filename)


 "/opt/conda/envs/python27-paddle120-env/lib/python2.7/site-packages/paddle/fluid/io.py", line 750, in load_vars

filename=filename)


 "/opt/conda/envs/python27-paddle120-env/lib/python2.7/site-packages/paddle/fluid/io.py", line 819, in load_vars

format(orig_shape, each_var.name, new_shape))
RuntimeError: Variable's shape does not match, the Program requires a parameter with the shape of ((1024L, 1024L)), while the loaded parameter (namely [ layer_3_forward_rnn_weight ]) has a shape of
((1024, 3072)).
