CLIP-ReID
CLIP-ReID copied to clipboard
Can't load the weights of VehicleID
Hi, I am unable to load the weights of the vehicleID model Can you help me to solve it?
Resized position embedding: %s to %s torch.Size([197, 768]) torch.Size([257, 768])
Position embedding resize to height:16 width: 16
Traceback (most recent call last):
File "test_clipreid.py", line 42, in <module>
model.load_param(cfg.TEST.WEIGHT)
File "/Users/shreejaltrivedi/Documents/Repos/CLIP-ReID/model/make_model_clipreid.py", line 159, in load_param
self.state_dict()[i.replace('module.', '')].copy_(param_dict[i])
RuntimeError: The size of tensor a (576) must match the size of tensor b (13164) at non-singleton dimension 0