stevehuanghe / GDAN

Generative Dual Adversarial Network for Generalized Zero-shot Learning
MIT License
53 stars 12 forks source link

RuntimeError: unknown error on win10 #7

Closed mrzhu666 closed 3 years ago

mrzhu666 commented 3 years ago

Has anyone encountered this problem?


Traceback (most recent call last): File "pretrain_gdan.py", line 103, in main() File "pretrain_gdan.py", line 97, in main torch.save(states, str(save_path)) File "F:\Anaconda3\envs\torch0_4\lib\site-packages\torch\serialization.py", line 209, in save return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol)) File "F:\Anaconda3\envs\torch0_4\lib\site-packages\torch\serialization.py", line 134, in _with_file_like return body(f) File "F:\Anaconda3\envs\torch0_4\lib\site-packages\torch\serialization.py", line 209, in return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol)) File "F:\Anaconda3\envs\torch0_4\lib\site-packages\torch\serialization.py", line 288, in _save serialized_storages[key]._write_file(f, _should_read_directly(f)) RuntimeError: unknown error