a-PyTorch-Tutorial-to-Image-Captioning icon indicating copy to clipboard operation
a-PyTorch-Tutorial-to-Image-Captioning copied to clipboard

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

Open ethan0531 opened this issue 4 years ago • 7 comments

ethan0531 avatar Jul 31 '20 07:07 ethan0531

Has anyone solved this problem yet??

dangcaptkd2 avatar Apr 15 '21 13:04 dangcaptkd2

Has anyone solved this problem yet?? Have you handle this issues?

Enoch-Zhang avatar Apr 28 '21 02:04 Enoch-Zhang

SOS ! Help me !

zhuhaifengaaa avatar Nov 16 '21 07:11 zhuhaifengaaa

This is a path problem. Check your path

ethan0531 avatar Nov 17 '21 02:11 ethan0531

This is a path problem. Check your path

Hello! Can you be more specific?

zhuhaifengaaa avatar Nov 18 '21 13:11 zhuhaifengaaa

encountered the same issue. was anyone able to find the solution?

teenaxta avatar Jul 31 '22 23:07 teenaxta

The value of the argument cannot be None. Check to see if it starts with None and is not subsequently assigned to a (serializable) string.

Sunnydx98 avatar Jan 05 '23 08:01 Sunnydx98