![]() ![]() That will tell us what file is being used. Immediately before line 180, saying: print(graphonomy_model_path) Line 180 says: state_dict = torch.load(graphonomy_model_path)īut we don’t know what the graphonomy_model_path is. One thing which would be very useful: in this script: /content/LOHO/loho.py Where did this file come from? Did you create it? Now you are unpicklingĪ model from a “.pth” file: Loading model from: /content/LOHO/networks/lpips/weights/v0.1/vgg.pth Earlier, your file wasĪ PNG image: 00018.png, if I remember correctly. This does not seem to be the same file as before. You know it is a good file? Where did you get it from? ![]() It says: RuntimeError: unexpected EOF, expected 1362420 more bytes. The error message looks fairly complete and self-explanatory to “How do I find out the path to my file?” is a good question to ask, if Until it worked? Please, if you are having problems with specific tasks, You “somehow” got the path right? What did you do, try random paths RuntimeError: unexpected EOF, expected 1362420 more bytes. Return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)įile “/usr/local/lib/python3.7/site-packages/torch/serialization.py”, line 779, in _legacy_loadĭeserialized_objects._set_from_file(f, offset, f_should_read_directly) State_dict = torch.load(graphonomy_model_path)įile “/usr/local/lib/python3.7/site-packages/torch/serialization.py”, line 593, in load Loading model from: /content/LOHO/networks/lpips/weights/v0.1/vgg.pthįile “/content/LOHO/loho.py”, line 180, in But now I am getting this "Runtime Error"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |