从github上下的uvr5源码,https://github.com/Anjok07/ultimatevocalremovergui,直接py里运行没有任何问题,但是打包exe后,选择htdemucs模型处理时,就会报错如下。
ModuleNotFoundError: "No module named 'demucs.htdemucs'"
Traceback Error: "
File "UVR.py", line 6643, in process_start
File "separate.py", line 844, in seperate
File "demucs\pretrained.py", line 81, in get_model
File "demucs\repo.py", line 148, in get_model
File "demucs\repo.py", line 129, in get_model
File "demucs\repo.py", line 129, in
File "demucs\repo.py", line 100, in get_model
File "demucs\states.py", line 46, in load_model
File "torch\serialization.py", line 1360, in load
return _load(
File "torch\serialization.py", line 1848, in _load
result = unpickler.load()
File "pickle.py", line 1212, in load
File "pickle.py", line 1528, in load_global
File "torch\serialization.py", line 1837, in find_class
return super().find_class(mod_name, name)
File "pytorch_lightning_graveyard\legacy_import_unpickler.py", line 24, in find_class
File "pickle.py", line 1579, in find_class
我解包exe发现demucs模块已经打包进去了,不知道为什么报错误?