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 use the following code to convert torch method to overcome this error: convert torch 7 model and get an error : AttributeError: type object 'torch.cuda.FloatStorage' has no attribute 'from_buffer'
But soon after the first step i.e. loading the model I got the error: cPickle.UnpicklingError: invalid load key, '�'.
m = torch.load('xxxx.t7')
m = m:float()
torch.save('xxxx.cpu.t7',m)
I have used the model of cycle gas trained in torch, I will be grateful if you can look into this, Thankyou in advance
The text was updated successfully, but these errors were encountered:
I use the following code to convert torch method to overcome this error: convert torch 7 model and get an error : AttributeError: type object 'torch.cuda.FloatStorage' has no attribute 'from_buffer'
But soon after the first step i.e. loading the model I got the error:
cPickle.UnpicklingError: invalid load key, '�'.
m = torch.load('xxxx.t7')
m = m:float()
torch.save('xxxx.cpu.t7',m)
I have used the model of cycle gas trained in torch, I will be grateful if you can look into this, Thankyou in advance
The text was updated successfully, but these errors were encountered: