Python error for style2paint - chainslinger - Oct-23-2020
Hi, this is the error I'm getting.
Style2Paints Customed Tensorflow Shifting to GPU.
Error: Traceback (most recent call last):
File "site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 15, in swig_import_helper
File "importlib\__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tensorflow.python._pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
File "g:\s2p_env\env_s2p\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in <module>
File "site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper
File "importlib\__init__.py", line 126, in import_module
ImportError: DLL load failed: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Style2PaintsV45.py", line 595, in <module>
File "Style2PaintsV45.py", line 66, in main_exec
File "g:\s2p_env\env_s2p\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\tensorflow\__init__.py", line 24, in <module>
File "g:\s2p_env\env_s2p\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\tensorflow\python\__init__.py", line 49, in <module>
File "g:\s2p_env\env_s2p\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\tensorflow\python\pywrap_tensorflow.py", line 72, in <module>
ImportError: Traceback (most recent call last):
File "site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 15, in swig_import_helper
File "importlib\__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tensorflow.python._pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
File "g:\s2p_env\env_s2p\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in <module>
File "site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper
File "importlib\__init__.py", line 126, in import_module
ImportError: DLL load failed: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
I've tried searching the web for answers but it didn't work out very well for trying to install the tensorflow version 1.5 or checking what my version is.
Thanks for the help in advance!
RE: Python error for style2paint - vdfabdf - Feb-09-2021
What's your Operating system? 64 Bit?
What's your GPU card?
Please try to use the "CPU mode" instead. Select "0: I do not have Nvidia GPU(s) or I use AMD GPU(s)", when you launch "style2paints.exe". The colorization process will be slower, which may need about 5 minutes.
If still have problems, please go to:
https://github.com/lllyasviel/style2paints/issues
and submit a new issue.
|