Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Requirement already satisfied: virtualenv in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (20.23.0)
- Requirement already satisfied: distlib<1,>=0.3.6 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from virtualenv) (0.3.6)
- Requirement already satisfied: filelock<4,>=3.11 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from virtualenv) (3.12.1)
- Requirement already satisfied: platformdirs<4,>=3.2 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from virtualenv) (3.5.3)
- [notice] A new release of pip available: 22.3.1 -> 23.1.2
- [notice] To update, run: python.exe -m pip install --upgrade pip
- ERROR: insightface-0.7.3-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.
- [notice] A new release of pip available: 22.3.1 -> 23.1.2
- [notice] To update, run: python.exe -m pip install --upgrade pip
- Collecting ffmpeg_python==0.2.0
- Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
- Collecting gradio==3.33.1
- Using cached gradio-3.33.1-py3-none-any.whl (20.0 MB)
- Collecting insightface==0.7.3
- Using cached insightface-0.7.3.tar.gz (439 kB)
- Installing build dependencies ... done
- Getting requirements to build wheel ... done
- Installing backend dependencies ... done
- Preparing metadata (pyproject.toml) ... done
- Collecting numpy==1.24.3
- Using cached numpy-1.24.3-cp311-cp311-win_amd64.whl (14.8 MB)
- Collecting onnx==1.14.0
- Using cached onnx-1.14.0-cp311-cp311-win_amd64.whl (13.3 MB)
- Collecting onnxruntime_gpu==1.15.0
- Using cached onnxruntime_gpu-1.15.0-cp311-cp311-win_amd64.whl (122.5 MB)
- Collecting opencv_python==4.7.0.72
- Using cached opencv_python-4.7.0.72-cp37-abi3-win_amd64.whl (38.2 MB)
- Collecting opencv_python_headless==4.7.0.72
- Using cached opencv_python_headless-4.7.0.72-cp37-abi3-win_amd64.whl (38.1 MB)
- Collecting scikit-image==0.20.0
- Using cached scikit_image-0.20.0-cp311-cp311-win_amd64.whl (23.7 MB)
- Collecting tqdm
- Using cached tqdm-4.65.0-py3-none-any.whl (77 kB)
- Collecting psutil
- Using cached psutil-5.9.5-cp36-abi3-win_amd64.whl (255 kB)
- Collecting future
- Using cached future-0.18.3.tar.gz (840 kB)
- Preparing metadata (setup.py) ... done
- Collecting aiofiles
- Using cached aiofiles-23.1.0-py3-none-any.whl (14 kB)
- Collecting aiohttp
- Using cached aiohttp-3.8.4-cp311-cp311-win_amd64.whl (317 kB)
- Collecting altair>=4.2.0
- Using cached altair-5.0.1-py3-none-any.whl (471 kB)
- Collecting fastapi
- Using cached fastapi-0.96.0-py3-none-any.whl (57 kB)
- Collecting ffmpy
- Using cached ffmpy-0.3.0.tar.gz (4.8 kB)
- Preparing metadata (setup.py) ... done
- Collecting gradio-client>=0.2.4
- Using cached gradio_client-0.2.6-py3-none-any.whl (288 kB)
- Collecting httpx
- Using cached httpx-0.24.1-py3-none-any.whl (75 kB)
- Collecting huggingface-hub>=0.14.0
- Using cached huggingface_hub-0.15.1-py3-none-any.whl (236 kB)
- Collecting jinja2
- Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
- Collecting markdown-it-py[linkify]>=2.0.0
- Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
- Collecting markupsafe
- Using cached MarkupSafe-2.1.3-cp311-cp311-win_amd64.whl (17 kB)
- Collecting matplotlib
- Using cached matplotlib-3.7.1-cp311-cp311-win_amd64.whl (7.6 MB)
- Collecting mdit-py-plugins<=0.3.3
- Using cached mdit_py_plugins-0.3.3-py3-none-any.whl (50 kB)
- Collecting orjson
- Using cached orjson-3.9.1-cp311-none-win_amd64.whl (191 kB)
- Collecting pandas
- Using cached pandas-2.0.2-cp311-cp311-win_amd64.whl (10.6 MB)
- Collecting pillow
- Using cached Pillow-9.5.0-cp311-cp311-win_amd64.whl (2.5 MB)
- Collecting pydantic
- Using cached pydantic-1.10.9-cp311-cp311-win_amd64.whl (2.1 MB)
- Collecting pydub
- Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
- Collecting pygments>=2.12.0
- Using cached Pygments-2.15.1-py3-none-any.whl (1.1 MB)
- Collecting python-multipart
- Using cached python_multipart-0.0.6-py3-none-any.whl (45 kB)
- Collecting pyyaml
- Using cached PyYAML-6.0-cp311-cp311-win_amd64.whl (143 kB)
- Collecting requests
- Using cached requests-2.31.0-py3-none-any.whl (62 kB)
- Collecting semantic-version
- Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
- Collecting typing-extensions
- Using cached typing_extensions-4.6.3-py3-none-any.whl (31 kB)
- Collecting uvicorn>=0.14.0
- Using cached uvicorn-0.22.0-py3-none-any.whl (58 kB)
- Collecting websockets>=10.0
- Using cached websockets-11.0.3-cp311-cp311-win_amd64.whl (124 kB)
- Collecting scipy
- Using cached scipy-1.10.1-cp311-cp311-win_amd64.whl (42.2 MB)
- Collecting scikit-learn
- Using cached scikit_learn-1.2.2-cp311-cp311-win_amd64.whl (8.3 MB)
- Collecting easydict
- Using cached easydict-1.10.tar.gz (6.4 kB)
- Preparing metadata (setup.py) ... done
- Collecting cython
- Using cached Cython-0.29.35-py2.py3-none-any.whl (988 kB)
- Collecting albumentations
- Using cached albumentations-1.3.1-py3-none-any.whl (125 kB)
- Collecting prettytable
- Using cached prettytable-3.7.0-py3-none-any.whl (27 kB)
- Collecting protobuf>=3.20.2
- Using cached protobuf-4.23.2-cp310-abi3-win_amd64.whl (422 kB)
- Collecting coloredlogs
- Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
- Collecting flatbuffers
- Using cached flatbuffers-23.5.26-py2.py3-none-any.whl (26 kB)
- Collecting packaging
- Using cached packaging-23.1-py3-none-any.whl (48 kB)
- Collecting sympy
- Using cached sympy-1.12-py3-none-any.whl (5.7 MB)
- Collecting networkx>=2.8
- Using cached networkx-3.1-py3-none-any.whl (2.1 MB)
- Collecting imageio>=2.4.1
- Using cached imageio-2.31.0-py3-none-any.whl (313 kB)
- Collecting tifffile>=2019.7.26
- Using cached tifffile-2023.4.12-py3-none-any.whl (219 kB)
- Collecting PyWavelets>=1.1.1
- Using cached PyWavelets-1.4.1-cp311-cp311-win_amd64.whl (4.2 MB)
- Collecting lazy_loader>=0.1
- Using cached lazy_loader-0.2-py3-none-any.whl (8.6 kB)
- Collecting colorama
- Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
- Collecting jsonschema>=3.0
- Using cached jsonschema-4.17.3-py3-none-any.whl (90 kB)
- Collecting toolz
- Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
- Collecting fsspec
- Using cached fsspec-2023.6.0-py3-none-any.whl (163 kB)
- Collecting filelock
- Using cached filelock-3.12.1-py3-none-any.whl (10 kB)
- Collecting mdurl~=0.1
- Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
- Collecting linkify-it-py<3,>=1
- Using cached linkify_it_py-2.0.2-py3-none-any.whl (19 kB)
- Collecting mdit-py-plugins<=0.3.3
- Using cached mdit_py_plugins-0.3.2-py3-none-any.whl (50 kB)
- Using cached mdit_py_plugins-0.3.1-py3-none-any.whl (46 kB)
- Using cached mdit_py_plugins-0.3.0-py3-none-any.whl (43 kB)
- Using cached mdit_py_plugins-0.2.8-py3-none-any.whl (41 kB)
- Using cached mdit_py_plugins-0.2.7-py3-none-any.whl (41 kB)
- Using cached mdit_py_plugins-0.2.6-py3-none-any.whl (39 kB)
- Using cached mdit_py_plugins-0.2.5-py3-none-any.whl (39 kB)
- Using cached mdit_py_plugins-0.2.4-py3-none-any.whl (39 kB)
- Using cached mdit_py_plugins-0.2.3-py3-none-any.whl (39 kB)
- Using cached mdit_py_plugins-0.2.2-py3-none-any.whl (39 kB)
- Using cached mdit_py_plugins-0.2.1-py3-none-any.whl (38 kB)
- Using cached mdit_py_plugins-0.2.0-py3-none-any.whl (38 kB)
- Using cached mdit_py_plugins-0.1.0-py3-none-any.whl (37 kB)
- INFO: pip is looking at multiple versions of markdown-it-py[linkify] to determine which version is compatible with other requirements. This could take a while.
- Collecting markdown-it-py[linkify]>=2.0.0
- Using cached markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
- Collecting python-dateutil>=2.8.2
- Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
- Collecting pytz>=2020.1
- Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB)
- Collecting tzdata>=2022.1
- Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
- Collecting click>=7.0
- Using cached click-8.1.3-py3-none-any.whl (96 kB)
- Collecting h11>=0.8
- Using cached h11-0.14.0-py3-none-any.whl (58 kB)
- Collecting attrs>=17.3.0
- Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
- Collecting charset-normalizer<4.0,>=2.0
- Using cached charset_normalizer-3.1.0-cp311-cp311-win_amd64.whl (96 kB)
- Collecting multidict<7.0,>=4.5
- Using cached multidict-6.0.4-cp311-cp311-win_amd64.whl (28 kB)
- Collecting async-timeout<5.0,>=4.0.0a3
- Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
- Collecting yarl<2.0,>=1.0
- Using cached yarl-1.9.2-cp311-cp311-win_amd64.whl (60 kB)
- Collecting frozenlist>=1.1.1
- Using cached frozenlist-1.3.3-cp311-cp311-win_amd64.whl (32 kB)
- Collecting aiosignal>=1.1.2
- Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
- Collecting qudida>=0.0.4
- Using cached qudida-0.0.4-py3-none-any.whl (3.5 kB)
- Collecting humanfriendly>=9.1
- Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
- Collecting starlette<0.28.0,>=0.27.0
- Using cached starlette-0.27.0-py3-none-any.whl (66 kB)
- Collecting certifi
- Using cached certifi-2023.5.7-py3-none-any.whl (156 kB)
- Collecting httpcore<0.18.0,>=0.15.0
- Using cached httpcore-0.17.2-py3-none-any.whl (72 kB)
- Collecting idna
- Using cached idna-3.4-py3-none-any.whl (61 kB)
- Collecting sniffio
- Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
- Collecting contourpy>=1.0.1
- Using cached contourpy-1.0.7-cp311-cp311-win_amd64.whl (162 kB)
- Collecting cycler>=0.10
- Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
- Collecting fonttools>=4.22.0
- Using cached fonttools-4.39.4-py3-none-any.whl (1.0 MB)
- Collecting kiwisolver>=1.0.1
- Using cached kiwisolver-1.4.4-cp311-cp311-win_amd64.whl (55 kB)
- Collecting pyparsing>=2.3.1
- Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
- Collecting wcwidth
- Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
- Collecting urllib3<3,>=1.21.1
- Using cached urllib3-2.0.3-py3-none-any.whl (123 kB)
- Collecting joblib>=1.1.1
- Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
- Collecting threadpoolctl>=2.0.0
- Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB)
- Collecting mpmath>=0.19
- Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
- Collecting anyio<5.0,>=3.0
- Using cached anyio-3.7.0-py3-none-any.whl (80 kB)
- Collecting pyreadline3
- Using cached pyreadline3-3.4.1-py3-none-any.whl (95 kB)
- Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
- Using cached pyrsistent-0.19.3-cp311-cp311-win_amd64.whl (62 kB)
- Collecting uc-micro-py
- Using cached uc_micro_py-1.0.2-py3-none-any.whl (6.2 kB)
- Collecting six>=1.5
- Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
- Building wheels for collected packages: insightface
- Building wheel for insightface (pyproject.toml) ... done
- Created wheel for insightface: filename=insightface-0.7.3-cp311-cp311-win_amd64.whl size=840551 sha256=f392bc2edd090f700dfed65ca3884d26f91748dca1ff82b488b20eaef9d319dc
- Stored in directory: c:\users\user\appdata\local\pip\cache\wheels\89\c5\5a\83f211bda2ad7e4d7813f9cca8e426fa2af2cafef2ee8bbf9c
- Successfully built insightface
- Installing collected packages: wcwidth, pytz, pyreadline3, pydub, mpmath, flatbuffers, ffmpy, easydict, websockets, urllib3, uc-micro-py, tzdata, typing-extensions, toolz, threadpoolctl, sympy, sniffio, six, semantic-version, pyyaml, python-multipart, pyrsistent, pyparsing, pygments, psutil, protobuf, prettytable, pillow, packaging, orjson, numpy, networkx, multidict, mdurl, markupsafe, lazy_loader, kiwisolver, joblib, idna, humanfriendly, h11, future, fsspec, frozenlist, fonttools, filelock, cython, cycler, colorama, charset-normalizer, certifi, attrs, async-timeout, aiofiles, yarl, tqdm, tifffile, scipy, requests, PyWavelets, python-dateutil, pydantic, opencv_python_headless, opencv_python, onnx, markdown-it-py, linkify-it-py, jsonschema, jinja2, imageio, ffmpeg_python, contourpy, coloredlogs, click, anyio, aiosignal, uvicorn, starlette, scikit-learn, scikit-image, pandas, onnxruntime_gpu, mdit-py-plugins, matplotlib, huggingface-hub, httpcore, aiohttp, qudida, httpx, fastapi, altair, gradio-client, albumentations, insightface, gradio
- DEPRECATION: ffmpy is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
- Running setup.py install for ffmpy ... done
- DEPRECATION: easydict is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
- Running setup.py install for easydict ... done
- DEPRECATION: future is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
- Running setup.py install for future ... done
- Successfully installed PyWavelets-1.4.1 aiofiles-23.1.0 aiohttp-3.8.4 aiosignal-1.3.1 albumentations-1.3.1 altair-5.0.1 anyio-3.7.0 async-timeout-4.0.2 attrs-23.1.0 certifi-2023.5.7 charset-normalizer-3.1.0 click-8.1.3 colorama-0.4.6 coloredlogs-15.0.1 contourpy-1.0.7 cycler-0.11.0 cython-0.29.35 easydict-1.10 fastapi-0.96.0 ffmpeg_python-0.2.0 ffmpy-0.3.0 filelock-3.12.1 flatbuffers-23.5.26 fonttools-4.39.4 frozenlist-1.3.3 fsspec-2023.6.0 future-0.18.3 gradio-3.33.1 gradio-client-0.2.6 h11-0.14.0 httpcore-0.17.2 httpx-0.24.1 huggingface-hub-0.15.1 humanfriendly-10.0 idna-3.4 imageio-2.31.0 insightface-0.7.3 jinja2-3.1.2 joblib-1.2.0 jsonschema-4.17.3 kiwisolver-1.4.4 lazy_loader-0.2 linkify-it-py-2.0.2 markdown-it-py-2.2.0 markupsafe-2.1.3 matplotlib-3.7.1 mdit-py-plugins-0.3.3 mdurl-0.1.2 mpmath-1.3.0 multidict-6.0.4 networkx-3.1 numpy-1.24.3 onnx-1.14.0 onnxruntime_gpu-1.15.0 opencv_python-4.7.0.72 opencv_python_headless-4.7.0.72 orjson-3.9.1 packaging-23.1 pandas-2.0.2 pillow-9.5.0 prettytable-3.7.0 protobuf-4.23.2 psutil-5.9.5 pydantic-1.10.9 pydub-0.25.1 pygments-2.15.1 pyparsing-3.0.9 pyreadline3-3.4.1 pyrsistent-0.19.3 python-dateutil-2.8.2 python-multipart-0.0.6 pytz-2023.3 pyyaml-6.0 qudida-0.0.4 requests-2.31.0 scikit-image-0.20.0 scikit-learn-1.2.2 scipy-1.10.1 semantic-version-2.10.0 six-1.16.0 sniffio-1.3.0 starlette-0.27.0 sympy-1.12 threadpoolctl-3.1.0 tifffile-2023.4.12 toolz-0.12.0 tqdm-4.65.0 typing-extensions-4.6.3 tzdata-2023.3 uc-micro-py-1.0.2 urllib3-2.0.3 uvicorn-0.22.0 wcwidth-0.2.6 websockets-11.0.3 yarl-1.9.2
- [notice] A new release of pip available: 22.3.1 -> 23.1.2
- [notice] To update, run: python.exe -m pip install --upgrade pip
- Video codec for FFMPEG: h264_nvenc
- CUDA mode with providers ['CUDAExecutionProvider', 'CPUExecutionProvider']
- download_path: C:\Users\user/.insightface\models\buffalo_l
- Downloading C:\Users\user/.insightface\models\buffalo_l.zip from https://github.com/deepinsight/insightface/releases/download/v0.7/buffalo_l.zip...
- 100%|███████████████████████████████████████████████████████████████████████| 281857/281857 [00:07<00:00, 36598.37KB/s]
- EP Error D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:636 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.
- when using ['CUDAExecutionProvider', 'CPUExecutionProvider']
- Falling back to ['CUDAExecutionProvider', 'CPUExecutionProvider'] and retrying.
- Traceback (most recent call last):
- File "E:\P\refacer\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 383, in __init__
- self._create_inference_session(providers, provider_options, disabled_optimizers)
- File "E:\P\refacer\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 435, in _create_inference_session
- sess.initialize_session(providers, provider_options, disabled_optimizers)
- RuntimeError: D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:636 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "E:\P\refacer\app.py", line 6, in <module>
- refacer = Refacer()
- ^^^^^^^^^
- File "E:\P\refacer\refacer.py", line 33, in __init__
- self.__init_apps()
- File "E:\P\refacer\refacer.py", line 77, in __init_apps
- sess_face = rt.InferenceSession(model_path, self.sess_options, providers=self.providers)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "E:\P\refacer\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 394, in __init__
- raise fallback_error from e
- File "E:\P\refacer\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 389, in __init__
- self._create_inference_session(self._fallback_providers, None)
- File "E:\P\refacer\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 435, in _create_inference_session
- sess.initialize_session(providers, provider_options, disabled_optimizers)
- RuntimeError: D:\a\_work\1\s\onnxruntime\python\onnxruntime_pybind_state.cc:636 onnxruntime::python::CreateExecutionProviderInstance CUDA_PATH is set but CUDA wasn't able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page (https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#requirements), make sure they're in the PATH, and that your GPU is supported.
- Для продолжения нажмите любую клавишу . . .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement