Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #17

Open
LAN0206 opened this issue Jul 26, 2020 · 9 comments
Open

Question #17

LAN0206 opened this issue Jul 26, 2020 · 9 comments

Comments

@LAN0206
Copy link

LAN0206 commented Jul 26, 2020

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
Copy link

lixus7 commented Sep 1, 2020

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
Copy link
Author

LAN0206 commented Sep 2, 2020 via email

@lixus7
Copy link

lixus7 commented Sep 2, 2020

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

@lixus7
Copy link

lixus7 commented Sep 2, 2020

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

@zwqnju
Copy link

zwqnju commented Oct 16, 2020

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
Copy link
Author

LAN0206 commented Oct 16, 2020

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

thanks.I will try it later!

@LAN0206
Copy link
Author

LAN0206 commented Oct 16, 2020

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
Copy link

qiyanq commented Sep 23, 2021

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
Copy link

qiyanq commented Sep 23, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants