“multiprocessing\spawn.py”, line 105, in spawn_main错误与解决方法

记录一个不知名的错误

      • 错误
      • 解决方法

OS: Windows 10
错误非常的长,以至于,我也没有什么耐心去看,看了前面几行,应该是多线程引起的。下面太长,可以选择不看。

错误

Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
File “”, line 1, in
File “”, line 1, in
Traceback (most recent call last):
File “”, line 1, in
File “”, line 1, in
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
Traceback (most recent call last):
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
Traceback (most recent call last):
File “”, line 1, in
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “”, line 1, in
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
Traceback (most recent call last):
File “”, line 1, in
File “”, line 1, in
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “”, line 1, in
prepare(preparation_data)
prepare(preparation_data)
exitcode = _main(fd)
_fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
prepare(preparation_data)
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
Traceback (most recent call last):
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
prepare(preparation_data)
_fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
Traceback (most recent call last):
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
exitcode = _main(fd)
prepare(preparation_data)
exitcode = _main(fd)
File “”, line 1, in
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
prepare(preparation_data)
_fixup_main_from_path(data[‘init_main_from_path’])
Traceback (most recent call last):
run_name=“mp_main”)
File “”, line 1, in
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
_fixup_main_from_path(data[‘init_main_from_path’])
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
_fixup_main_from_path(data[‘init_main_from_path’])
prepare(preparation_data)
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
File “”, line 1, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
_fixup_main_from_path(data[‘init_main_from_path’])
_fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
run_name=“mp_main”)
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
prepare(preparation_data)
_fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
pkg_name=pkg_name, script_name=fname)
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
Traceback (most recent call last):
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
_fixup_main_from_path(data[‘init_main_from_path’])
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
_fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in _run_module_code
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
_fixup_main_from_path(data[‘init_main_from_path’])
File “”, line 1, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
pkg_name=pkg_name, script_name=fname)
mod_name, mod_spec, pkg_name, script_name)
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
run_name=“mp_main”)
prepare(preparation_data)
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in _run_module_code
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
_fixup_main_from_path(data[‘init_main_from_path’])
_fixup_main_from_path(data[‘init_main_from_path’])
Traceback (most recent call last):
File “”, line 1, in
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in _run_module_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in _run_module_code
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in _run_module_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in _run_code
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in main
pkg_name=pkg_name, script_name=fname)
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in main
run_name=“mp_main”)
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
run_name=“mp_main”)
run_name=“mp_main”)
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
run_name=“mp_main”)
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
pkg_name=pkg_name, script_name=fname)
fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
exitcode = main(fd)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
pkg_name=pkg_name, script_name=fname)
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
from tiatoolbox.tools import stainnorm
exitcode = main(fd)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
from tiatoolbox.tools import stainnorm
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in main
pkg_name=pkg_name, script_name=fname)
Traceback (most recent call last):
File “”, line 1, in
prepare(preparation_data)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in main
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
fixup_main_from_path(data[‘init_main_from_path’])
mod_name, mod_spec, pkg_name, script_name)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
from tiatoolbox.tools import stainnorm
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
run_name=“mp_main”)
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
from tiatoolbox.tools import stainnorm
mod_name, mod_spec, pkg_name, script_name)
mod_name, mod_spec, pkg_name, script_name)
mod_name, mod_spec, pkg_name, script_name)
mod_name, mod_spec, pkg_name, script_name)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
pkg_name=pkg_name, script_name=fname)
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
prepare(preparation_data)
raise err
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_cnn_train64_8.dll” or one of its dependencies.
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
exitcode = main(fd)
pkg_name=pkg_name, script_name=fname)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
exec(code, run_globals)
exec(code, run_globals)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
exec(code, run_globals)
mod_name, mod_spec, pkg_name, script_name)
fixup_main_from_path(data[‘init_main_from_path’])
fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in main
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
pkg_name=pkg_name, script_name=fname)
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cufft64_10.dll” or one of its dependencies. File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox.tools import stainnorm
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
exec(code, run_globals)
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
import torch.nn as nn
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox.tools import stainnorm
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
from tiatoolbox.tools import stainnorm
pkg_name=pkg_name, script_name=fname)
raise err
import torch.nn as nn
Traceback (most recent call last):
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
run_name=“mp_main”)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
mod_name, mod_spec, pkg_name, script_name)
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cublas64_11.dll” or one of its dependencies.
import torch.nn as nn
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File “”, line 1, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
from tiatoolbox.tools import stainnorm
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
raise err
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
raise err
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_cnn_train64_8.dll” or one of its dependencies.
exec(code, run_globals)
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
pkg_name=pkg_name, script_name=fname)
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\curand64_10.dll” or one of its dependencies.
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_adv_infer64_8.dll” or one of its dependencies.
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
exitcode = main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in main
from tiatoolbox.models import abc, architecture, dataset
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cufft64_10.dll” or one of its dependencies. mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
from tiatoolbox.models import abc, architecture, dataset
import torch.nn as nn
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
mod_name, mod_spec, pkg_name, script_name)
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\shm.dll” or one of its dependencies.
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_cnn_infer64_8.dll” or one of its dependencies.
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\curand64_10.dll” or one of its dependencies.
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_cnn_train64_8.dll” or one of its dependencies.
Traceback (most recent call last):
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\shm.dll” or one of its dependencies.
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_adv_infer64_8.dll” or one of its dependencies.
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
File “”, line 1, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cublas64_11.dll” or one of its dependencies.
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in main
prepare(preparation_data)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_cnn_train64_8.dll” or one of its dependencies.
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cublas64_11.dll” or one of its dependencies.
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_cnn_train64_8.dll” or one of its dependencies.
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cublas64_11.dll” or one of its dependencies.
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_adv_infer64_8.dll” or one of its dependencies.
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cusolver64_11.dll” or one of its dependencies.
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cublas64_11.dll” or one of its dependencies.
Traceback (most recent call last):
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
Traceback (most recent call last):
File “”, line 1, in
File “”, line 1, in
File “”, line 1, in
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
_fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
exitcode = _main(fd)
exitcode = _main(fd)
exitcode = _main(fd)
_fixup_main_from_path(data[‘init_main_from_path’])
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
File “”, line 1, in
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
_fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in _fixup_main_from_path
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 105, in spawn_main
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
exitcode = _main(fd)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 114, in _main
run_name=“mp_main”)
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in _run_module_code
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
_fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
prepare(preparation_data)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 225, in prepare
run_name=“mp_main”)
pkg_name=pkg_name, script_name=fname)
fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
pkg_name=pkg_name, script_name=fname)
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
fixup_main_from_path(data[‘init_main_from_path’])
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
run_name=“mp_main”)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\multiprocessing\spawn.py”, line 277, in fixup_main_from_path
run_name=“mp_main”)
mod_name, mod_spec, pkg_name, script_name)
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
pkg_name=pkg_name, script_name=fname)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
pkg_name=pkg_name, script_name=fname)
run_name=“mp_main”)
from tiatoolbox.tools import stainnorm
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
mod_name, mod_spec, pkg_name, script_name)
from tiatoolbox.tools import stainnorm
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
from tiatoolbox.tools import stainnorm
pkg_name=pkg_name, script_name=fname)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 96, in run_module_code
exec(code, run_globals)
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
exec(code, run_globals)
mod_name, mod_spec, pkg_name, script_name)
File “D:\Anaconda\envs\histo\lib\runpy.py”, line 85, in run_code
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
exec(code, run_globals)
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\shm.dll” or one of its dependencies.
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
import torch.nn as nn
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
from tiatoolbox.models import abc, architecture, dataset
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
from tiatoolbox.models import abc, architecture, dataset
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox.tools import stainnorm
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox_init
.py", line 69, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cufft64_10.dll” or one of its dependencies. import torch.nn as nn
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
from tiatoolbox.models import abc, architecture, dataset
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
from tiatoolbox import models, tiatoolbox, tools, utils, wsicore
File "D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models_init
.py", line 22, in
from tiatoolbox.models import abc, architecture, dataset
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
File “D:\Anaconda\envs\histo\lib\site-packages\tiatoolbox\models\abc.py”, line 24, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_cnn_train64_8.dll” or one of its dependencies.
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cusolver64_11.dll” or one of its dependencies.
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
raise err
OSError: [WinError 1455] 页面文件太小,无法完成操作。 Error loading “D:\Anaconda\envs\histo\lib\site-packages\torch\lib\cudnn_cnn_train64_8.dll” or one of its dependencies.
import torch.nn as nn
File "D:\Anaconda\envs\histo\lib\site-packages\torch_init
.py", line 126, in
Traceback (most recent call last):
File “”, line 1, in
Traceback (most recent call last):
File “”, line 1, in

解决方法

  • 1、把多线程要写到main下,如下:
from multiprocessing import freeze_support
def main():do somthingif __name__ == "__main__":freeze_support()  # 加上这一句main()
  • 2、 可以看到上面的错误,其实还有其它错误,就是torch的问题,就是无法加载cusolver64_11.dll
    • 这个的解决方法,就是安排CPU版本,或者你GPU对应cuda版本的torch。

做了以上两步,问题也终于解决啦

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/260509.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

hpunix下11gRac的安装

一.检查环境 1.操作系统版本# uname -a 2.补丁包三大补丁包#swlist -l bundle|grep QPKAPPS#swlist -l bundle|grep QPKBASE#swlist -l bundle|grep HWEnable11i #swlist -l patch -a supersedes|grep PHKL_XXXXX检查是否已有或是已被替代For HP-UX 11i V3 (11.31): PHCO_40381…

【转】彻底搞清计算结构体大小和数据对齐原则

数据对齐: 许多计算机系统对基本数据类型合法地址做出了一些限制,要求某种类型对象的地址必须是某个值K(通常是2,4或8)的倍数。这种对齐限制简化了形成处理器和存储器系统之间的接口的硬件设计。例如,假设一个处理器总是从存储器中取出8个字节…

python里pip是什么意思_python使用pip的方法是什么

python使用pip的方法是什么 发布时间:2020-08-25 11:51:08 来源:亿速云 阅读:104 作者:小新 小编给大家分享一下python使用pip的方法是什么,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下&am…

Pytorch 学习率衰减 之 余弦退火与余弦warmup 自定义学习率衰减scheduler

学习率衰减,通常我们英文也叫做scheduler。本文学习率衰减自定义,通过2种方法实现自定义,一是利用lambda,另外一个是继承pytorch的lr_scheduler import math import matplotlib.pyplot as plt import numpy as np import torch i…

c++ 字符串赋给另一个_7.2 C++字符串处理函数

点击上方“C语言入门到精通”,选择置顶第一时间关注程序猿身边的故事作者闫小林白天搬砖,晚上做梦。我有故事,你有酒么?C字符串处理函数C语言和C提供了一些字符串函数,使得用户能很方便地对字符串进行处理。这些是放在…

如何检测远程主机上的某个端口是否开启

有时候我们要测试远程主机上的某个端口是否开启,无需使用太复杂的工作,windows下就自带了工具,那就是telnet。怎么检测呢,按下面的步骤: 1、安装telnet。我的win7下就没有telnet,在cmd下输入telnet提示没有…

Windows10 + WSL (Ubuntu) + Anaconda + vscode 手把手配置python运行环境(含虚拟环境)

配置WSL windows桌面下,按下面顺序可以找到 "启动或关闭windows功能” , 开始 -> 设置 -> 应用 -> 应用和功能 -> 可选功能 -> 相关设置下 更多Windows功能(滚动鼠标到底部)点击后,会弹出 启动或…

Inline函数使用注意事项

Inline函数使用注意事项 1.在一个文件中定义的inline函数不能再另一个文件中使用 2.inline函数应简洁,只有少数几个语句。 3.在inline函数中不能有循环,if,switch语句。 4.inline函数要在调用和声明前定义!!&#xff0…

2019编译ffepeg vs_如何在windows10下使用vs2017编译最新版本的FFmpeg和ffplay

该文章描述了如何在windows10 64位系统下面编译出FFmpeg的库及其自带的ffplay播放器,而且全部采用最新的版本,这样我们可以在vs2017的ide下调试ffplay,能使我们更容易学习FFmpeg的架构以及音视频播放器的原理。步骤:1.安装vs2017在…

训练集山准确率高测试集上准确率很低_推荐算法改版前的AB测试

编辑导语:所谓推荐算法就是利用用户的一些行为,通过一些数学算法,推测出用户可能喜欢的东西;如今很多软件都有这样的操作,对于此系统的设计也会进行测试;本文作者分享了关于推荐算法改版前的AB测试&#xf…

C#实现渐变颜色的Windows窗体控件

C#实现渐变颜色的Windows窗体控件! 1,定义一个BaseFormGradient,继承于System.Windows.Forms.Form2,定义三个变量: privateColor _Color1 Color.Gainsboro; privateColor _Color2 Color.White; privatefloat_ColorAngle 0f;3,重载OnPaintBackground方法 protecte…

ios7开发学习笔记-包括c oc 和ios介绍

请查看我的新浪资料分享 http://iask.sina.com.cn/u/2430843520 转载于:https://www.cnblogs.com/langtianya/p/3708298.html

Windows下 jupyter notebook 运行multiprocessing 报错的问题与解决方法

文章目录测试用的代码错误解决方法测试用的代码 下面每一个对应一个jupyter notebook的单元格 import time from multiprocessing import Process, Queuedef generator():c 0while True:time.sleep(1.0) # read somethingyield cc 1%%timeds generator() for i in range(3…

如何将javaweb项目部署到linux下

以下是对将javaweb项目部署到linux下的方法进行了详细的分析介绍一般都在windows下开发的现在部署到linux下将项目达成war包(用eclipse项目右键>Export>选择war file)将tomcat(用winSCP当然你也可以用secureCRT用securCRT需要建立sftp(即上传文件的目录)用put tomcat命令…

vc mysql_vc6.0连接mysql数据库

一、MySQL的安装Mysql的安装去官网下载就可以。。。最新的是5.7版本。。二、VC6.0的设置(1)打开VC6.中选0 工具栏Tools菜单下的Options选项,在Directories的标签页中右边的“Show directories for:”下拉列表中“Includefiles”,然后在中间列表框中添加你…

python class用法_python原类、类的创建过程与方法

【小宅按】今天为大家介绍一下python中与class 相关的知识……获取对象的类名python是一门面向对象的语言,对于一切接对象的python来说,咱们有必要深入的学习与了解一些知识首先大家都知道,要获取一个对象所对应的类,需要使用clas…

网易公开课

计算机科学及编程导论 http://v.163.com/special/opencourse/bianchengdaolun.html 抽象编程 http://v.163.com/special/opencourse/abstractions.html转载于:https://www.cnblogs.com/anyboo/archive/2012/08/24/2653537.html

深度学习中的一些常见的激活函数集合(含公式与导数的推导)sigmoid, relu, leaky relu, elu, numpy实现

文章目录Sigmoid(x)双曲正切线性整流函数 rectified linear unit (ReLu)PReLU(Parametric Rectified Linear Unit) Leaky ReLu指数线性单元 Exponential Linear Units (ELU)感知机激活%matplotlib inline %config InlineBackend.f…

最牛X的GCC 内联汇编

正如大家知道的,在C语言中插入汇编语言,其是Linux中使用的基本汇编程序语法。本文将讲解 GCC 提供的内联汇编特性的用途和用法。对于阅读这篇文章,这里只有两个前提要求,很明显,就是 x86 汇编语言和 C 语言的基本认识。…

mysql的告警日志_MySQL Aborted connection告警日志的分析

前言:有时候,连接MySQL的会话经常会异常退出,错误日志里会看到"Got an error reading communication packets"类型的告警。本篇文章我们一起来讨论下该错误可能的原因以及如何来规避。1.状态变量Aborted_clients和Aborted_connects…