I can't run this error in simclr.py,how to solve it.I'm going crazy.
Closed this issue · 0 comments
this is error:
Files already downloaded and verified
0%| | 0/390 [00:06<?, ?it/s]
Traceback (most recent call last):
File "run.py", line 90, in
main()
File "run.py", line 86, in main
simclr.train(train_loader)
File "D:\SimCLR-master\simclr.py", line 71, in train
for images, _ in tqdm(train_loader):
File "D:\miniconda3\envs\SimCLR-Han\lib\site-packages\tqdm\std.py", line 1195, in iter
for obj in iterable:
File "D:\miniconda3\envs\SimCLR-Han\lib\site-packages\torch\utils\data\dataloader.py", line 352, in iter
return self._get_iterator()
File "D:\miniconda3\envs\SimCLR-Han\lib\site-packages\torch\utils\data\dataloader.py", line 294, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "D:\miniconda3\envs\SimCLR-Han\lib\site-packages\torch\utils\data\dataloader.py", line 801, in init
w.start()
File "D:\miniconda3\envs\SimCLR-Han\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "D:\miniconda3\envs\SimCLR-Han\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\miniconda3\envs\SimCLR-Han\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "D:\miniconda3\envs\SimCLR-Han\lib\multiprocessing\popen_spawn_win32.py", line 89, in init
reduction.dump(process_obj, to_child)
File "D:\miniconda3\envs\SimCLR-Han\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
OSError: [Errno 22] Invalid argument