You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i finetuned BiT-R50 and save like bit.pth.tar
torch.save({
"step": step,
"model": model.state_dict(),
"optim" : optim.state_dict(),
}, savename)
but i can't use it for test like
checkpoint = torch.load(f'/srv/data/datasets/kyuhong/big_transfer/bit_logs/products/bit.pth.tar')
self.model.load_state_dict(checkpoint['model'])
how can i use my custom trained model
The text was updated successfully, but these errors were encountered:
i finetuned BiT-R50 and save like bit.pth.tar
torch.save({
"step": step,
"model": model.state_dict(),
"optim" : optim.state_dict(),
}, savename)
but i can't use it for test like
checkpoint = torch.load(f'/srv/data/datasets/kyuhong/big_transfer/bit_logs/products/bit.pth.tar')
self.model.load_state_dict(checkpoint['model'])
how can i use my custom trained model
The text was updated successfully, but these errors were encountered: