Troubleshooting
Make sure to run Python 3.10 to prevent dependencies conflicts.
A
ModuleNotFoundError
indicates that dependencies have not been correctly installed.pip install -r requirements.txt
A
AttributeError
indicates that dependencies have not been correctly installed.pip install -r requirements.txt
In most cases it helps to reinstall the
opencv-python
dependencies.pip uninstall opencv-python opencv-python-headless
pip install opencv-python
In most cases it helps to reinstall all dependencies that provide a model like
insightface
and opennsfw2
.Make sure to have the latest
CuDNN
runtime installed as third party libraries might be compiled with a higher version.This might be caused by a missing instruction set of the CPU. You can either compile tensorflow from source or downgrade it.
pip install [email protected]
Make sure to remove special characters and unicode in
-s/--source-path
, -t/--target-path
and -o/--output-path
arguments.Memory exceptions during processing are usually cause when the GPU runs out of VRAM. Try to lower the
--execution-thread-count
to 1
and increase it slowly.Leaked semaphore during processing are usually cause when the GPU runs out of VRAM. Try to lower the
--execution-thread-count
to 1
and increase it slowly.Do not install
onnxruntime
and onnxruntime-xxx
at the same time.pip uninstall onnxruntime onnxruntime-xxx
pip install onnxruntime-xxx
Last modified 1mo ago