nnzhan / Graph-WaveNet

graph wavenet
MIT License
628 stars 201 forks source link

Question #17

Open LAN0206 opened 4 years ago

LAN0206 commented 4 years ago

AttributeError: 'NoneType' object has no attribute 'seek'.You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try to load from it instead.

How to solve this problem!Please!!!!!For helping !!!!!!

lixus7 commented 4 years ago

hello!did you solve this problem?i have met it too. If you find the way, could you tell me how to solve it? thank you !!!

LAN0206 commented 4 years ago

No,i have not solved it yet...

------------------ 原始邮件 ------------------ 发件人: "nnzhan/Graph-WaveNet" <notifications@github.com>; 发送时间: 2020年9月1日(星期二) 晚上9:33 收件人: "nnzhan/Graph-WaveNet"<Graph-WaveNet@noreply.github.com>; 抄送: "蓝"<1050776794@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [nnzhan/Graph-WaveNet] Question (#17)

hello!did you solve this problem?i have met it too. If you find the way, could you tell me how to solve it? thank you !!!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

lixus7 commented 4 years ago

I gave up the test.py and use the testing part in the train.py to reach my goal.

lixus7 commented 4 years ago

i think we need to set the defults parameters of checkpoint in test.py

zwqnju commented 4 years ago

i think we need to set the defults parameters of checkpoint in test.py

Yes, just add '--checkpoint ./garage/XXX.pth', and test.py can run correctly.

LAN0206 commented 4 years ago

i think we need to set the defults parameters of checkpoint in test.py

thanks.I will try it later!

LAN0206 commented 4 years ago

i think we need to set the defults parameters of checkpoint in test.py

Yes, just add '--checkpoint ./garage/XXX.pth', and test.py can run correctly.

ok i will try it !thanks

qiyanq commented 3 years ago

i think we need to set the defults parameters of checkpoint in test.py

Yes, just add '--checkpoint ./garage/XXX.pth', and test.py can run correctly.

ok i will try it !thanks

i think we need to set the defults parameters of checkpoint in test.py

Yes, just add '--checkpoint ./garage/XXX.pth', and test.py can run correctly.

i think we need to set the defults parameters of checkpoint in test.py

Yes, just add '--checkpoint ./garage/XXX.pth', and test.py can run correctly.

I don't quite understand how to do it. Can you be more specific?thanks

qiyanq commented 3 years ago

i think we need to set the defults parameters of checkpoint in test.py

Yes, just add '--checkpoint ./garage/XXX.pth', and test.py can run correctly.

ok i will try it !thanks

I don't quite understand how to do it. Can you be more specific?thanks