tencent-ailab / V-Express

V-Express aims to generate a talking head video under the control of a reference image, an audio, and a sequence of V-Kps images.
2.24k stars 280 forks source link

ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed. #55

Closed newgenai79 closed 3 weeks ago

newgenai79 commented 3 weeks ago
File "F:\V-Express\venv\lib\site-packages\onnx\__init__.py", line 77, in <module>
    from onnx.onnx_cpp2py_export import ONNX_ML
ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed.
(venv) C:\ai\V-Express>pip list
Package                Version
---------------------- ------------
accelerate             0.33.0
aiofiles               23.2.1
albucore               0.0.17
albumentations         1.4.17
annotated-types        0.7.0
antlr4-python3-runtime 4.9.3
anyio                  4.6.0
av                     11.0.0
certifi                2024.8.30
cffi                   1.17.1
charset-normalizer     3.3.2
click                  8.1.7
colorama               0.4.6
coloredlogs            15.0.1
contourpy              1.3.0
cycler                 0.12.1
Cython                 3.0.11
diffusers              0.24.0
dlib                   19.24.6
easydict               1.13
einops                 0.4.1
eval_type_backport     0.2.0
exceptiongroup         1.2.2
fastapi                0.115.0
ffmpy                  0.4.0
filelock               3.16.1
flatbuffers            24.3.25
fonttools              4.54.1
fsspec                 2024.9.0
gradio                 4.44.1
gradio_client          1.3.0
h11                    0.14.0
httpcore               1.0.5
httpx                  0.27.2
huggingface-hub        0.25.1
humanfriendly          10.0
idna                   3.10
imageio                2.35.1
imageio-ffmpeg         0.4.9
importlib_metadata     8.5.0
importlib_resources    6.4.5
insightface            0.7.3
Jinja2                 3.1.4
joblib                 1.4.2
kiwisolver             1.4.7
lazy_loader            0.4
markdown-it-py         3.0.0
MarkupSafe             2.1.5
matplotlib             3.9.2
mdurl                  0.1.2
mpmath                 1.3.0
networkx               3.3
numpy                  1.26.4
omegaconf              2.2.3
onnx                   1.16.2
onnxruntime-gpu        1.16.3
opencv-python-headless 4.10.0.84
orjson                 3.10.7
packaging              24.1
pandas                 2.2.3
pillow                 10.4.0
pip                    22.2.1
prettytable            3.11.0
protobuf               5.28.2
psutil                 6.0.0
pycparser              2.22
pydantic               2.9.2
pydantic_core          2.23.4
pydub                  0.25.1
Pygments               2.18.0
pyparsing              3.1.4
pyreadline3            3.5.4
python-dateutil        2.9.0.post0
python-multipart       0.0.12
pytz                   2024.2
PyYAML                 6.0.2
regex                  2024.9.11
requests               2.32.3
rich                   13.8.1
ruff                   0.6.8
safetensors            0.4.2
scikit-image           0.24.0
scikit-learn           1.5.2
scipy                  1.14.1
semantic-version       2.10.0
setuptools             63.2.0
shellingham            1.5.4
six                    1.16.0
sniffio                1.3.1
soundfile              0.12.1
starlette              0.38.6
sympy                  1.13.3
threadpoolctl          3.5.0
tifffile               2024.9.20
tokenizers             0.13.3
tomlkit                0.12.0
torch                  2.0.1+cu118
torchaudio             2.0.2+cu118
torchvision            0.15.2+cu118
tqdm                   4.66.1
transformers           4.30.2
typer                  0.12.5
typing_extensions      4.12.2
tzdata                 2024.2
urllib3                2.2.3
uvicorn                0.31.0
wcwidth                0.2.13
websockets             12.0
wheel                  0.44.0
xformers               0.0.21
zipp                   3.20.2
OleJ1964 commented 3 weeks ago

C:\Users\olej1>pip list Package Version


aiofiles 23.2.1 albucore 0.0.12 albumentations 1.4.10 altair 5.3.0 annotated-types 0.7.0 antlr4-python3-runtime 4.9.3 anyio 4.4.0 asttokens 2.4.1 attrs 23.2.0 av 11.0.0 blinker 1.8.2 certifi 2024.2.2 charset-normalizer 3.3.2 click 8.1.7 colorama 0.4.6 coloredlogs 15.0.1 comm 0.2.2 contourpy 1.2.1 cycler 0.12.1 Cython 3.0.10 dataclasses-json 0.6.6 decorator 5.1.1 Deprecated 1.2.14 diffusers 0.24.0 dnspython 2.6.1 docstring_parser 0.16 easydict 1.13 einops 0.4.1 email_validator 2.1.1 entrypoints 0.4 exceptiongroup 1.2.1 executing 2.0.1 fastapi 0.111.0 fastapi-cli 0.0.4 ffmpeg-python 0.2.0 ffmpy 0.3.2 filelock 3.14.0 Flask 3.0.3 flatbuffers 24.3.25 fonttools 4.52.1 fsspec 2024.5.0 ftfy 6.2.0 future 1.0.0 gradio 4.37.1 gradio_client 1.0.2 h11 0.14.0 httpcore 1.0.5 httptools 0.6.1 httpx 0.27.0 huggingface-hub 0.23.2 humanfriendly 10.0 idna 3.7 ifnude 0.0.3 imageio 2.34.2 imageio-ffmpeg 0.4.9 importlib_metadata 7.1.0 importlib_resources 6.4.0 insightface 0.7.3 intel-openmp 2021.4.0 ipycanvas 0.13.2 ipyevents 2.0.2 ipython 8.24.0 ipywidgets 8.1.2 itsdangerous 2.2.0 jedi 0.19.1 Jinja2 3.1.4 joblib 1.4.2 jsonschema 4.22.0 jsonschema-specifications 2023.12.1 jupyter_client 7.4.9 jupyter_core 5.7.2 jupyterlab_widgets 3.0.10 kaolin 0.14.0 kiui 0.2.9 kiwisolver 1.4.5 lazy_loader 0.4 llvmlite 0.42.0 lmdb 1.4.1 markdown-it-py 3.0.0 MarkupSafe 2.1.5 marshmallow 3.21.2 matplotlib 3.9.0 matplotlib-inline 0.1.7 mdurl 0.1.2 mkl 2021.4.0 mpmath 1.3.0 msvc-runtime 14.34.31931 mypy-extensions 1.0.0 nest-asyncio 1.6.0 networkx 3.3 ninja 1.11.1.1 numba 0.59.1 numpy 1.26.4 nvdiffrast 0.3.1 objprint 0.2.3 omegaconf 2.2.3 onnx 1.16.1 onnxruntime 1.16.3 onnxruntime-gpu 1.18.0 open-clip-torch 2.7.0 opencv-contrib-python 4.10.0.84 opencv-contrib-python-headless 4.9.0.80 opencv-python 4.10.0.84 opencv-python-headless 4.9.0.80 orjson 3.10.3 packaging 24.0 pandas 2.2.2 parso 0.8.4 Pillow 10.1.0 pip 24.2 platformdirs 4.2.2 pooch 1.8.1 prettytable 3.10.0 prompt-toolkit 3.0.43 protobuf 5.27.0 pure-eval 0.2.2 pybind11 2.12.0 pydantic 2.7.1 pydantic_core 2.18.2 pydub 0.25.1 pygame 2.5.2 pygltflib 1.16.2 Pygments 2.18.0 pykalman 0.9.7 PyMatting 1.1.12 pymeshlab 2023.12.post1 pyparsing 3.1.2 pyreadline3 3.4.1 python-dateutil 2.9.0.post0 python-dotenv 1.0.1 python-multipart 0.0.9 pytz 2024.1 pywin32 306 PyYAML 6.0.1 pyzmq 24.0.1 referencing 0.35.1 regex 2024.5.15 rembg 2.0.57 requests 2.32.2 rich 13.7.1 rpds-py 0.18.1 ruff 0.4.5 safetensors 0.4.2 scikit-image 0.24.0 scikit-learn 1.5.0 scipy 1.13.1 semantic-version 2.10.0 setuptools 65.5.0 shellingham 1.5.4 shtab 1.7.1 six 1.16.0 sniffio 1.3.1 stack-data 0.6.3 starlette 0.37.2 sympy 1.12 tbb 2021.11.0 threadpoolctl 3.5.0 tifffile 2024.5.22 tokenizers 0.19.1 tomli 2.0.1 tomlkit 0.12.0 toolz 0.12.1 torch 2.0.1 torch-scatter 2.1.1+pt113cu117 torchaudio 2.0.2 torchvision 0.15.2 tornado 6.4 tqdm 4.66.4 traitlets 5.14.3 transformers 4.41.1 trimesh 4.4.0 typer 0.12.3 typing_extensions 4.12.0 typing-inspect 0.9.0 tyro 0.8.5 tzdata 2024.1 ujson 5.10.0 urllib3 2.2.1 usd-core 23.5 uvicorn 0.29.0 varname 0.13.1 watchfiles 0.22.0 wcwidth 0.2.13 websockets 11.0.3 Werkzeug 3.0.3 widgetsnbextension 4.0.10 wrapt 1.16.0 xatlas 0.0.9 xformers 0.0.22 zipp 3.19.0


CMAKE

C:\Users\olej1>cmake --version cmake version 3.30.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).


nvcc --version

C:\Users\olej1>nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2024 NVIDIA Corporation Built on Thu_Mar_28_02:30:10_Pacific_Daylight_Time_2024 Cuda compilation tools, release 12.4, V12.4.131 Build cuda_12.4.r12.4/compiler.34097967_0


PYTHON

C:\Users\olej1>python --version Python 3.10.10


Commandline Install Dump

Microsoft Windows [Version 10.0.19045.4957] (c) Microsoft Corporation. All rights reserved.

F:>git lfs install Git LFS initialized.

F:>git clone https://huggingface.co/spaces/newgenai79/V-Express Cloning into 'V-Express'... remote: Enumerating objects: 100, done. remote: Counting objects: 100% (3/3), done. remote: Compressing objects: 100% (3/3), done. remote: Total 100 (delta 0), reused 3 (delta 0), pack-reused 97 (from 1) Receiving objects: 100% (100/100), 1.76 MiB | 5.02 MiB/s, done. Resolving deltas: 100% (19/19), done. Filtering content: 100% (14/14), 6.02 GiB | 47.92 MiB/s, done. fatal: active post-checkout hook found during git clone: F:/V-Express/.git/hooks/post-checkout For security reasons, this is disallowed by default. If this is intentional and the hook should actually be run, please run the command again with GIT_CLONE_PROTECTION_ACTIVE=false warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/'

F:>cd V-Express

F:\V-Express>dir Volume in drive F is Diverse Volume Serial Number is 4E69-2A80

Directory of F:\V-Express

01/10/2024 13.58

. 01/10/2024 13.58 .. 01/10/2024 13.58 1.554 .gitattributes 01/10/2024 13.58 54 .gitignore 01/10/2024 13.58 5.170 app.py 01/10/2024 13.58 12.491 inference.py 01/10/2024 13.58 869 inference_v2.yaml 01/10/2024 13.58 841.704 insightface-0.7.3-cp310-cp310-win_amd64.whl 01/10/2024 13.58 model_ckpts 01/10/2024 13.58 modules 01/10/2024 13.58 output 01/10/2024 13.58 pipelines 01/10/2024 13.58 263 README.md 01/10/2024 13.58 333 requirements.txt 01/10/2024 13.58 833 sequence_utils.py 01/10/2024 13.58 test_samples 9 File(s) 863.271 bytes 7 Dir(s) 250.766.368.768 bytes free

F:\V-Express>python -m venv venv

F:\V-Express>.\venv\Scripts\activate

(venv) F:\V-Express>pip install torch==2.0.1+cu118 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118 Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118 Collecting torch==2.0.1+cu118 Using cached https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-win_amd64.whl (2619.1 MB) Collecting torchvision Using cached https://download.pytorch.org/whl/cu118/torchvision-0.19.1%2Bcu118-cp310-cp310-win_amd64.whl (5.0 MB) Collecting torchaudio Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.4.1%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB) Collecting sympy Using cached sympy-1.13.3-py3-none-any.whl (6.2 MB) Collecting networkx Using cached networkx-3.3-py3-none-any.whl (1.7 MB) Collecting typing-extensions Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB) Collecting filelock Using cached filelock-3.16.1-py3-none-any.whl (16 kB) Collecting jinja2 Using cached jinja2-3.1.4-py3-none-any.whl (133 kB) Collecting torchvision Using cached torchvision-0.19.1-cp310-cp310-win_amd64.whl (1.3 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.19.0%2Bcu118-cp310-cp310-win_amd64.whl (5.0 MB) Collecting pillow!=8.3.*,>=5.3.0 Using cached pillow-10.4.0-cp310-cp310-win_amd64.whl (2.6 MB) Collecting torchvision Using cached torchvision-0.19.0-1-cp310-cp310-win_amd64.whl (1.3 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.18.1%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Using cached torchvision-0.18.1-cp310-cp310-win_amd64.whl (1.2 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.18.0%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Collecting numpy Using cached numpy-2.1.1-cp310-cp310-win_amd64.whl (12.9 MB) Collecting torchvision Using cached torchvision-0.18.0-cp310-cp310-win_amd64.whl (1.2 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.17.2%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Using cached torchvision-0.17.2-cp310-cp310-win_amd64.whl (1.2 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.17.1%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Using cached torchvision-0.17.1-cp310-cp310-win_amd64.whl (1.2 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.17.0%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Using cached torchvision-0.17.0-cp310-cp310-win_amd64.whl (1.2 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.16.2%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Using cached torchvision-0.16.2-cp310-cp310-win_amd64.whl (1.1 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.16.1%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Using cached torchvision-0.16.1-cp310-cp310-win_amd64.whl (1.1 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.16.0%2Bcu118-cp310-cp310-win_amd64.whl (5.0 MB) Using cached torchvision-0.16.0-cp310-cp310-win_amd64.whl (1.3 MB) Using cached https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Collecting requests Using cached requests-2.32.3-py3-none-any.whl (64 kB) Collecting torchaudio Using cached torchaudio-2.4.1-cp310-cp310-win_amd64.whl (2.4 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.4.0%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB) Using cached torchaudio-2.4.0-cp310-cp310-win_amd64.whl (2.4 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.3.1%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB) Using cached torchaudio-2.3.1-cp310-cp310-win_amd64.whl (2.4 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.3.0%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB) Using cached torchaudio-2.3.0-cp310-cp310-win_amd64.whl (2.4 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.2.2%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB) Using cached torchaudio-2.2.2-cp310-cp310-win_amd64.whl (2.4 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.2.1%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB) Using cached torchaudio-2.2.1-cp310-cp310-win_amd64.whl (2.4 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.2.0%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB) Using cached torchaudio-2.2.0-cp310-cp310-win_amd64.whl (2.4 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.1.2%2Bcu118-cp310-cp310-win_amd64.whl (3.9 MB) Using cached torchaudio-2.1.2-cp310-cp310-win_amd64.whl (2.3 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.1.1%2Bcu118-cp310-cp310-win_amd64.whl (3.9 MB) Using cached torchaudio-2.1.1-cp310-cp310-win_amd64.whl (2.3 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.1.0%2Bcu118-cp310-cp310-win_amd64.whl (3.9 MB) Using cached torchaudio-2.1.0-cp310-cp310-win_amd64.whl (2.3 MB) Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.0.2%2Bcu118-cp310-cp310-win_amd64.whl (2.5 MB) Collecting MarkupSafe>=2.0 Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp310-cp310-win_amd64.whl (17 kB) Collecting urllib3<3,>=1.21.1 Using cached urllib3-2.2.3-py3-none-any.whl (126 kB) Collecting idna<4,>=2.5 Using cached idna-3.10-py3-none-any.whl (70 kB) Collecting charset-normalizer<4,>=2 Using cached charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl (100 kB) Collecting certifi>=2017.4.17 Using cached certifi-2024.8.30-py3-none-any.whl (167 kB) Collecting mpmath<1.4,>=1.1.0 Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB) Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchaudio Successfully installed MarkupSafe-2.1.5 certifi-2024.8.30 charset-normalizer-3.3.2 filelock-3.16.1 idna-3.10 jinja2-3.1.4 mpmath-1.3.0 networkx-3.3 numpy-2.1.1 pillow-10.4.0 requests-2.32.3 sympy-1.13.3 torch-2.0.1+cu118 torchaudio-2.0.2+cu118 torchvision-0.15.2+cu118 typing-extensions-4.12.2 urllib3-2.2.3

[notice] A new release of pip available: 22.3.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip

(venv) F:\V-Express>pip install xformers==0.0.21 Collecting xformers==0.0.21 Using cached xformers-0.0.21-cp310-cp310-win_amd64.whl (97.5 MB) Requirement already satisfied: numpy in f:\v-express\venv\lib\site-packages (from xformers==0.0.21) (2.1.1) Requirement already satisfied: torch==2.0.1 in f:\v-express\venv\lib\site-packages (from xformers==0.0.21) (2.0.1+cu118) Requirement already satisfied: networkx in f:\v-express\venv\lib\site-packages (from torch==2.0.1->xformers==0.0.21) (3.3) Requirement already satisfied: typing-extensions in f:\v-express\venv\lib\site-packages (from torch==2.0.1->xformers==0.0.21) (4.12.2) Requirement already satisfied: filelock in f:\v-express\venv\lib\site-packages (from torch==2.0.1->xformers==0.0.21) (3.16.1) Requirement already satisfied: jinja2 in f:\v-express\venv\lib\site-packages (from torch==2.0.1->xformers==0.0.21) (3.1.4) Requirement already satisfied: sympy in f:\v-express\venv\lib\site-packages (from torch==2.0.1->xformers==0.0.21) (1.13.3) Requirement already satisfied: MarkupSafe>=2.0 in f:\v-express\venv\lib\site-packages (from jinja2->torch==2.0.1->xformers==0.0.21) (2.1.5) Requirement already satisfied: mpmath<1.4,>=1.1.0 in f:\v-express\venv\lib\site-packages (from sympy->torch==2.0.1->xformers==0.0.21) (1.3.0) Installing collected packages: xformers Successfully installed xformers-0.0.21

[notice] A new release of pip available: 22.3.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip

(venv) F:\V-Express>pip install diffusers==0.24.0 imageio-ffmpeg==0.4.9 omegaconf==2.2.3 onnxruntime-gpu==1.16.3 safetensors==0.4.2 transformers==4.30.2 einops==0.4.1 tqdm==4.66.1 av==11.0.0 accelerate gradio dlib soundfile Collecting diffusers==0.24.0 Using cached diffusers-0.24.0-py3-none-any.whl (1.8 MB) Collecting imageio-ffmpeg==0.4.9 Using cached imageio_ffmpeg-0.4.9-py3-none-win_amd64.whl (22.6 MB) Collecting omegaconf==2.2.3 Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB) Collecting onnxruntime-gpu==1.16.3 Using cached onnxruntime_gpu-1.16.3-cp310-cp310-win_amd64.whl (141.5 MB) Collecting safetensors==0.4.2 Using cached safetensors-0.4.2-cp310-none-win_amd64.whl (269 kB) Collecting transformers==4.30.2 Using cached transformers-4.30.2-py3-none-any.whl (7.2 MB) Collecting einops==0.4.1 Using cached einops-0.4.1-py3-none-any.whl (28 kB) Collecting tqdm==4.66.1 Using cached tqdm-4.66.1-py3-none-any.whl (78 kB) Collecting av==11.0.0 Using cached av-11.0.0-cp310-cp310-win_amd64.whl (25.9 MB) Collecting accelerate Using cached accelerate-0.34.2-py3-none-any.whl (324 kB) Collecting gradio Using cached gradio-4.44.1-py3-none-any.whl (18.1 MB) Collecting dlib Using cached dlib-19.24.6.tar.gz (3.4 MB) Preparing metadata (setup.py) ... done Collecting soundfile Using cached soundfile-0.12.1-py2.py3-none-win_amd64.whl (1.0 MB) Requirement already satisfied: filelock in f:\v-express\venv\lib\site-packages (from diffusers==0.24.0) (3.16.1) Requirement already satisfied: numpy in f:\v-express\venv\lib\site-packages (from diffusers==0.24.0) (2.1.1) Requirement already satisfied: requests in f:\v-express\venv\lib\site-packages (from diffusers==0.24.0) (2.32.3) Collecting regex!=2019.12.17 Using cached regex-2024.9.11-cp310-cp310-win_amd64.whl (274 kB) Requirement already satisfied: Pillow in f:\v-express\venv\lib\site-packages (from diffusers==0.24.0) (10.4.0) Collecting importlib-metadata Using cached importlib_metadata-8.5.0-py3-none-any.whl (26 kB) Collecting huggingface-hub>=0.19.4 Using cached huggingface_hub-0.25.1-py3-none-any.whl (436 kB) Requirement already satisfied: setuptools in f:\v-express\venv\lib\site-packages (from imageio-ffmpeg==0.4.9) (65.5.0) Collecting PyYAML>=5.1.0 Using cached PyYAML-6.0.2-cp310-cp310-win_amd64.whl (161 kB) Collecting antlr4-python3-runtime==4.9. Using cached antlr4-python3-runtime-4.9.3.tar.gz (117 kB) Preparing metadata (setup.py) ... done Collecting coloredlogs Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Collecting protobuf Using cached protobuf-5.28.2-cp310-abi3-win_amd64.whl (431 kB) Collecting packaging Using cached packaging-24.1-py3-none-any.whl (53 kB) Collecting flatbuffers Using cached flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Requirement already satisfied: sympy in f:\v-express\venv\lib\site-packages (from onnxruntime-gpu==1.16.3) (1.13.3) Collecting tokenizers!=0.11.3,<0.14,>=0.11.1 Using cached tokenizers-0.13.3-cp310-cp310-win_amd64.whl (3.5 MB) Collecting colorama Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting accelerate Using cached accelerate-0.34.1-py3-none-any.whl (324 kB) Using cached accelerate-0.34.0-py3-none-any.whl (324 kB) Using cached accelerate-0.33.0-py3-none-any.whl (315 kB) Requirement already satisfied: torch>=1.10.0 in f:\v-express\venv\lib\site-packages (from accelerate) (2.0.1+cu118) Collecting numpy Using cached numpy-1.26.4-cp310-cp310-win_amd64.whl (15.8 MB) Collecting psutil Using cached psutil-6.0.0-cp37-abi3-win_amd64.whl (257 kB) Collecting aiofiles<24.0,>=22.0 Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB) Collecting fastapi<1.0 Using cached fastapi-0.115.0-py3-none-any.whl (94 kB) Collecting importlib-resources<7.0,>=1.3 Using cached importlib_resources-6.4.5-py3-none-any.whl (36 kB) Collecting uvicorn>=0.14.0 Using cached uvicorn-0.31.0-py3-none-any.whl (63 kB) Collecting httpx>=0.24.1 Using cached httpx-0.27.2-py3-none-any.whl (76 kB) Collecting ffmpy Using cached ffmpy-0.4.0-py3-none-any.whl (5.8 kB) Collecting python-multipart>=0.0.9 Using cached python_multipart-0.0.12-py3-none-any.whl (23 kB) Collecting gradio-client==1.3.0 Using cached gradio_client-1.3.0-py3-none-any.whl (318 kB) Requirement already satisfied: jinja2<4.0 in f:\v-express\venv\lib\site-packages (from gradio) (3.1.4) Collecting tomlkit==0.12.0 Using cached tomlkit-0.12.0-py3-none-any.whl (37 kB) Requirement already satisfied: markupsafe~=2.0 in f:\v-express\venv\lib\site-packages (from gradio) (2.1.5) Collecting typer<1.0,>=0.12 Using cached typer-0.12.5-py3-none-any.whl (47 kB) Collecting anyio<5.0,>=3.0 Using cached anyio-4.6.0-py3-none-any.whl (89 kB) Collecting pydub Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB) Collecting pydantic>=2.0 Using cached pydantic-2.9.2-py3-none-any.whl (434 kB) Collecting matplotlib~=3.0 Using cached matplotlib-3.9.2-cp310-cp310-win_amd64.whl (7.8 MB) Collecting pandas<3.0,>=1.0 Using cached pandas-2.2.3-cp310-cp310-win_amd64.whl (11.6 MB) Collecting ruff>=0.2.2 Using cached ruff-0.6.8-py3-none-win_amd64.whl (9.4 MB) Collecting orjson~=3.0 Using cached orjson-3.10.7-cp310-none-win_amd64.whl (137 kB) Collecting semantic-version~=2.0 Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Requirement already satisfied: typing-extensions~=4.0 in f:\v-express\venv\lib\site-packages (from gradio) (4.12.2) Requirement already satisfied: urllib3~=2.0 in f:\v-express\venv\lib\site-packages (from gradio) (2.2.3) Collecting fsspec Using cached fsspec-2024.9.0-py3-none-any.whl (179 kB) Collecting websockets<13.0,>=10.0 Using cached websockets-12.0-cp310-cp310-win_amd64.whl (124 kB) Collecting cffi>=1.0 Using cached cffi-1.17.1-cp310-cp310-win_amd64.whl (181 kB) Requirement already satisfied: idna>=2.8 in f:\v-express\venv\lib\site-packages (from anyio<5.0,>=3.0->gradio) (3.10) Collecting exceptiongroup>=1.0.2 Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB) Collecting sniffio>=1.1 Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting pycparser Using cached pycparser-2.22-py3-none-any.whl (117 kB) Collecting starlette<0.39.0,>=0.37.2 Using cached starlette-0.38.6-py3-none-any.whl (71 kB) Collecting httpcore==1. Using cached httpcore-1.0.5-py3-none-any.whl (77 kB) Requirement already satisfied: certifi in f:\v-express\venv\lib\site-packages (from httpx>=0.24.1->gradio) (2024.8.30) Collecting h11<0.15,>=0.13 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Collecting cycler>=0.10 Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB) Collecting kiwisolver>=1.3.1 Using cached kiwisolver-1.4.7-cp310-cp310-win_amd64.whl (55 kB) Collecting pyparsing>=2.3.1 Using cached pyparsing-3.1.4-py3-none-any.whl (104 kB) Collecting python-dateutil>=2.7 Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Collecting fonttools>=4.22.0 Using cached fonttools-4.54.1-cp310-cp310-win_amd64.whl (2.2 MB) Collecting contourpy>=1.0.1 Using cached contourpy-1.3.0-cp310-cp310-win_amd64.whl (216 kB) Collecting pytz>=2020.1 Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB) Collecting tzdata>=2022.7 Using cached tzdata-2024.2-py2.py3-none-any.whl (346 kB) Collecting pydantic-core==2.23.4 Using cached pydantic_core-2.23.4-cp310-none-win_amd64.whl (1.9 MB) Collecting annotated-types>=0.6.0 Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB) Requirement already satisfied: networkx in f:\v-express\venv\lib\site-packages (from torch>=1.10.0->accelerate) (3.3) Collecting shellingham>=1.3.0 Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB) Collecting rich>=10.11.0 Using cached rich-13.8.1-py3-none-any.whl (241 kB) Collecting click>=8.0.0 Using cached click-8.1.7-py3-none-any.whl (97 kB) Collecting humanfriendly>=9.1 Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB) Collecting zipp>=3.20 Using cached zipp-3.20.2-py3-none-any.whl (9.2 kB) Requirement already satisfied: charset-normalizer<4,>=2 in f:\v-express\venv\lib\site-packages (from requests->diffusers==0.24.0) (3.3.2) Requirement already satisfied: mpmath<1.4,>=1.1.0 in f:\v-express\venv\lib\site-packages (from sympy->onnxruntime-gpu==1.16.3) (1.3.0) Collecting pyreadline3 Using cached pyreadline3-3.5.4-py3-none-any.whl (83 kB) Collecting six>=1.5 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting markdown-it-py>=2.2.0 Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB) Collecting pygments<3.0.0,>=2.13.0 Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB) Collecting mdurl~=0.1 Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB) Installing collected packages: tokenizers, pytz, pydub, flatbuffers, einops, dlib, antlr4-python3-runtime, zipp, websockets, tzdata, tomlkit, sniffio, six, shellingham, semantic-version, safetensors, ruff, regex, PyYAML, python-multipart, pyreadline3, pyparsing, pygments, pydantic-core, pycparser, psutil, protobuf, packaging, orjson, numpy, mdurl, kiwisolver, importlib-resources, imageio-ffmpeg, h11, fsspec, fonttools, ffmpy, exceptiongroup, cycler, colorama, av, annotated-types, aiofiles, tqdm, python-dateutil, pydantic, omegaconf, markdown-it-py, importlib-metadata, humanfriendly, httpcore, contourpy, click, cffi, anyio, uvicorn, starlette, soundfile, rich, pandas, matplotlib, huggingface-hub, httpx, coloredlogs, typer, transformers, onnxruntime-gpu, gradio-client, fastapi, diffusers, accelerate, gradio DEPRECATION: dlib 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 dlib ... done DEPRECATION: antlr4-python3-runtime 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 antlr4-python3-runtime ... done Attempting uninstall: numpy Found existing installation: numpy 2.1.1 Uninstalling numpy-2.1.1: Successfully uninstalled numpy-2.1.1 Successfully installed PyYAML-6.0.2 accelerate-0.33.0 aiofiles-23.2.1 annotated-types-0.7.0 antlr4-python3-runtime-4.9.3 anyio-4.6.0 av-11.0.0 cffi-1.17.1 click-8.1.7 colorama-0.4.6 coloredlogs-15.0.1 contourpy-1.3.0 cycler-0.12.1 diffusers-0.24.0 dlib-19.24.6 einops-0.4.1 exceptiongroup-1.2.2 fastapi-0.115.0 ffmpy-0.4.0 flatbuffers-24.3.25 fonttools-4.54.1 fsspec-2024.9.0 gradio-4.44.1 gradio-client-1.3.0 h11-0.14.0 httpcore-1.0.5 httpx-0.27.2 huggingface-hub-0.25.1 humanfriendly-10.0 imageio-ffmpeg-0.4.9 importlib-metadata-8.5.0 importlib-resources-6.4.5 kiwisolver-1.4.7 markdown-it-py-3.0.0 matplotlib-3.9.2 mdurl-0.1.2 numpy-1.26.4 omegaconf-2.2.3 onnxruntime-gpu-1.16.3 orjson-3.10.7 packaging-24.1 pandas-2.2.3 protobuf-5.28.2 psutil-6.0.0 pycparser-2.22 pydantic-2.9.2 pydantic-core-2.23.4 pydub-0.25.1 pygments-2.18.0 pyparsing-3.1.4 pyreadline3-3.5.4 python-dateutil-2.9.0.post0 python-multipart-0.0.12 pytz-2024.2 regex-2024.9.11 rich-13.8.1 ruff-0.6.8 safetensors-0.4.2 semantic-version-2.10.0 shellingham-1.5.4 six-1.16.0 sniffio-1.3.1 soundfile-0.12.1 starlette-0.38.6 tokenizers-0.13.3 tomlkit-0.12.0 tqdm-4.66.1 transformers-4.30.2 typer-0.12.5 tzdata-2024.2 uvicorn-0.31.0 websockets-12.0 zipp-3.20.2

