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

EOFError, cant find a solution #16

Closed
vadimfedulov256 opened this issue Oct 27, 2018 · 1 comment
Closed

EOFError, cant find a solution #16

vadimfedulov256 opened this issue Oct 27, 2018 · 1 comment

Comments

@vadimfedulov256
Copy link

Traceback (most recent call last):
File "main.py", line 150, in
algo.train()
File "/disk/StackGAN-v2-master/code/trainer.py", line 347, in train
self.inception_model, start_count = load_network(self.gpus)
File "/disk/StackGAN-v2-master/code/trainer.py", line 132, in load_network
state_dict = torch.load(cfg.TRAIN.NET_G)
File "/usr/local/lib/python2.7/dist-packages/torch/serialization.py", line 358, in load
return _load(f, map_location, pickle_module)
File "/usr/local/lib/python2.7/dist-packages/torch/serialization.py", line 531, in _load
magic_number = pickle_module.load(f)
EOFError

@vadimfedulov256
Copy link
Author

Okay, netG model was actually empy, but there was a written way to it, so I have solved this problem.

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

1 participant