Graph-WaveNet icon indicating copy to clipboard operation
Graph-WaveNet copied to clipboard

Question

Open LAN0206 opened this issue 4 years ago • 9 comments

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 !!!!!!

LAN0206 avatar Jul 26 '20 08:07 LAN0206

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 !!!

lixus7 avatar Sep 01 '20 13:09 lixus7

No,i have not solved it yet...

------------------ 原始邮件 ------------------ 发件人: "nnzhan/Graph-WaveNet" <[email protected]>; 发送时间: 2020年9月1日(星期二) 晚上9:33 收件人: "nnzhan/Graph-WaveNet"<[email protected]>; 抄送: "蓝"<[email protected]>;"Author"<[email protected]>; 主题: 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.

LAN0206 avatar Sep 02 '20 07:09 LAN0206

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

lixus7 avatar Sep 02 '20 09:09 lixus7

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

lixus7 avatar Sep 02 '20 09:09 lixus7

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.

zwqnju avatar Oct 16 '20 12:10 zwqnju

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

thanks.I will try it later!

LAN0206 avatar Oct 16 '20 12:10 LAN0206

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

LAN0206 avatar Oct 16 '20 12:10 LAN0206

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 avatar Sep 23 '21 03:09 qiyanq

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

qiyanq avatar Sep 23 '21 03:09 qiyanq