AI-GrandChallenge / round-1

14 stars 11 forks source link

EOFError: Ran out of input #118

Closed R-SPIRIT closed 4 years ago

R-SPIRIT commented 4 years ago

If I input nsml run -d tr-2 -e main.py -a "--num_epoch 10" line of code I am always receiving "EOFError: Ran out of input" error. Please, help us to solve this problem

R-SPIRIT commented 4 years ago

I am receiving the errors below.

Traceback (most recent call last): File "main.py", line 135, in main() File "main.py", line 91, in main load_weight(model, args.weight_file) File "main.py", line 56, in load_weight model.load_state_dict(torch.load(weight_file)['model']) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 387, in load return _load(f, map_location, pickle_module, pickle_load_args) File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 564, in _load magic_number = pickle_module.load(f, pickle_load_args) EOFError: Ran out of input User session exited