[notice] A new release of pip available: 22.3.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip

(venv) F:\V-Express>pip install insightface-0.7.3-cp310-cp310-win_amd64.whl Processing f:\v-express\insightface-0.7.3-cp310-cp310-win_amd64.whl Requirement already satisfied: Pillow in f:\v-express\venv\lib\site-packages (from insightface==0.7.3) (10.4.0) Requirement already satisfied: tqdm in f:\v-express\venv\lib\site-packages (from insightface==0.7.3) (4.66.1) Collecting easydict Using cached easydict-1.13-py3-none-any.whl (6.8 kB) Requirement already satisfied: numpy in f:\v-express\venv\lib\site-packages (from insightface==0.7.3) (1.26.4) Collecting cython Using cached Cython-3.0.11-cp310-cp310-win_amd64.whl (2.8 MB) Collecting scipy Using cached scipy-1.14.1-cp310-cp310-win_amd64.whl (44.8 MB) Collecting albumentations Downloading albumentations-1.4.17-py3-none-any.whl (216 kB) ---------------------------------------- 216.5/216.5 kB 12.9 MB/s eta 0:00:00 Collecting prettytable Using cached prettytable-3.11.0-py3-none-any.whl (28 kB) Collecting onnx Using cached onnx-1.16.2-cp310-cp310-win_amd64.whl (14.4 MB) Requirement already satisfied: matplotlib in f:\v-express\venv\lib\site-packages (from insightface==0.7.3) (3.9.2) Collecting scikit-image Using cached scikit_image-0.24.0-cp310-cp310-win_amd64.whl (12.9 MB) Requirement already satisfied: requests in f:\v-express\venv\lib\site-packages (from insightface==0.7.3) (2.32.3) Collecting scikit-learn Using cached scikit_learn-1.5.2-cp310-cp310-win_amd64.whl (11.0 MB) Collecting opencv-python-headless>=4.9.0.80 Using cached opencv_python_headless-4.10.0.84-cp37-abi3-win_amd64.whl (38.8 MB) Collecting albucore==0.0.17 Using cached albucore-0.0.17-py3-none-any.whl (10 kB) Requirement already satisfied: PyYAML in f:\v-express\venv\lib\site-packages (from albumentations->insightface==0.7.3) (6.0.2) Collecting eval-type-backport Using cached eval_type_backport-0.2.0-py3-none-any.whl (5.9 kB) Requirement already satisfied: pydantic>=2.7.0 in f:\v-express\venv\lib\site-packages (from albumentations->insightface==0.7.3) (2.9.2) Requirement already satisfied: networkx>=2.8 in f:\v-express\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (3.3) Collecting tifffile>=2022.8.12 Using cached tifffile-2024.9.20-py3-none-any.whl (228 kB) Collecting imageio>=2.33 Using cached imageio-2.35.1-py3-none-any.whl (315 kB) Collecting lazy-loader>=0.4 Using cached lazy_loader-0.4-py3-none-any.whl (12 kB) Requirement already satisfied: packaging>=21 in f:\v-express\venv\lib\site-packages (from scikit-image->insightface==0.7.3) (24.1) Requirement already satisfied: pyparsing>=2.3.1 in f:\v-express\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (3.1.4) Requirement already satisfied: python-dateutil>=2.7 in f:\v-express\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (2.9.0.post0) Requirement already satisfied: kiwisolver>=1.3.1 in f:\v-express\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (1.4.7) Requirement already satisfied: contourpy>=1.0.1 in f:\v-express\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (1.3.0) Requirement already satisfied: cycler>=0.10 in f:\v-express\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in f:\v-express\venv\lib\site-packages (from matplotlib->insightface==0.7.3) (4.54.1) Requirement already satisfied: protobuf>=3.20.2 in f:\v-express\venv\lib\site-packages (from onnx->insightface==0.7.3) (5.28.2) Collecting wcwidth Using cached wcwidth-0.2.13-py2.py3-none-any.whl (34 kB) Requirement already satisfied: idna<4,>=2.5 in f:\v-express\venv\lib\site-packages (from requests->insightface==0.7.3) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in f:\v-express\venv\lib\site-packages (from requests->insightface==0.7.3) (2.2.3) Requirement already satisfied: certifi>=2017.4.17 in f:\v-express\venv\lib\site-packages (from requests->insightface==0.7.3) (2024.8.30) Requirement already satisfied: charset-normalizer<4,>=2 in f:\v-express\venv\lib\site-packages (from requests->insightface==0.7.3) (3.3.2) Collecting joblib>=1.2.0 Using cached joblib-1.4.2-py3-none-any.whl (301 kB) Collecting threadpoolctl>=3.1.0 Using cached threadpoolctl-3.5.0-py3-none-any.whl (18 kB) Requirement already satisfied: colorama in f:\v-express\venv\lib\site-packages (from tqdm->insightface==0.7.3) (0.4.6) Requirement already satisfied: pydantic-core==2.23.4 in f:\v-express\venv\lib\site-packages (from pydantic>=2.7.0->albumentations->insightface==0.7.3) (2.23.4) Requirement already satisfied: typing-extensions>=4.6.1 in f:\v-express\venv\lib\site-packages (from pydantic>=2.7.0->albumentations->insightface==0.7.3) (4.12.2) Requirement already satisfied: annotated-types>=0.6.0 in f:\v-express\venv\lib\site-packages (from pydantic>=2.7.0->albumentations->insightface==0.7.3) (0.7.0) Requirement already satisfied: six>=1.5 in f:\v-express\venv\lib\site-packages (from python-dateutil>=2.7->matplotlib->insightface==0.7.3) (1.16.0) Installing collected packages: wcwidth, easydict, tifffile, threadpoolctl, scipy, prettytable, opencv-python-headless, onnx, lazy-loader, joblib, imageio, eval-type-backport, cython, scikit-learn, scikit-image, albucore, albumentations, insightface Successfully installed albucore-0.0.17 albumentations-1.4.17 cython-3.0.11 easydict-1.13 eval-type-backport-0.2.0 imageio-2.35.1 insightface-0.7.3 joblib-1.4.2 lazy-loader-0.4 onnx-1.16.2 opencv-python-headless-4.10.0.84 prettytable-3.11.0 scikit-image-0.24.0 scikit-learn-1.5.2 scipy-1.14.1 threadpoolctl-3.5.0 tifffile-2024.9.20 wcwidth-0.2.13

