geoseg icon indicating copy to clipboard operation
geoseg copied to clipboard

Error when loading the model

Open skyimager opened this issue 5 years ago • 1 comments

When loading the model using the below code:

checkpoint_file = "BR-Net_iter_5000.pth"
model = torch.load(checkpoint_file)
model.eval()

on Pytorch == 0.4.1

I am getting error as:

key error: "track running status"

However on pytorch==0.3.1 the model loads fine. Seems that the model is not compatible with pytorch version 0.4.1

skyimager avatar Jul 02 '19 05:07 skyimager

Yes, you are right. After updating to 0.4.1, I just save the params. I will update these checkpoints soon.

huster-wgm avatar Jul 03 '19 14:07 huster-wgm