How can I solve this problem, Thank you!
TGISer opened this issue · 0 comments
F:\ProgramData\Anaconda3\python.exe "E:/coding/domain adaptation/Xlearn-master/pytorch/src/train.py"
{'name': 'JAN', 'trade_off': 1.0}
Traceback (most recent call last):
File "", line 1, in
File "F:\ProgramData\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "F:\ProgramData\Anaconda3\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "F:\ProgramData\Anaconda3\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "F:\ProgramData\Anaconda3\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="mp_main")
File "F:\ProgramData\Anaconda3\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "F:\ProgramData\Anaconda3\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "F:\ProgramData\Anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "E:\coding\domain adaptation\Xlearn-master\pytorch\src\train.py", line 5, in
import torch
File "F:\ProgramData\Anaconda3\lib\site-packages\torch_init.py", line 78, in
from torch._C import *
ImportError: DLL load failed: 页面文件太小,无法完成操作。
Traceback (most recent call last):
File "E:/coding/domain adaptation/Xlearn-master/pytorch/src/train.py", line 292, in
transfer_classification(config)
File "E:/coding/domain adaptation/Xlearn-master/pytorch/src/train.py", line 224, in transfer_classification
print(image_classification_test(dset_loaders["target"], nn.Sequential(base_network, bottleneck_layer, classifier_layer), test_10crop=prep_dict["target"]["test_10crop"], gpu=use_gpu))
File "E:/coding/domain adaptation/Xlearn-master/pytorch/src/train.py", line 63, in image_classification_test
iter_test = [iter(loader['test'+str(i)]) for i in range(10)]
File "E:/coding/domain adaptation/Xlearn-master/pytorch/src/train.py", line 63, in
iter_test = [iter(loader['test'+str(i)]) for i in range(10)]
File "F:\ProgramData\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 451, in iter
return _DataLoaderIter(self)
File "F:\ProgramData\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 239, in init
w.start()
File "F:\ProgramData\Anaconda3\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "F:\ProgramData\Anaconda3\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "F:\ProgramData\Anaconda3\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "F:\ProgramData\Anaconda3\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "F:\ProgramData\Anaconda3\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
BrokenPipeError: [Errno 32] Broken pipe