[notice] A new release of pip available: 22.3.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip

(venv) F:\V-Express>pip install numpy==1.26.4 Requirement already satisfied: numpy==1.26.4 in f:\v-express\venv\lib\site-packages (1.26.4)

[notice] A new release of pip available: 22.3.1 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip


TEST RUN :-(

(venv) F:\V-Express>python app.py Traceback (most recent call last): File "F:\V-Express\app.py", line 5, in from inference import InferenceEngine File "F:\V-Express\inference.py", line 11, in from insightface.app import FaceAnalysis File "F:\V-Express\venv\lib\site-packages\insightface__init.py", line 16, in from . import model_zoo File "F:\V-Express\venv\lib\site-packages\insightface\model_zoo__init__.py", line 1, in from .model_zoo import get_model File "F:\V-Express\venv\lib\site-packages\insightface\model_zoo\model_zoo.py", line 11, in from .arcface_onnx import * File "F:\V-Express\venv\lib\site-packages\insightface\model_zoo\arcface_onnx.py", line 10, in import onnx File "F:\V-Express\venv\lib\site-packages\onnx\init__.py", line 77, in from onnx.onnx_cpp2py_export import ONNX_ML ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed. V-Express Install Logs.txt

nitinmukesh commented 3 weeks ago

@OleJ1964 pip list is not correct

Navigate inside installation folder (F:\V-Express) open command prompt activate virtual environment venv\scripts\activate pip list

[EDIT] Also check for the models inside model_ckpts using below command

C:\ai\V-Express\model_ckpts>tree /F
Folder PATH listing for volume Windows-SSD
Volume serial number is 00000158 CE9F:A6AE
C:.
│   .DS_Store
│
├───insightface_models
│   │   .DS_Store
│   │
│   └───models
│       │   .DS_Store
│       │
│       └───buffalo_l
│               1k3d68.onnx
│               2d106det.onnx
│               det_10g.onnx
│               genderage.onnx
│               w600k_r50.onnx
│
├───sd-vae-ft-mse
│       config.json
│       diffusion_pytorch_model.bin
│
├───stable-diffusion-v1-5
│   └───unet
│           config.json
│
├───v-express
│       audio_projection.pth
│       denoising_unet.pth
│       motion_module.pth
│       reference_net.pth
│       v_kps_guider.pth
│
└───wav2vec2-base-960h
        config.json
        feature_extractor_config.json
        preprocessor_config.json
        pytorch_model.bin
        special_tokens_map.json
        tokenizer_config.json
        vocab.json
OleJ1964 commented 3 weeks ago

Sorry - my bad. (venv) F:\V-Express>pip list Package Version


accelerate 0.33.0 aiofiles 23.2.1 albucore 0.0.17 albumentations 1.4.17 annotated-types 0.7.0 antlr4-python3-runtime 4.9.3 anyio 4.6.0 av 11.0.0 certifi 2024.8.30 cffi 1.17.1 charset-normalizer 3.3.2 click 8.1.7 colorama 0.4.6 coloredlogs 15.0.1 contourpy 1.3.0 cycler 0.12.1 Cython 3.0.11 diffusers 0.24.0 dlib 19.24.6 easydict 1.13 einops 0.4.1 eval_type_backport 0.2.0 exceptiongroup 1.2.2 fastapi 0.115.0 ffmpy 0.4.0 filelock 3.16.1 flatbuffers 24.3.25 fonttools 4.54.1 fsspec 2024.9.0 gradio 4.44.1 gradio_client 1.3.0 h11 0.14.0 httpcore 1.0.5 httpx 0.27.2 huggingface-hub 0.25.1 humanfriendly 10.0 idna 3.10 imageio 2.35.1 imageio-ffmpeg 0.4.9 importlib_metadata 8.5.0 importlib_resources 6.4.5 insightface 0.7.3 Jinja2 3.1.4 joblib 1.4.2 kiwisolver 1.4.7 lazy_loader 0.4 markdown-it-py 3.0.0 MarkupSafe 2.1.5 matplotlib 3.9.2 mdurl 0.1.2 mpmath 1.3.0 networkx 3.3 numpy 1.26.4 omegaconf 2.2.3 onnx 1.16.2 onnxruntime-gpu 1.16.3 opencv-python-headless 4.10.0.84 orjson 3.10.7 packaging 24.1 pandas 2.2.3 pillow 10.4.0 pip 22.3.1 prettytable 3.11.0 protobuf 5.28.2 psutil 6.0.0 pycparser 2.22 pydantic 2.9.2 pydantic_core 2.23.4 pydub 0.25.1 Pygments 2.18.0 pyparsing 3.1.4 pyreadline3 3.5.4 python-dateutil 2.9.0.post0 python-multipart 0.0.12 pytz 2024.2 PyYAML 6.0.2 regex 2024.9.11 requests 2.32.3 rich 13.8.1 ruff 0.6.8 safetensors 0.4.2 scikit-image 0.24.0 scikit-learn 1.5.2 scipy 1.14.1 semantic-version 2.10.0 setuptools 65.5.0 shellingham 1.5.4 six 1.16.0 sniffio 1.3.1 soundfile 0.12.1 starlette 0.38.6 sympy 1.13.3 threadpoolctl 3.5.0 tifffile 2024.9.20 tokenizers 0.13.3 tomlkit 0.12.0 torch 2.0.1+cu118 torchaudio 2.0.2+cu118 torchvision 0.15.2+cu118 tqdm 4.66.1 transformers 4.30.2 typer 0.12.5 typing_extensions 4.12.2 tzdata 2024.2 urllib3 2.2.3 uvicorn 0.31.0 wcwidth 0.2.13 websockets 12.0 xformers 0.0.21 zipp 3.20.2

OleJ1964 commented 3 weeks ago

(venv) F:\V-Express\model_ckpts>tree /F Folder PATH listing for volume Diverse Volume serial number is 4E69-2A80 F:. │ .DS_Store │ ├───insightface_models │ │ .DS_Store │ │ │ └───models │ │ .DS_Store │ │ │ └───buffalo_l │ 1k3d68.onnx │ 2d106det.onnx │ det_10g.onnx │ genderage.onnx │ w600k_r50.onnx │ ├───sd-vae-ft-mse │ config.json │ diffusion_pytorch_model.bin │ ├───stable-diffusion-v1-5 │ └───unet │ config.json │ ├───v-express │ audio_projection.pth │ denoising_unet.pth │ motion_module.pth │ reference_net.pth │ v_kps_guider.pth │ └───wav2vec2-base-960h config.json feature_extractor_config.json preprocessor_config.json pytorch_model.bin special_tokens_map.json tokenizer_config.json vocab.json

nitinmukesh commented 3 weeks ago

Oh! You had error reported during 2nd step

F:>git clone https://huggingface.co/spaces/newgenai79/V-Express
Cloning into 'V-Express'...
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 100 (delta 0), reused 3 (delta 0), pack-reused 97 (from 1)
Receiving objects: 100% (100/100), 1.76 MiB | 5.02 MiB/s, done.
Resolving deltas: 100% (19/19), done.
Filtering content: 100% (14/14), 6.02 GiB | 47.92 MiB/s, done.
fatal: active post-checkout hook found during git clone:
F:/V-Express/.git/hooks/post-checkout
For security reasons, this is disallowed by default.
If this is intentional and the hook should actually be run, please
run the command again with GIT_CLONE_PROTECTION_ACTIVE=false
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Clone succeeded, but checkout failed.

Can you check the size like shown in below image (exclude pycache and venv folders). It should be similar to below

image

OleJ1964 commented 3 weeks ago

Ohh - that was early :-| I've included to screen shots With .git without  git with  git folder and without

nitinmukesh commented 3 weeks ago

Now this is interesting.

  1. VENV is same including all packages (https://www.diffchecker.com/xM1wSSjW/)
  2. Python version is fine
  3. All files downloaded correctly

The only difference is, I have CUDA 11.8 installed on my system.

C:\Users\nitin>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:41:10_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0

If you are really interested in this tool, maybe try installing CUDA 11.8 and do the whole installation again. https://developer.nvidia.com/cuda-11-8-0-download-archive

Unfortunately I'm not a developer, only youtuber so not sure what could be an issue here.

I am gonna explore another way using embedded python, let's see when I get time for that.

OleJ1964 commented 3 weeks ago

Thanks for all you time, it's much appreciated :-) Must admit i'm a little worried about "breaking" everything else by downgrading CUDA - but ill think about it. Again thanks