Solved by LeviViana in post #2 
              
              
                I guess you are using this repo. So, in this case, when you load a pth file, say mdnet_vot-otb.pth, it loads a dictionary having only one key: 'shared_layers'. This corresponds to the layers trained offline. 
Try it out: 
import torch
model_weights = torch.load("mdnet_vot-otb.pth")
print(type(model…