Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i can't load model
#1
i trained model on google-colab, then i saved it with pickle, then downloaded.at last i loaded model with pickle, but it is not working, i mean i should output 2d vector and outputs much more dimentional one for one sample. please help.
`
with open("model", 'rb') as f:
model=pickle.load(f)
`
here i am reading model file which is in same directry.
`
a=torch.ones([10000])
print(a)
print(model.parameters)
print(model(a))
`
here is error while inputing 10000 dimentional vector
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020