Traceback (most recent call last):


 "main.py", line 442, in <module>

load_model_decode(model_dir, data, 'test', gpu, seg)


 "main.py", line 348, in load_model_decode

model.load_state_dict(torch.load(model_dir),strict=False)


 "/root/anaconda2/lib/python2.7/site-packages/torch/nn/modules/module.py", line 487, in load_state_dict

.format(name, own_state[name].size(), param.size()))
RuntimeError: While copying the parameter named lstm.hidden2tag.weight, whose dimensions in the model are torch.Size([9, 200]) and whose dimensions in the checkpoint are torch.Size([7, 200]).

Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/autokey/service.py", line 207, in __tryReleaseLock

self.configManager.lock.release()
RuntimeError: release unlocked lock
