running on cuda:0 Loading file... 986410 Generating testset... 0%| | 0/10000 [00:00 torch.save(net, './nets/gpunets/net_' + str(epoch) + '.pt') File "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 327, in save with _open_file_like(f, 'wb') as opened_file: File "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 212, in _open_file_like return _open_file(name_or_buffer, mode) File "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 193, in __init__ super(_open_file, self).__init__(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: './nets/gpunets/net_0.pt'