MagicAnimate を試す

MagicAnimate を試す

Magic Animate は画像の動画化をしてくれるオープンソースです

今回は、Windows版をつかってやってみます

実験環境は Core i7 + 64GB Ram + RTX 3090 です

インストールに約30分、ストレージ容量として32GB 程度消費しますのでご注意ください。

作業ディレクトリの作成

d:/ にai_experiment というディレクトリをつくり、その下で作業してみます

PowerShellを開いて、以下実行します

d:
mkdir ai_experiment

実行結果

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.



PS D:\> mkdir ai_experiment


    ディレクトリ: D:\


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        2024/01/16     17:10                ai_experiment

プロジェクトのクローン

実験用ディレクトリに入り以下コマンドでプロジェクトをクローンします

cd .\ai_experiment\
git clone https://github.com/sdbds/magic-animate-for-windows.git

実行結果

PS D:\> cd .\ai_experiment\
PS D:\ai_experiment> git clone https://github.com/sdbds/magic-animate-for-windows.git
Cloning into 'magic-animate-for-windows'...
remote: Enumerating objects: 272, done.
remote: Counting objects: 100% (272/272), done.
remote: Compressing objects: 100% (167/167), done.
remote: Total 272 (delta 133), reused 221 (delta 94), pack-reused 0
Receiving objects: 100% (272/272), 24.99 MiB | 22.34 MiB/s, done.
Resolving deltas: 100% (133/133), done.

PowerShell の実行ポリシーを変更

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process

仮想環境の作成

クローンしたプロジェクト以下に入って、仮想環境を作成します

PS D:\ai_experiment> cd .\magic-animate-for-windows\
PS D:\ai_experiment\magic-animate-for-windows> python -m venv venv

仮想環境を開始

 venv\Scripts\activate.ps1

実行結果

PS D:\ai_experiment\magic-animate-for-windows> venv\Scripts\activate.ps1

仮想環境に pytorch をインストールする

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Looking in indexes: https://download.pytorch.org/whl/cu118

実行結果


Collecting torch
  Using cached https://download.pytorch.org/whl/cu118/torch-2.3.1%2Bcu118-cp311-cp311-win_amd64.whl (2673.0 MB)
Collecting torchvision
  Using cached https://download.pytorch.org/whl/cu118/torchvision-0.18.1%2Bcu118-cp311-cp311-win_amd64.whl (4.9 MB)
Collecting torchaudio
  Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.3.1%2Bcu118-cp311-cp311-win_amd64.whl (4.0 MB)
Collecting filelock (from torch)
  Using cached https://download.pytorch.org/whl/filelock-3.13.1-py3-none-any.whl (11 kB)
Collecting typing-extensions>=4.8.0 (from torch)
  Using cached https://download.pytorch.org/whl/typing_extensions-4.9.0-py3-none-any.whl (32 kB)
Collecting sympy (from torch)
  Using cached https://download.pytorch.org/whl/sympy-1.12-py3-none-any.whl (5.7 MB)
Collecting networkx (from torch)
  Using cached https://download.pytorch.org/whl/networkx-3.2.1-py3-none-any.whl (1.6 MB)
Collecting jinja2 (from torch)
  Using cached https://download.pytorch.org/whl/Jinja2-3.1.3-py3-none-any.whl (133 kB)
Collecting fsspec (from torch)
  Using cached https://download.pytorch.org/whl/fsspec-2024.2.0-py3-none-any.whl (170 kB)
Collecting mkl<=2021.4.0,>=2021.1.1 (from torch)
  Using cached https://download.pytorch.org/whl/mkl-2021.4.0-py2.py3-none-win_amd64.whl (228.5 MB)
Collecting numpy (from torchvision)
  Using cached https://download.pytorch.org/whl/numpy-1.26.3-cp311-cp311-win_amd64.whl (15.8 MB)
Collecting pillow!=8.3.*,>=5.3.0 (from torchvision)
  Using cached https://download.pytorch.org/whl/pillow-10.2.0-cp311-cp311-win_amd64.whl (2.6 MB)
Collecting intel-openmp==2021.* (from mkl<=2021.4.0,>=2021.1.1->torch)
  Using cached https://download.pytorch.org/whl/intel_openmp-2021.4.0-py2.py3-none-win_amd64.whl (3.5 MB)
Collecting tbb==2021.* (from mkl<=2021.4.0,>=2021.1.1->torch)
  Using cached https://download.pytorch.org/whl/tbb-2021.11.0-py3-none-win_amd64.whl (298 kB)
Collecting MarkupSafe>=2.0 (from jinja2->torch)
  Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl (17 kB)
Collecting mpmath>=0.19 (from sympy->torch)
  Using cached https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
Installing collected packages: tbb, mpmath, intel-openmp, typing-extensions, sympy, pillow, numpy, networkx, mkl, MarkupSafe, fsspec, filelock, jinja2, torch, torchvision, torchaudio
Successfully installed MarkupSafe-2.1.5 filelock-3.13.1 fsspec-2024.2.0 intel-openmp-2021.4.0 jinja2-3.1.3 mkl-2021.4.0 mpmath-1.3.0 networkx-3.2.1 numpy-1.26.3 pillow-10.2.0 sympy-1.12 tbb-2021.11.0 torch-2.3.1+cu118 torchaudio-2.3.1+cu118 torchvision-0.18.1+cu118 typing-extensions-4.9.0

インストールスクリプト実行

次に以下を実行して関連パッケージのインストールとビルドを開始します。
20分程度かかります。

.\install.ps1

実行結果

Installing deps...
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Collecting absl-py==1.4.0 (from -r requirements-windows.txt (line 2))
  Using cached absl_py-1.4.0-py3-none-any.whl (126 kB)
Collecting accelerate==0.22.0 (from -r requirements-windows.txt (line 3))
  Using cached accelerate-0.22.0-py3-none-any.whl (251 kB)
Collecting aiofiles==23.2.1 (from -r requirements-windows.txt (line 4))
  Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB)
Collecting aiohttp==3.8.5 (from -r requirements-windows.txt (line 5))
  Using cached aiohttp-3.8.5-cp311-cp311-win_amd64.whl (320 kB)
Collecting aiosignal==1.3.1 (from -r requirements-windows.txt (line 6))
  Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting altair==5.0.1 (from -r requirements-windows.txt (line 7))
  Using cached altair-5.0.1-py3-none-any.whl (471 kB)
Collecting annotated-types==0.5.0 (from -r requirements-windows.txt (line 8))
  Using cached annotated_types-0.5.0-py3-none-any.whl (11 kB)
Collecting antlr4-python3-runtime==4.9.3 (from -r requirements-windows.txt (line 9))
  Using cached antlr4_python3_runtime-4.9.3-py3-none-any.whl
Collecting anyio==3.7.1 (from -r requirements-windows.txt (line 10))
  Using cached anyio-3.7.1-py3-none-any.whl (80 kB)
Collecting async-timeout==4.0.3 (from -r requirements-windows.txt (line 11))
  Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Collecting attrs==23.1.0 (from -r requirements-windows.txt (line 12))
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting cachetools==5.3.1 (from -r requirements-windows.txt (line 13))
  Using cached cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Collecting certifi==2023.7.22 (from -r requirements-windows.txt (line 14))
  Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Collecting charset-normalizer==3.2.0 (from -r requirements-windows.txt (line 15))
  Using cached charset_normalizer-3.2.0-cp311-cp311-win_amd64.whl (96 kB)
Collecting click==8.1.7 (from -r requirements-windows.txt (line 16))
  Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting cmake==3.27.2 (from -r requirements-windows.txt (line 17))
  Using cached cmake-3.27.2-py2.py3-none-win_amd64.whl (34.6 MB)
Collecting contourpy==1.1.0 (from -r requirements-windows.txt (line 18))
  Using cached contourpy-1.1.0-cp311-cp311-win_amd64.whl (470 kB)
Collecting cycler==0.11.0 (from -r requirements-windows.txt (line 19))
  Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting datasets==2.14.4 (from -r requirements-windows.txt (line 20))
  Using cached datasets-2.14.4-py3-none-any.whl (519 kB)
Collecting dill==0.3.7 (from -r requirements-windows.txt (line 21))
  Using cached dill-0.3.7-py3-none-any.whl (115 kB)
Collecting einops==0.6.1 (from -r requirements-windows.txt (line 22))
  Using cached einops-0.6.1-py3-none-any.whl (42 kB)
Collecting exceptiongroup==1.1.3 (from -r requirements-windows.txt (line 23))
  Using cached exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Collecting fastapi==0.103.0 (from -r requirements-windows.txt (line 24))
  Using cached fastapi-0.103.0-py3-none-any.whl (66 kB)
Collecting ffmpy==0.3.1 (from -r requirements-windows.txt (line 25))
  Using cached ffmpy-0.3.1-py3-none-any.whl
Collecting filelock==3.12.2 (from -r requirements-windows.txt (line 26))
  Using cached filelock-3.12.2-py3-none-any.whl (10 kB)
Collecting fonttools==4.42.1 (from -r requirements-windows.txt (line 27))
  Using cached fonttools-4.42.1-cp311-cp311-win_amd64.whl (2.1 MB)
Collecting frozenlist==1.4.0 (from -r requirements-windows.txt (line 28))
  Using cached frozenlist-1.4.0-cp311-cp311-win_amd64.whl (44 kB)
Collecting fsspec==2023.6.0 (from -r requirements-windows.txt (line 29))
  Using cached fsspec-2023.6.0-py3-none-any.whl (163 kB)
Collecting google-auth==2.22.0 (from -r requirements-windows.txt (line 30))
  Using cached google_auth-2.22.0-py2.py3-none-any.whl (181 kB)
Collecting google-auth-oauthlib==1.0.0 (from -r requirements-windows.txt (line 31))
  Using cached google_auth_oauthlib-1.0.0-py2.py3-none-any.whl (18 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.36.1-py3-none-any.whl (12.3 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-1.0.1-py3-none-any.whl (318 kB)
Collecting grpcio==1.57.0 (from -r requirements-windows.txt (line 34))
  Using cached grpcio-1.57.0-cp311-cp311-win_amd64.whl (4.3 MB)
Collecting h11==0.14.0 (from -r requirements-windows.txt (line 35))
  Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Collecting httpcore==0.17.3 (from -r requirements-windows.txt (line 36))
  Using cached httpcore-0.17.3-py3-none-any.whl (74 kB)
Collecting httpx==0.24.1 (from -r requirements-windows.txt (line 37))
  Using cached httpx-0.24.1-py3-none-any.whl (75 kB)
Collecting huggingface-hub==0.16.4 (from -r requirements-windows.txt (line 38))
  Using cached huggingface_hub-0.16.4-py3-none-any.whl (268 kB)
Collecting idna==3.4 (from -r requirements-windows.txt (line 39))
  Using cached https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB)
Collecting importlib-metadata==6.8.0 (from -r requirements-windows.txt (line 40))
  Using cached importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Collecting importlib-resources==6.0.1 (from -r requirements-windows.txt (line 41))
  Using cached importlib_resources-6.0.1-py3-none-any.whl (34 kB)
Collecting jinja2==3.1.2 (from -r requirements-windows.txt (line 42))
  Using cached https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting joblib==1.3.2 (from -r requirements-windows.txt (line 43))
  Using cached joblib-1.3.2-py3-none-any.whl (302 kB)
Collecting jsonschema==4.19.0 (from -r requirements-windows.txt (line 44))
  Using cached jsonschema-4.19.0-py3-none-any.whl (83 kB)
Collecting jsonschema-specifications==2023.7.1 (from -r requirements-windows.txt (line 45))
  Using cached jsonschema_specifications-2023.7.1-py3-none-any.whl (17 kB)
Collecting kiwisolver==1.4.5 (from -r requirements-windows.txt (line 46))
  Using cached kiwisolver-1.4.5-cp311-cp311-win_amd64.whl (56 kB)
Collecting lightning-utilities==0.9.0 (from -r requirements-windows.txt (line 47))
  Using cached lightning_utilities-0.9.0-py3-none-any.whl (23 kB)
Collecting lit==16.0.6 (from -r requirements-windows.txt (line 48))
  Using cached lit-16.0.6-py3-none-any.whl
Collecting markdown==3.4.4 (from -r requirements-windows.txt (line 49))
  Using cached Markdown-3.4.4-py3-none-any.whl (94 kB)
Collecting markupsafe==2.1.3 (from -r requirements-windows.txt (line 50))
  Using cached https://download.pytorch.org/whl/MarkupSafe-2.1.3-cp311-cp311-win_amd64.whl (17 kB)
Collecting matplotlib==3.7.2 (from -r requirements-windows.txt (line 51))
  Using cached matplotlib-3.7.2-cp311-cp311-win_amd64.whl (7.5 MB)
Requirement already satisfied: mpmath==1.3.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements-windows.txt (line 52)) (1.3.0)
Collecting multidict==6.0.4 (from -r requirements-windows.txt (line 53))
  Using cached multidict-6.0.4-cp311-cp311-win_amd64.whl (28 kB)
Collecting multiprocess==0.70.15 (from -r requirements-windows.txt (line 54))
  Using cached multiprocess-0.70.15-py311-none-any.whl (135 kB)
Collecting networkx==3.1 (from -r requirements-windows.txt (line 55))
  Using cached networkx-3.1-py3-none-any.whl (2.1 MB)
Collecting numpy==1.24.4 (from -r requirements-windows.txt (line 56))
  Using cached numpy-1.24.4-cp311-cp311-win_amd64.whl (14.8 MB)
Collecting oauthlib==3.2.2 (from -r requirements-windows.txt (line 57))
  Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Collecting omegaconf==2.3.0 (from -r requirements-windows.txt (line 58))
  Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB)
Collecting opencv-python==4.8.0.76 (from -r requirements-windows.txt (line 59))
  Using cached opencv_python-4.8.0.76-cp37-abi3-win_amd64.whl (38.1 MB)
Collecting orjson==3.9.5 (from -r requirements-windows.txt (line 60))
  Using cached orjson-3.9.5-cp311-none-win_amd64.whl (139 kB)
Collecting pandas==2.0.3 (from -r requirements-windows.txt (line 61))
  Using cached pandas-2.0.3-cp311-cp311-win_amd64.whl (10.6 MB)
Collecting pillow==9.5.0 (from -r requirements-windows.txt (line 62))
  Using cached Pillow-9.5.0-cp311-cp311-win_amd64.whl (2.5 MB)
Collecting pkgutil-resolve-name==1.3.10 (from -r requirements-windows.txt (line 63))
  Using cached pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Collecting protobuf==4.24.2 (from -r requirements-windows.txt (line 64))
  Using cached protobuf-4.24.2-cp310-abi3-win_amd64.whl (430 kB)
Collecting psutil==5.9.5 (from -r requirements-windows.txt (line 65))
  Using cached psutil-5.9.5-cp36-abi3-win_amd64.whl (255 kB)
Collecting pyarrow==13.0.0 (from -r requirements-windows.txt (line 66))
  Using cached pyarrow-13.0.0-cp311-cp311-win_amd64.whl (24.3 MB)
Collecting pyasn1==0.5.0 (from -r requirements-windows.txt (line 67))
  Using cached pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
Collecting pyasn1-modules==0.3.0 (from -r requirements-windows.txt (line 68))
  Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
Collecting pydantic==2.3.0 (from -r requirements-windows.txt (line 69))
  Using cached pydantic-2.3.0-py3-none-any.whl (374 kB)
Collecting pydantic-core==2.6.3 (from -r requirements-windows.txt (line 70))
  Using cached pydantic_core-2.6.3-cp311-none-win_amd64.whl (1.7 MB)
Collecting pydub==0.25.1 (from -r requirements-windows.txt (line 71))
  Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting pyparsing==3.0.9 (from -r requirements-windows.txt (line 72))
  Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting python-multipart==0.0.6 (from -r requirements-windows.txt (line 73))
  Using cached python_multipart-0.0.6-py3-none-any.whl (45 kB)
Collecting pytorch-lightning==2.0.7 (from -r requirements-windows.txt (line 74))
  Using cached pytorch_lightning-2.0.7-py3-none-any.whl (724 kB)
Collecting pytz==2023.3 (from -r requirements-windows.txt (line 75))
  Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB)
Collecting pyyaml==6.0.1 (from -r requirements-windows.txt (line 76))
  Using cached PyYAML-6.0.1-cp311-cp311-win_amd64.whl (144 kB)
Collecting referencing==0.30.2 (from -r requirements-windows.txt (line 77))
  Using cached referencing-0.30.2-py3-none-any.whl (25 kB)
Collecting regex==2023.8.8 (from -r requirements-windows.txt (line 78))
  Using cached regex-2023.8.8-cp311-cp311-win_amd64.whl (268 kB)
Collecting requests==2.31.0 (from -r requirements-windows.txt (line 79))
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Collecting requests-oauthlib==1.3.1 (from -r requirements-windows.txt (line 80))
  Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting rpds-py==0.9.2 (from -r requirements-windows.txt (line 81))
  Using cached rpds_py-0.9.2-cp311-none-win_amd64.whl (180 kB)
Collecting rsa (from -r requirements-windows.txt (line 82))
  Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting safetensors==0.3.3 (from -r requirements-windows.txt (line 83))
  Using cached safetensors-0.3.3-cp311-cp311-win_amd64.whl (266 kB)
Collecting semantic-version==2.10.0 (from -r requirements-windows.txt (line 84))
  Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting sniffio==1.3.0 (from -r requirements-windows.txt (line 85))
  Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting starlette==0.27.0 (from -r requirements-windows.txt (line 86))
  Using cached starlette-0.27.0-py3-none-any.whl (66 kB)
Requirement already satisfied: sympy==1.12 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements-windows.txt (line 87)) (1.12)
Collecting tensorboard==2.14.0 (from -r requirements-windows.txt (line 88))
  Using cached tensorboard-2.14.0-py3-none-any.whl (5.5 MB)
Collecting tensorboard-data-server==0.7.1 (from -r requirements-windows.txt (line 89))
  Using cached tensorboard_data_server-0.7.1-py3-none-any.whl (2.4 kB)
Collecting tokenizers==0.13.3 (from -r requirements-windows.txt (line 90))
  Using cached tokenizers-0.13.3-cp311-cp311-win_amd64.whl (3.5 MB)
Collecting toolz==0.12.0 (from -r requirements-windows.txt (line 91))
  Using cached toolz-0.12.0-py3-none-any.whl (55 kB)
Collecting torchmetrics==1.1.0 (from -r requirements-windows.txt (line 92))
  Using cached torchmetrics-1.1.0-py3-none-any.whl (761 kB)
Collecting tqdm==4.66.1 (from -r requirements-windows.txt (line 93))
  Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Collecting transformers==4.32.0 (from -r requirements-windows.txt (line 94))
  Using cached transformers-4.32.0-py3-none-any.whl (7.5 MB)
Collecting tzdata==2023.3 (from -r requirements-windows.txt (line 95))
  Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting urllib3==1.26.16 (from -r requirements-windows.txt (line 96))
  Using cached urllib3-1.26.16-py2.py3-none-any.whl (143 kB)
Collecting uvicorn==0.23.2 (from -r requirements-windows.txt (line 97))
  Using cached uvicorn-0.23.2-py3-none-any.whl (59 kB)
Collecting websockets==11.0.3 (from -r requirements-windows.txt (line 98))
  Using cached websockets-11.0.3-cp311-cp311-win_amd64.whl (124 kB)
Collecting werkzeug==2.3.7 (from -r requirements-windows.txt (line 99))
  Using cached werkzeug-2.3.7-py3-none-any.whl (242 kB)
Collecting xxhash==3.3.0 (from -r requirements-windows.txt (line 100))
  Using cached xxhash-3.3.0-cp311-cp311-win_amd64.whl (29 kB)
Collecting yarl==1.9.2 (from -r requirements-windows.txt (line 101))
  Using cached yarl-1.9.2-cp311-cp311-win_amd64.whl (60 kB)
Collecting zipp==3.16.2 (from -r requirements-windows.txt (line 102))
  Using cached zipp-3.16.2-py3-none-any.whl (7.2 kB)
Collecting decord (from -r requirements-windows.txt (line 103))
  Using cached decord-0.6.0-py3-none-win_amd64.whl (24.7 MB)
Collecting imageio==2.9.0 (from -r requirements-windows.txt (line 104))
  Using cached imageio-2.9.0-py3-none-any.whl (3.3 MB)
Collecting imageio-ffmpeg==0.4.3 (from -r requirements-windows.txt (line 105))
  Using cached imageio_ffmpeg-0.4.3-py3-none-win_amd64.whl (22.6 MB)
Collecting timm (from -r requirements-windows.txt (line 106))
  Using cached timm-1.0.3-py3-none-any.whl (2.3 MB)
Collecting scipy (from -r requirements-windows.txt (line 107))
  Using cached scipy-1.13.1-cp311-cp311-win_amd64.whl (46.2 MB)
Collecting scikit-image (from -r requirements-windows.txt (line 108))
  Using cached scikit_image-0.23.2-cp311-cp311-win_amd64.whl (12.7 MB)
Collecting av (from -r requirements-windows.txt (line 109))
  Using cached av-12.1.0-cp311-cp311-win_amd64.whl (26.8 MB)
Collecting imgaug (from -r requirements-windows.txt (line 110))
  Using cached imgaug-0.4.0-py2.py3-none-any.whl (948 kB)
Collecting lpips (from -r requirements-windows.txt (line 111))
  Using cached lpips-0.1.4-py3-none-any.whl (53 kB)
Collecting ffmpeg-python (from -r requirements-windows.txt (line 112))
  Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting torch==2.0.1 (from -r requirements-windows.txt (line 113))
  Using cached https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp311-cp311-win_amd64.whl (2619.2 MB)
Collecting torchvision==0.15.2 (from -r requirements-windows.txt (line 114))
  Using cached https://download.pytorch.org/whl/cu118/torchvision-0.15.2%2Bcu118-cp311-cp311-win_amd64.whl (4.9 MB)
Collecting xformers==0.0.22 (from -r requirements-windows.txt (line 115))
  Using cached xformers-0.0.22-cp311-cp311-win_amd64.whl (97.6 MB)
Collecting diffusers==0.21.4 (from -r requirements-windows.txt (line 116))
  Using cached diffusers-0.21.4-py3-none-any.whl (1.5 MB)
Collecting packaging>=20.0 (from accelerate==0.22.0->-r requirements-windows.txt (line 3))
  Using cached packaging-24.1-py3-none-any.whl (53 kB)
Collecting colorama (from click==8.1.7->-r requirements-windows.txt (line 16))
  Using cached https://download.pytorch.org/whl/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: fsspec[http]>=2021.11.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from datasets==2.14.4->-r requirements-windows.txt (line 20)) (2024.2.0)
Collecting fsspec[http]>=2021.11.1 (from datasets==2.14.4->-r requirements-windows.txt (line 20))
  Using cached fsspec-2024.6.0-py3-none-any.whl (176 kB)
Requirement already satisfied: typing-extensions>=4.5.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from fastapi==0.103.0->-r requirements-windows.txt (line 24)) (4.9.0)
Collecting six>=1.9.0 (from google-auth==2.22.0->-r requirements-windows.txt (line 30))
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting python-dateutil>=2.7 (from matplotlib==3.7.2->-r requirements-windows.txt (line 51))
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Requirement already satisfied: setuptools>=41.0.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from tensorboard==2.14.0->-r requirements-windows.txt (line 88)) (65.5.0)
Collecting wheel>=0.26 (from tensorboard==2.14.0->-r requirements-windows.txt (line 88))
  Using cached wheel-0.43.0-py3-none-any.whl (65 kB)
INFO: pip is looking at multiple versions of gradio to determine which version is compatible with other requirements. This could take a while.
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.36.0-py3-none-any.whl (12.3 MB)
  Using cached gradio-4.35.0-py3-none-any.whl (12.3 MB)
  Using cached gradio-4.33.0-py3-none-any.whl (12.3 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.17.0-py3-none-any.whl (316 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.32.2-py3-none-any.whl (12.3 MB)
  Using cached gradio-4.32.1-py3-none-any.whl (12.3 MB)
  Using cached gradio-4.32.0-py3-none-any.whl (12.3 MB)
  Using cached gradio-4.31.5-py3-none-any.whl (12.3 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.16.4-py3-none-any.whl (315 kB)
INFO: pip is looking at multiple versions of gradio to determine which version is compatible with other requirements. This could take a while.
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.31.4-py3-none-any.whl (12.3 MB)
  Using cached gradio-4.31.3-py3-none-any.whl (12.3 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.16.3-py3-none-any.whl (315 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.31.2-py3-none-any.whl (12.3 MB)
  Using cached gradio-4.31.1-py3-none-any.whl (12.3 MB)
  Using cached gradio-4.31.0-py3-none-any.whl (12.3 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.16.2-py3-none-any.whl (315 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.29.0-py3-none-any.whl (12.3 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.16.1-py3-none-any.whl (314 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.28.3-py3-none-any.whl (12.2 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.16.0-py3-none-any.whl (314 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.28.2-py3-none-any.whl (12.2 MB)
  Using cached gradio-4.28.1-py3-none-any.whl (12.2 MB)
  Using cached gradio-4.28.0-py3-none-any.whl (12.2 MB)
  Using cached gradio-4.27.0-py3-none-any.whl (17.1 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.15.1-py3-none-any.whl (313 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.26.0-py3-none-any.whl (17.1 MB)
  Using cached gradio-4.25.0-py3-none-any.whl (17.1 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.15.0-py3-none-any.whl (313 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.24.0-py3-none-any.whl (17.1 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.14.0-py3-none-any.whl (312 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.23.0-py3-none-any.whl (17.1 MB)
  Using cached gradio-4.22.0-py3-none-any.whl (17.1 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.13.0-py3-none-any.whl (311 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.21.0-py3-none-any.whl (17.0 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.12.0-py3-none-any.whl (310 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.20.1-py3-none-any.whl (17.0 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.11.0-py3-none-any.whl (308 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.20.0-py3-none-any.whl (17.0 MB)
  Using cached gradio-4.19.2-py3-none-any.whl (16.9 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.10.1-py3-none-any.whl (307 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.19.1-py3-none-any.whl (16.9 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.10.0-py3-none-any.whl (307 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.19.0-py3-none-any.whl (16.9 MB)
  Using cached gradio-4.18.0-py3-none-any.whl (16.8 MB)
  Using cached gradio-4.17.0-py3-none-any.whl (16.7 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.9.0-py3-none-any.whl (306 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.16.0-py3-none-any.whl (16.7 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.8.1-py3-none-any.whl (305 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.15.0-py3-none-any.whl (16.6 MB)
  Using cached gradio-4.14.0-py3-none-any.whl (16.6 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.8.0-py3-none-any.whl (305 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.13.0-py3-none-any.whl (16.6 MB)
  Using cached gradio-4.12.0-py3-none-any.whl (16.6 MB)
  Using cached gradio-4.11.0-py3-none-any.whl (16.6 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.7.3-py3-none-any.whl (304 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.10.0-py3-none-any.whl (16.6 MB)
  Using cached gradio-4.9.1-py3-none-any.whl (16.6 MB)
  Using cached gradio-4.9.0-py3-none-any.whl (16.6 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.7.2-py3-none-any.whl (304 kB)
Collecting gradio (from -r requirements-windows.txt (line 32))
  Using cached gradio-4.8.0-py3-none-any.whl (16.5 MB)
Collecting gradio-client (from -r requirements-windows.txt (line 33))
  Using cached gradio_client-0.7.1-py3-none-any.whl (302 kB)
Collecting tomlkit==0.12.0 (from gradio->-r requirements-windows.txt (line 32))
  Using cached tomlkit-0.12.0-py3-none-any.whl (37 kB)
Collecting typer[all]<1.0,>=0.9 (from gradio->-r requirements-windows.txt (line 32))
  Using cached typer-0.12.3-py3-none-any.whl (47 kB)
INFO: pip is looking at multiple versions of scikit-image to determine which version is compatible with other requirements. This could take a while.
Collecting scikit-image (from -r requirements-windows.txt (line 108))
  Using cached scikit_image-0.23.1-cp311-cp311-win_amd64.whl (12.7 MB)
  Using cached scikit_image-0.22.0-cp311-cp311-win_amd64.whl (24.5 MB)
  Using cached scikit_image-0.21.0-cp311-cp311-win_amd64.whl (22.8 MB)
  Using cached scikit_image-0.20.0-cp311-cp311-win_amd64.whl (23.7 MB)
Collecting tifffile>=2019.7.26 (from scikit-image->-r requirements-windows.txt (line 108))
  Using cached tifffile-2024.5.22-py3-none-any.whl (225 kB)
Collecting PyWavelets>=1.1.1 (from scikit-image->-r requirements-windows.txt (line 108))
  Using cached pywavelets-1.6.0-cp311-cp311-win_amd64.whl (4.3 MB)
Collecting lazy_loader>=0.1 (from scikit-image->-r requirements-windows.txt (line 108))
  Using cached lazy_loader-0.4-py3-none-any.whl (12 kB)
Collecting Shapely (from imgaug->-r requirements-windows.txt (line 110))
  Using cached shapely-2.0.4-cp311-cp311-win_amd64.whl (1.4 MB)
Collecting future (from ffmpeg-python->-r requirements-windows.txt (line 112))
  Using cached future-1.0.0-py3-none-any.whl (491 kB)
INFO: pip is looking at multiple versions of fsspec[http] to determine which version is compatible with other requirements. This could take a while.
Collecting fsspec[http]>=2021.11.1 (from datasets==2.14.4->-r requirements-windows.txt (line 20))
  Using cached fsspec-2024.5.0-py3-none-any.whl (316 kB)
  Using cached fsspec-2024.3.1-py3-none-any.whl (171 kB)
  Using cached fsspec-2024.3.0-py3-none-any.whl (171 kB)
  Using cached https://download.pytorch.org/whl/fsspec-2024.2.0-py3-none-any.whl (170 kB)
  Using cached fsspec-2023.12.2-py3-none-any.whl (168 kB)
INFO: pip is looking at multiple versions of fsspec[http] to determine which version is compatible with other requirements. This could take a while.
  Using cached fsspec-2023.12.1-py3-none-any.whl (168 kB)
  Using cached fsspec-2023.12.0-py3-none-any.whl (168 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Using cached fsspec-2023.10.0-py3-none-any.whl (166 kB)
  Using cached fsspec-2023.9.2-py3-none-any.whl (173 kB)
  Using cached fsspec-2023.9.1-py3-none-any.whl (173 kB)
  Using cached fsspec-2023.9.0-py3-none-any.whl (173 kB)
WARNING: typer 0.12.3 does not provide the extra 'all'
Collecting shellingham>=1.3.0 (from typer[all]<1.0,>=0.9->gradio->-r requirements-windows.txt (line 32))
  Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Collecting rich>=10.11.0 (from typer[all]<1.0,>=0.9->gradio->-r requirements-windows.txt (line 32))
  Using cached rich-13.7.1-py3-none-any.whl (240 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=10.11.0->typer[all]<1.0,>=0.9->gradio->-r requirements-windows.txt (line 32))
  Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.11.0->typer[all]<1.0,>=0.9->gradio->-r requirements-windows.txt (line 32))
  Using cached pygments-2.18.0-py3-none-any.whl (1.2 MB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.11.0->typer[all]<1.0,>=0.9->gradio->-r requirements-windows.txt (line 32))
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Installing collected packages: tokenizers, safetensors, pytz, pydub, lit, ffmpy, cmake, antlr4-python3-runtime, zipp, xxhash, wheel, websockets, urllib3, tzdata, toolz, tomlkit, tensorboard-data-server, sniffio, six, shellingham, semantic-version, rpds-py, regex, pyyaml, python-multipart, pyparsing, pygments, pydantic-core, pyasn1, psutil, protobuf, pkgutil-resolve-name, pillow, packaging, orjson, oauthlib, numpy, networkx, multidict, mdurl, markupsafe, markdown, kiwisolver, joblib, importlib-resources, imageio-ffmpeg, idna, h11, grpcio, future, fsspec, frozenlist, fonttools, filelock, exceptiongroup, einops, dill, cycler, colorama, charset-normalizer, certifi, cachetools, av, attrs, async-timeout, annotated-types, aiofiles, absl-py, yarl, werkzeug, tqdm, tifffile, Shapely, scipy, rsa, requests, referencing, PyWavelets, python-dateutil, pydantic, pyasn1-modules, pyarrow, opencv-python, omegaconf, multiprocess, markdown-it-py, lightning-utilities, lazy_loader, jinja2, importlib-metadata, imageio, ffmpeg-python, decord, contourpy, click, anyio, aiosignal, uvicorn, torch, starlette, scikit-image, rich, requests-oauthlib, pandas, matplotlib, jsonschema-specifications, huggingface-hub, httpcore, google-auth, aiohttp, xformers, typer, transformers, torchvision, torchmetrics, jsonschema, imgaug, httpx, google-auth-oauthlib, fastapi, diffusers, accelerate, timm, tensorboard, pytorch-lightning, lpips, gradio-client, datasets, altair, gradio
  Attempting uninstall: pillow
    Found existing installation: pillow 10.2.0
    Uninstalling pillow-10.2.0:
      Successfully uninstalled pillow-10.2.0
  Attempting uninstall: numpy
    Found existing installation: numpy 1.26.3
    Uninstalling numpy-1.26.3:
      Successfully uninstalled numpy-1.26.3
  Attempting uninstall: networkx
    Found existing installation: networkx 3.2.1
    Uninstalling networkx-3.2.1:
      Successfully uninstalled networkx-3.2.1
  Attempting uninstall: markupsafe
    Found existing installation: MarkupSafe 2.1.5
    Uninstalling MarkupSafe-2.1.5:
      Successfully uninstalled MarkupSafe-2.1.5
  Attempting uninstall: fsspec
    Found existing installation: fsspec 2024.2.0
    Uninstalling fsspec-2024.2.0:
      Successfully uninstalled fsspec-2024.2.0
  Attempting uninstall: filelock
    Found existing installation: filelock 3.13.1
    Uninstalling filelock-3.13.1:
      Successfully uninstalled filelock-3.13.1
  Attempting uninstall: jinja2
    Found existing installation: Jinja2 3.1.3
    Uninstalling Jinja2-3.1.3:
      Successfully uninstalled Jinja2-3.1.3
  Attempting uninstall: torch
    Found existing installation: torch 2.3.1+cu118
    Uninstalling torch-2.3.1+cu118:
      Successfully uninstalled torch-2.3.1+cu118
  Attempting uninstall: torchvision
    Found existing installation: torchvision 0.18.1+cu118
    Uninstalling torchvision-0.18.1+cu118:
      Successfully uninstalled torchvision-0.18.1+cu118
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchaudio 2.3.1+cu118 requires torch==2.3.1+cu118, but you have torch 2.0.1+cu118 which is incompatible.
Successfully installed PyWavelets-1.6.0 Shapely-2.0.4 absl-py-1.4.0 accelerate-0.22.0 aiofiles-23.2.1 aiohttp-3.8.5 aiosignal-1.3.1 altair-5.0.1 annotated-types-0.5.0 antlr4-python3-runtime-4.9.3 anyio-3.7.1 async-timeout-4.0.3 attrs-23.1.0 av-12.1.0 cachetools-5.3.1 certifi-2023.7.22 charset-normalizer-3.2.0 click-8.1.7 cmake-3.27.2 colorama-0.4.6 contourpy-1.1.0 cycler-0.11.0 datasets-2.14.4 decord-0.6.0 diffusers-0.21.4 dill-0.3.7 einops-0.6.1 exceptiongroup-1.1.3 fastapi-0.103.0 ffmpeg-python-0.2.0 ffmpy-0.3.1 filelock-3.12.2 fonttools-4.42.1 frozenlist-1.4.0 fsspec-2023.6.0 future-1.0.0 google-auth-2.22.0 google-auth-oauthlib-1.0.0 gradio-4.8.0 gradio-client-0.7.1 grpcio-1.57.0 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 huggingface-hub-0.16.4 idna-3.4 imageio-2.9.0 imageio-ffmpeg-0.4.3 imgaug-0.4.0 importlib-metadata-6.8.0 importlib-resources-6.0.1 jinja2-3.1.2 joblib-1.3.2 jsonschema-4.19.0 jsonschema-specifications-2023.7.1 kiwisolver-1.4.5 lazy_loader-0.4 lightning-utilities-0.9.0 lit-16.0.6 lpips-0.1.4 markdown-3.4.4 markdown-it-py-3.0.0 markupsafe-2.1.3 matplotlib-3.7.2 mdurl-0.1.2 multidict-6.0.4 multiprocess-0.70.15 networkx-3.1 numpy-1.24.4 oauthlib-3.2.2 omegaconf-2.3.0 opencv-python-4.8.0.76 orjson-3.9.5 packaging-24.1 pandas-2.0.3 pillow-9.5.0 pkgutil-resolve-name-1.3.10 protobuf-4.24.2 psutil-5.9.5 pyarrow-13.0.0 pyasn1-0.5.0 pyasn1-modules-0.3.0 pydantic-2.3.0 pydantic-core-2.6.3 pydub-0.25.1 pygments-2.18.0 pyparsing-3.0.9 python-dateutil-2.9.0.post0 python-multipart-0.0.6 pytorch-lightning-2.0.7 pytz-2023.3 pyyaml-6.0.1 referencing-0.30.2 regex-2023.8.8 requests-2.31.0 requests-oauthlib-1.3.1 rich-13.7.1 rpds-py-0.9.2 rsa-4.9 safetensors-0.3.3 scikit-image-0.20.0 scipy-1.13.1 semantic-version-2.10.0 shellingham-1.5.4 six-1.16.0 sniffio-1.3.0 starlette-0.27.0 tensorboard-2.14.0 tensorboard-data-server-0.7.1 tifffile-2024.5.22 timm-1.0.3 tokenizers-0.13.3 tomlkit-0.12.0 toolz-0.12.0 torch-2.0.1+cu118 torchmetrics-1.1.0 torchvision-0.15.2+cu118 tqdm-4.66.1 transformers-4.32.0 typer-0.12.3 tzdata-2023.3 urllib3-1.26.16 uvicorn-0.23.2 websockets-11.0.3 werkzeug-2.3.7 wheel-0.43.0 xformers-0.0.22 xxhash-3.3.0 yarl-1.9.2 zipp-3.16.2
Checking models...
Creating pretrained_models...


    ディレクトリ: D:\ai_experiment\magic-animate-for-windows


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        2024/01/16     17:21                pretrained_models
Downloading MagicAnimate models...
Updated Git hooks.
Git LFS initialized.
WARNING: `git lfs clone` is deprecated and will not be updated
          with new flags from `git clone`

`git clone` has been updated in upstream Git to have comparable
speeds to `git lfs clone`.
Cloning into 'MagicAnimate'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 17 (delta 2), reused 0 (delta 0), pack-reused 4 (from 1)
Unpacking objects: 100% (17/17), 2.84 KiB | 24.00 KiB/s, done.

途中で

**Do you need to download SD15? If you don't have any SD15 model locally select y, if you want to change to another SD1.5 model select n. [y/n] (Default is y): **

と聞かれますので、 y を入力します

実行結果(つづき)


Downloading stable-diffusion-v1-5 models...
WARNING: `git lfs clone` is deprecated and will not be updated
          with new flags from `git clone`

`git clone` has been updated in upstream Git to have comparable
speeds to `git lfs clone`.
Cloning into 'stable-diffusion-v1-5'...
remote: Enumerating objects: 28, done.
remote: Total 28 (delta 0), reused 0 (delta 0), pack-reused 28 (from 1)
Unpacking objects: 100% (28/28), 520.99 KiB | 1.30 MiB/s, done.

さらに、また

Do you need to download control_v11p_sd15_openpose? If you want use it select y, if you dont want select n. [y/n] (Default is y):

と聞かれますので y を選択します

実行結果


Downloading control_v11p_sd15_openpose models...
WARNING: `git lfs clone` is deprecated and will not be updated
          with new flags from `git clone`

`git clone` has been updated in upstream Git to have comparable
speeds to `git lfs clone`.
Cloning into 'control_v11p_sd15_openpose'...
remote: Enumerating objects: 8, done.
remote: Total 8 (delta 0), reused 0 (delta 0), pack-reused 8 (from 1)
Unpacking objects: 100% (8/8), 1.34 KiB | 20.00 KiB/s, done.
Installing Video_controlnet_aux...), 723 MB | 68 MB/s
Submodule 'video_controlnet_aux' (https://github.com/sdbds/video_controlnet_aux) registered for path '../video_controlnet_aux'
Cloning into 'D:/ai_experiment/magic-animate-for-windows/video_controlnet_aux'...
Submodule path '../video_controlnet_aux': checked out '9a86fb8077e0fae573ad5240d615bb0a08765874'
Looking in indexes: https://mirror.baidu.com/pypi/simple, https://download.pytorch.org/whl/cu118
Requirement already satisfied: torch in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 2)) (2.0.1+cu118)
Requirement already satisfied: importlib_metadata in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 3)) (6.8.0)
Requirement already satisfied: huggingface_hub in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 4)) (0.16.4)
Requirement already satisfied: scipy in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 5)) (1.13.1)
Requirement already satisfied: opencv-python>=4.7.0.72 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 6)) (4.8.0.76)
Requirement already satisfied: filelock in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 7)) (3.12.2)
Requirement already satisfied: numpy in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 8)) (1.24.4)
Requirement already satisfied: Pillow in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 9)) (9.5.0)
Requirement already satisfied: einops in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 10)) (0.6.1)
Requirement already satisfied: torchvision in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 11)) (0.15.2+cu118)
Requirement already satisfied: pyyaml in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 12)) (6.0.1)
Requirement already satisfied: scikit-image in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 13)) (0.20.0)
Requirement already satisfied: python-dateutil in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 14)) (2.9.0.post0)
Collecting mediapipe (from -r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/c1/0f/4dc0802131756a9fe4d46d2824352014b85a75baca386cb9e43057f39f15/mediapipe-0.10.14-cp311-cp311-win_amd64.whl (50.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.8/50.8 MB 1.4 MB/s eta 0:00:00
Collecting svglib (from -r requirements.txt (line 16))
  Downloading https://mirror.baidu.com/pypi/packages/56/5b/53ca0fd447f73423c7dc59d34e523530ef434481a3d18808ff7537ad33ec/svglib-1.5.1.tar.gz (913 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 913.9/913.9 kB 6.5 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting fvcore (from -r requirements.txt (line 17))
  Downloading https://mirror.baidu.com/pypi/packages/a5/93/d056a9c4efc6c79ba7b5159cc66bb436db93d2cc46dca18ed65c59cc8e4e/fvcore-0.1.5.post20221221.tar.gz (50 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.2/50.2 kB ? eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting yapf (from -r requirements.txt (line 18))
  Downloading https://mirror.baidu.com/pypi/packages/66/c9/d4b03b2490107f13ebd68fe9496d41ae41a7de6275ead56d0d4621b11ffd/yapf-0.40.2-py3-none-any.whl (254 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 254.7/254.7 kB 5.2 MB/s eta 0:00:00
Requirement already satisfied: omegaconf in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements.txt (line 19)) (2.3.0)
Collecting ftfy (from -r requirements.txt (line 20))
  Downloading https://mirror.baidu.com/pypi/packages/f4/f0/21efef51304172736b823689aaf82f33dbc64f54e9b046b75f5212d5cee7/ftfy-6.2.0-py3-none-any.whl (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.4/54.4 kB 2.9 MB/s eta 0:00:00
Collecting addict (from -r requirements.txt (line 21))
  Downloading https://mirror.baidu.com/pypi/packages/6a/00/b08f23b7d7e1e14ce01419a467b583edbb93c6cdb8654e54a9cc579cd61f/addict-2.4.0-py3-none-any.whl (3.8 kB)
Requirement already satisfied: typing-extensions in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from torch->-r requirements.txt (line 2)) (4.9.0)
Requirement already satisfied: sympy in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from torch->-r requirements.txt (line 2)) (1.12)
Requirement already satisfied: networkx in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from torch->-r requirements.txt (line 2)) (3.1)
Requirement already satisfied: jinja2 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from torch->-r requirements.txt (line 2)) (3.1.2)
Requirement already satisfied: zipp>=0.5 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from importlib_metadata->-r requirements.txt (line 3)) (3.16.2)
Requirement already satisfied: fsspec in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from huggingface_hub->-r requirements.txt (line 4)) (2023.6.0)
Requirement already satisfied: requests in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from huggingface_hub->-r requirements.txt (line 4)) (2.31.0)
Requirement already satisfied: tqdm>=4.42.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from huggingface_hub->-r requirements.txt (line 4)) (4.66.1)
Requirement already satisfied: packaging>=20.9 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from huggingface_hub->-r requirements.txt (line 4)) (24.1)
Requirement already satisfied: imageio>=2.4.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from scikit-image->-r requirements.txt (line 13)) (2.9.0)
Requirement already satisfied: tifffile>=2019.7.26 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from scikit-image->-r requirements.txt (line 13)) (.5.22)
Requirement already satisfied: PyWavelets>=1.1.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from scikit-image->-r requirements.txt (line 13)) (1.6.0)
Requirement already satisfied: lazy_loader>=0.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from scikit-image->-r requirements.txt (line 13)) (0.4)
Requirement already satisfied: six>=1.5 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from python-dateutil->-r requirements.txt (line 14)) (1.16.0)
Requirement already satisfied: absl-py in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements.txt (line 15)) (1.4.0)
Requirement already satisfied: attrs>=19.1.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements.txt (line 15)) (23.1.0)
Collecting flatbuffers>=2.0 (from mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/41/f0/7e988a019bc54b2dbd0ad4182ef2d53488bb02e58694cd79d61369e85900/flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB)
Collecting jax (from mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/5b/ad/e05dfb934ab7ac55c6bb2e6f2b8de8641bcaec0a35078c3e91f645cd43ad/jax-0.4.29-py3-none-any.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 4.7 MB/s eta 0:00:00
Collecting jaxlib (from mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/2a/9d/39f7ddfe9b1782cfc50137c01178cfea83ed286e460f15e4f2ab61daecba/jaxlib-0.4.29-cp311-cp311-win_amd64.whl (51.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.5/51.5 MB 9.0 MB/s eta 0:00:00
Requirement already satisfied: matplotlib in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements.txt (line 15)) (3.7.2)
Collecting opencv-contrib-python (from mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/3a/98/fd10252d16ac2202c52e646b051e89ad4c9f884df47508bdcf312ae1929a/opencv_contrib_python-4.10.0.82-cp37-abi3-win_amd64.whl (45.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.5/45.5 MB 9.1 MB/s eta 0:00:00
Collecting protobuf<5,>=4.25.3 (from mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/ad/6e/1bed3b7c904cc178cb8ee8dbaf72934964452b3de95b7a63412591edb93c/protobuf-4.25.3-cp310-abi3-win_amd64.whl (413 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 413.4/413.4 kB 26.9 MB/s eta 0:00:00
Collecting sounddevice>=0.4.4 (from mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/d4/09/bfdd393f1bb1b90b4a6849b84972b7059c95e36818cc489922228d58cc63/sounddevice-0.4.7-py3-none-win_amd64.whl (200 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.1/200.1 kB 12.7 MB/s eta 0:00:00
Collecting reportlab (from svglib->-r requirements.txt (line 16))
  Downloading https://mirror.baidu.com/pypi/packages/37/f6/b53001d1d0ad4c19d038a7588a7271de9a351f8c5b9e1cbaa45164eb7245/reportlab-4.2.0-py3-none-any.whl (1.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 10.3 MB/s eta 0:00:00
Collecting lxml (from svglib->-r requirements.txt (line 16))
  Downloading https://mirror.baidu.com/pypi/packages/04/19/d6aa2d980f220a04c91d4de538d2fea1a65535e7b0a4aec0998ce46e3667/lxml-5.2.2-cp311-cp311-win_amd64.whl (3.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 11.1 MB/s eta 0:00:00
Collecting tinycss2>=0.6.0 (from svglib->-r requirements.txt (line 16))
  Downloading https://mirror.baidu.com/pypi/packages/2c/4d/0db5b8a613d2a59bbc29bc5bb44a2f8070eb9ceab11c50d477502a8a0092/tinycss2-1.3.0-py3-none-any.whl (22 kB)
Collecting cssselect2>=0.2.0 (from svglib->-r requirements.txt (line 16))
  Downloading https://mirror.baidu.com/pypi/packages/9d/3a/e39436efe51894243ff145a37c4f9a030839b97779ebcc4f13b3ba21c54e/cssselect2-0.7.0-py3-none-any.whl (15 kB)
Collecting yacs>=0.1.6 (from fvcore->-r requirements.txt (line 17))
  Downloading https://mirror.baidu.com/pypi/packages/38/4f/fe9a4d472aa867878ce3bb7efb16654c5d63672b86dc0e6e953a67018433/yacs-0.1.8-py3-none-any.whl (14 kB)
Collecting termcolor>=1.1 (from fvcore->-r requirements.txt (line 17))
  Downloading https://mirror.baidu.com/pypi/packages/d9/5f/8c716e47b3a50cbd7c146f45881e11d9414def768b7cd9c5e6650ec2a80a/termcolor-2.4.0-py3-none-any.whl (7.7 kB)
Collecting tabulate (from fvcore->-r requirements.txt (line 17))
  Downloading https://mirror.baidu.com/pypi/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting iopath>=0.1.7 (from fvcore->-r requirements.txt (line 17))
  Downloading https://mirror.baidu.com/pypi/packages/72/73/b3d451dfc523756cf177d3ebb0af76dc7751b341c60e2a21871be400ae29/iopath-0.1.10.tar.gz (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.2/42.2 kB ? eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting platformdirs>=3.5.1 (from yapf->-r requirements.txt (line 18))
  Downloading https://mirror.baidu.com/pypi/packages/68/13/2aa1f0e1364feb2c9ef45302f387ac0bd81484e9c9a4c5688a322fbdfd08/platformdirs-4.2.2-py3-none-any.whl (18 kB)
Collecting tomli>=2.0.1 (from yapf->-r requirements.txt (line 18))
  Downloading https://mirror.baidu.com/pypi/packages/97/75/10a9ebee3fd790d20926a90a2547f0bf78f371b2f13aa822c759680ca7b9/tomli-2.0.1-py3-none-any.whl (12 kB)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from omegaconf->-r requirements.txt (line 19)) (4.9.3)
Collecting wcwidth<0.3.0,>=0.2.12 (from ftfy->-r requirements.txt (line 20))
  Downloading https://mirror.baidu.com/pypi/packages/fd/84/fd2ba7aafacbad3c4201d395674fc6348826569da3c0937e75505ead3528/wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Collecting webencodings (from cssselect2>=0.2.0->svglib->-r requirements.txt (line 16))
  Downloading https://mirror.baidu.com/pypi/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting portalocker (from iopath>=0.1.7->fvcore->-r requirements.txt (line 17))
  Downloading https://mirror.baidu.com/pypi/packages/17/9e/87671efcca80ba6203811540ed1f9c0462c1609d2281d7b7f53cef05da3d/portalocker-2.8.2-py3-none-any.whl (17 kB)
Collecting CFFI>=1.0 (from sounddevice>=0.4.4->mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/5a/c7/694814b3757878b29da39bc2f0cf9d20295f4c1e0a0bde7971708d5f23f8/cffi-1.16.0-cp311-cp311-win_amd64.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.5/181.5 kB ? eta 0:00:00
Requirement already satisfied: colorama in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from tqdm>=4.42.1->huggingface_hub->-r requirements.txt (line 4)) (0.4.6)
Collecting ml-dtypes>=0.4.0 (from jax->mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/f0/36/290745178e5776f7416818abc1334c1b19afb93c7c87fd1bef3cc99f84ca/ml_dtypes-0.4.0-cp311-cp311-win_amd64.whl (126 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.8/126.8 kB 1.9 MB/s eta 0:00:00
Collecting opt-einsum (from jax->mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/bc/19/404708a7e54ad2798907210462fd950c3442ea51acc8790f3da48d2bee8b/opt_einsum-3.3.0-py3-none-any.whl (65 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB ? eta 0:00:00
Requirement already satisfied: MarkupSafe>=2.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from jinja2->torch->-r requirements.txt (line 2)) (2.1.3)
Requirement already satisfied: contourpy>=1.0.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements.txt (line 15)) (1.1.0)
Requirement already satisfied: cycler>=0.10 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements.txt (line 15)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements.txt (line 15)) (4.42.1)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements.txt (line 15)) (1.4.5)
Requirement already satisfied: pyparsing<3.1,>=2.3.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements.txt (line 15)) (3.0.9)
Collecting chardet (from reportlab->svglib->-r requirements.txt (line 16))
  Downloading https://mirror.baidu.com/pypi/packages/38/6f/f5fbc992a329ee4e0f288c1fe0e2ad9485ed064cac731ed2fe47dcc38cbf/chardet-5.2.0-py3-none-any.whl (199 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.4/199.4 kB ? eta 0:00:00
Requirement already satisfied: charset-normalizer<4,>=2 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from requests->huggingface_hub->-r requirements.txt (line 4)) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from requests->huggingface_hub->-r requirements.txt (line 4)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from requests->huggingface_hub->-r requirements.txt (line 4)) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from requests->huggingface_hub->-r requirements.txt (line 4)) (2023.7.22)
Requirement already satisfied: mpmath>=0.19 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from sympy->torch->-r requirements.txt (line 2)) (1.3.0)
Collecting pycparser (from CFFI>=1.0->sounddevice>=0.4.4->mediapipe->-r requirements.txt (line 15))
  Downloading https://mirror.baidu.com/pypi/packages/13/a3/a812df4e2dd5696d1f351d58b8fe16a405b234ad2886a0dab9183fb78109/pycparser-2.22-py3-none-any.whl (117 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.6/117.6 kB ? eta 0:00:00
Collecting pywin32>=226 (from portalocker->iopath>=0.1.7->fvcore->-r requirements.txt (line 17))
  Downloading https://mirror.baidu.com/pypi/packages/7e/9e/ad6b1ae2a5ad1066dc509350e0fbf74d8d50251a51e420a2a8feaa0cecbd/pywin32-306-cp311-cp311-win_amd64.whl (9.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.2/9.2 MB 10.5 MB/s eta 0:00:00
Building wheels for collected packages: svglib, fvcore, iopath
  Building wheel for svglib (setup.py) ... done
  Created wheel for svglib: filename=svglib-1.5.1-py3-none-any.whl size=30976 sha256=64b73cf46980d3f37e4fba5ec9efd015dd201e7b29aa070d17fa056b249276e2
  Stored in directory: c:\users\ml\appdata\local\pip\cache\wheels\76\a7\b8\d08f3be7b428bb97bfd03bd8744cf9c1c127bc49d1157562f8
  Building wheel for fvcore (setup.py) ... done
  Created wheel for fvcore: filename=fvcore-0.1.5.post20221221-py3-none-any.whl size=61413 sha256=88e58375ca676cd7064642375c51ca1241980af6084178149dccd3d21aa8cf31
  Stored in directory: c:\users\ml\appdata\local\pip\cache\wheels\67\26\9f\8f567837704af0c16b4382d09d87bc7f991f6af5b01d8b62d3
  Building wheel for iopath (setup.py) ... done
  Created wheel for iopath: filename=iopath-0.1.10-py3-none-any.whl size=31543 sha256=b0d9e736eb65f8e3f8be89695b5459a34ad6c1d223400a6b3e420103616fafb0
  Stored in directory: c:\users\ml\appdata\local\pip\cache\wheels\a9\13\a9\8967a01d080719d10b0e47e313c198b08f141abde7882f50fe
Successfully built svglib fvcore iopath
Installing collected packages: webencodings, wcwidth, pywin32, flatbuffers, addict, yacs, tomli, tinycss2, termcolor, tabulate, pycparser, protobuf, portalocker, platformdirs, opt-einsum, opencv-contrib-python, ml-dtypes, lxml, ftfy, chardet, yapf, reportlab, jaxlib, jax, iopath, cssselect2, CFFI, svglib, sounddevice, fvcore, mediapipe
  Attempting uninstall: protobuf
    Found existing installation: protobuf 4.24.2
    Uninstalling protobuf-4.24.2:
      Successfully uninstalled protobuf-4.24.2
Successfully installed CFFI-1.16.0 addict-2.4.0 chardet-5.2.0 cssselect2-0.7.0 flatbuffers-24.3.25 ftfy-6.2.0 fvcore-0.1.5.post20221221 iopath-0.1.10 jax-0.4.29 jaxlib-0.4.29 lxml-5.2.2 mediapipe-0.10.14 ml-dtypes-0.4.0 opencv-contrib-python-4.10.0.82 opt-einsum-3.3.0 platformdirs-4.2.2 portalocker-2.8.2 protobuf-4.25.3 pycparser-2.22 pywin32-306 reportlab-4.2.0 sounddevice-0.4.7 svglib-1.5.1 tabulate-0.9.0 termcolor-2.4.0 tinycss2-1.3.0 tomli-2.0.1 wcwidth-0.2.13 webencodings-0.5.1 yacs-0.1.8 yapf-0.40.2
Looking in indexes: https://mirror.baidu.com/pypi/simple
Collecting moviepy (from -r requirements-video.txt (line 1))
  Downloading https://mirror.baidu.com/pypi/packages/18/54/01a8c4e35c75ca9724d19a7e4de9dc23f0ceb8769102c7de056113af61c3/moviepy-1.0.3.tar.gz (388 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 388.3/388.3 kB 691.2 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: mediapipe in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from -r requirements-video.txt (line 2)) (0.10.14)
Collecting openmim (from -r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/00/b3/95531cee452028869d0e08974561f83e9c256c98f62c7a45a51893a61c54/openmim-0.3.9-py2.py3-none-any.whl (52 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.7/52.7 kB 902.6 kB/s eta 0:00:00
Collecting decorator<5.0,>=4.0.2 (from moviepy->-r requirements-video.txt (line 1))
  Downloading https://mirror.baidu.com/pypi/packages/ed/1b/72a1821152d07cf1d8b6fce298aeb06a7eb90f4d6d41acec9861e7cc6df0/decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Requirement already satisfied: tqdm<5.0,>=4.11.2 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from moviepy->-r requirements-video.txt (line 1)) (4.66.1)
Requirement already satisfied: requests<3.0,>=2.8.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from moviepy->-r requirements-video.txt (line 1)) (2.31.0)
Collecting proglog<=1.0.0 (from moviepy->-r requirements-video.txt (line 1))
  Downloading https://mirror.baidu.com/pypi/packages/8b/f5/cab5cf6a540c31f5099043de0ae43990fd9cf66f75ecb5e9f254a4e4d4ee/proglog-0.1.10-py3-none-any.whl (6.1 kB)
Requirement already satisfied: numpy>=1.17.3 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from moviepy->-r requirements-video.txt (line 1)) (1.24.4)
Requirement already satisfied: imageio<3.0,>=2.5 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from moviepy->-r requirements-video.txt (line 1)) (2.9.0)
Requirement already satisfied: imageio_ffmpeg>=0.2.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from moviepy->-r requirements-video.txt (line 1)) (0.4.3)
Requirement already satisfied: absl-py in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (1.4.0)
Requirement already satisfied: attrs>=19.1.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (23.1.0)
Requirement already satisfied: flatbuffers>=2.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (24.3.25)
Requirement already satisfied: jax in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (0.4.29)
Requirement already satisfied: jaxlib in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (0.4.29)
Requirement already satisfied: matplotlib in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (3.7.2)
Requirement already satisfied: opencv-contrib-python in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (4.10.0.82)
Requirement already satisfied: protobuf<5,>=4.25.3 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (4.25.3)
Requirement already satisfied: sounddevice>=0.4.4 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from mediapipe->-r requirements-video.txt (line 2)) (0.4.7)
Requirement already satisfied: Click in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from openmim->-r requirements-video.txt (line 3)) (8.1.7)
Requirement already satisfied: colorama in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from openmim->-r requirements-video.txt (line 3)) (0.4.6)
Collecting model-index (from openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/0f/a6/4d4cbbef704f186d143e2859296a610a355992e4eae71582bd598093b36a/model_index-0.1.11-py3-none-any.whl (34 kB)
Collecting opendatalab (from openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/10/82/28fa3a91b7c4852fbad9ad32c7b49e4b1e212ab7ccf7296736da0935070d/opendatalab-0.0.10-py3-none-any.whl (29 kB)
Requirement already satisfied: pandas in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from openmim->-r requirements-video.txt (line 3)) (2.0.3)
Requirement already satisfied: pip>=19.3 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from openmim->-r requirements-video.txt (line 3)) (23.1.2)
Requirement already satisfied: rich in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from openmim->-r requirements-video.txt (line 3)) (13.7.1)
Requirement already satisfied: tabulate in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from openmim->-r requirements-video.txt (line 3)) (0.9.0)
Requirement already satisfied: pillow in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from imageio<3.0,>=2.5->moviepy->-r requirements-video.txt (line 1)) (9.5.0)
Requirement already satisfied: charset-normalizer<4,>=2 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from requests<3.0,>=2.8.1->moviepy->-r requirements-video.txt (line 1)) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from requests<3.0,>=2.8.1->moviepy->-r requirements-video.txt (line 1)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from requests<3.0,>=2.8.1->moviepy->-r requirements-video.txt (line 1)) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from requests<3.0,>=2.8.1->moviepy->-r requirements-video.txt (line 1)) (2023.7.22)
Requirement already satisfied: CFFI>=1.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from sounddevice>=0.4.4->mediapipe->-r requirements-video.txt (line 2)) (1.16.0)
Requirement already satisfied: ml-dtypes>=0.4.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from jax->mediapipe->-r requirements-video.txt (line 2)) (0.4.0)
Requirement already satisfied: opt-einsum in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from jax->mediapipe->-r requirements-video.txt (line 2)) (3.3.0)
Requirement already satisfied: scipy>=1.9 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from jax->mediapipe->-r requirements-video.txt (line 2)) (1.13.1)
Requirement already satisfied: contourpy>=1.0.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements-video.txt (line 2)) (1.1.0)
Requirement already satisfied: cycler>=0.10 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements-video.txt (line 2)) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements-video.txt (line 2)) (4.42.1)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements-video.txt (line 2)) (1.4.5)
Requirement already satisfied: packaging>=20.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements-video.txt (line 2)) (24.1)
Requirement already satisfied: pyparsing<3.1,>=2.3.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements-video.txt (line 2)) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from matplotlib->mediapipe->-r requirements-video.txt (line 2)) (2.9.0.post0)
Requirement already satisfied: pyyaml in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from model-index->openmim->-r requirements-video.txt (line 3)) (6.0.1)
Requirement already satisfied: markdown in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from model-index->openmim->-r requirements-video.txt (line 3)) (3.4.4)
Collecting ordered-set (from model-index->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/33/55/af02708f230eb77084a299d7b08175cff006dea4f2721074b92cdb0296c0/ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Collecting pycryptodome (from opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/1f/90/d131c0eb643290230dfa4108b7c2d135122d88b714ad241d77beb4782a76/pycryptodome-3.20.0-cp35-abi3-win_amd64.whl (1.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 3.9 MB/s eta 0:00:00
Collecting openxlab (from opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/c2/c0/6d51e33554a6aaff8f81e7f7134bbcc7719c95115b7b5db9135e486b9140/openxlab-0.1.0-py3-none-any.whl (307 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.4/307.4 kB 18.6 MB/s eta 0:00:00
Requirement already satisfied: pywin32 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from opendatalab->openmim->-r requirements-video.txt (line 3)) (306)
Requirement already satisfied: pytz>=2020.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from pandas->openmim->-r requirements-video.txt (line 3)) (2023.3)
Requirement already satisfied: tzdata>=2022.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from pandas->openmim->-r requirements-video.txt (line 3)) (2023.3)
Requirement already satisfied: markdown-it-py>=2.2.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from rich->openmim->-r requirements-video.txt (line 3)) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from rich->openmim->-r requirements-video.txt (line 3)) (2.18.0)
Requirement already satisfied: pycparser in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from CFFI>=1.0->sounddevice>=0.4.4->mediapipe->-r requirements-video.txt (line 2)) (2.22)
Requirement already satisfied: mdurl~=0.1 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from markdown-it-py>=2.2.0->rich->openmim->-r requirements-video.txt (line 3)) (0.1.2)
Requirement already satisfied: six>=1.5 in d:\ai_experiment\magic-animate-for-windows\venv\lib\site-packages (from python-dateutil>=2.7->matplotlib->mediapipe->-r requirements-video.txt (line 2)) (1.16.0)
Collecting filelock~=3.14.0 (from openxlab->opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/41/24/0b023b6537dfc9bae2c779353998e3e99ac7dfff4222fc6126650e93c3f3/filelock-3.14.0-py3-none-any.whl (12 kB)
Collecting oss2~=2.17.0 (from openxlab->opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/86/e7/017f8a5948d70e130815eebd14c25dfad916bd574590f2d7e046f19eee3f/oss2-2.17.0.tar.gz (259 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 259.5/259.5 kB 15.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting requests<3.0,>=2.8.1 (from moviepy->-r requirements-video.txt (line 1))
  Downloading https://mirror.baidu.com/pypi/packages/d2/f4/274d1dbe96b41cf4e0efb70cbced278ffd61b5c7bb70338b62af94ccb25b/requests-2.28.2-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 3.5 MB/s eta 0:00:00
Collecting rich (from openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/fc/1e/482e5eec0b89b593e81d78f819a9412849814e22225842b598908e7ac560/rich-13.4.2-py3-none-any.whl (239 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.4/239.4 kB 15.3 MB/s eta 0:00:00
Collecting setuptools~=60.2.0 (from openxlab->opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/8e/16/8f64922c8d7cd7ec193b145c9b11ad281064ff8604452ba19a6d5bbd7ed9/setuptools-60.2.0-py3-none-any.whl (953 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 953.1/953.1 kB 11.9 MB/s eta 0:00:00
Collecting tqdm<5.0,>=4.11.2 (from moviepy->-r requirements-video.txt (line 1))
  Downloading https://mirror.baidu.com/pypi/packages/c0/ab/bd9ba7f84c509c8b377628bc66696d52623e30c6c0830db3c78748eec4b4/tqdm-4.65.2-py3-none-any.whl (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 4.5 MB/s eta 0:00:00
Collecting crcmod>=1.7 (from oss2~=2.17.0->openxlab->opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/6b/b0/e595ce2a2527e169c3bcd6c33d2473c1918e0b7f6826a043ca1245dd4e5b/crcmod-1.7.tar.gz (89 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.7/89.7 kB ? eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2~=2.17.0->openxlab->opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/89/b4/ad457761ca26b18a9b0f534b84fec2df59c5fde62dc7786768e2b0edd702/aliyun_python_sdk_kms-2.16.3-py2.py3-none-any.whl (98 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.1/98.1 kB ? eta 0:00:00
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2~=2.17.0->openxlab->opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/3a/e6/f579e8a5e26ef1066f6fb11074cedc9f668cb5f722c85cf7adc0f7e2e23e/aliyun-python-sdk-core-2.15.1.tar.gz (443 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 443.1/443.1 kB 13.5 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting jmespath<1.0.0,>=0.9.3 (from aliyun-python-sdk-core>=2.13.12->oss2~=2.17.0->openxlab->opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/07/cb/5f001272b6faeb23c1c9e0acc04d48eaaf5c862c17709d20e3469c6e0139/jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting cryptography>=2.6.0 (from aliyun-python-sdk-core>=2.13.12->oss2~=2.17.0->openxlab->opendatalab->openmim->-r requirements-video.txt (line 3))
  Downloading https://mirror.baidu.com/pypi/packages/a2/7b/b0d330852dd5953daee6b15f742f15d9f18e9c0154eb4cfcc8718f0436da/cryptography-42.0.8-cp39-abi3-win_amd64.whl (2.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 10.9 MB/s eta 0:00:00
Building wheels for collected packages: moviepy, oss2, aliyun-python-sdk-core, crcmod
  Building wheel for moviepy (setup.py) ... done
  Created wheel for moviepy: filename=moviepy-1.0.3-py3-none-any.whl size=110765 sha256=e69496274922f9fbaad022da0e61934bc9f12f1fc1150b1df8f888d452c68c45
  Stored in directory: c:\users\ml\appdata\local\pip\cache\wheels\d7\fb\4a\dc879c02b61bdf5af9ea4d4597584e2efdb732535b9f6db713
  Building wheel for oss2 (setup.py) ... done
  Created wheel for oss2: filename=oss2-2.17.0-py3-none-any.whl size=112427 sha256=6f9209204acda27b076f9c1535abe3f2bef411caafe515db21e797e5074492d1
  Stored in directory: c:\users\ml\appdata\local\pip\cache\wheels\99\52\da\df6e576cc8838de542556dc5e3e728b3679e345427441f1d4d
  Building wheel for aliyun-python-sdk-core (setup.py) ... done
  Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.15.1-py3-none-any.whl size=535341 sha256=e69edbfd184130357017f4089f45c65e9e6fa6161bc02b97f4073b92eb641d03
  Stored in directory: c:\users\ml\appdata\local\pip\cache\wheels\37\ff\46\20b55b0ffac0b896afb4c52c46f2bd07a3225cf6f509ffe33e
  Building wheel for crcmod (setup.py) ... done
  Created wheel for crcmod: filename=crcmod-1.7-cp311-cp311-win_amd64.whl size=25025 sha256=e96c545ef71581e9f9e778cb3c40b0b87a4d79f859fa92616bea572a17044dca
  Stored in directory: c:\users\ml\appdata\local\pip\cache\wheels\4e\f0\4b\0f8f16d092db2f224476aa182963488cc25a30a87ea329661b
Successfully built moviepy oss2 aliyun-python-sdk-core crcmod
Installing collected packages: crcmod, tqdm, setuptools, requests, pycryptodome, ordered-set, jmespath, filelock, decorator, rich, proglog, model-index, cryptography, moviepy, aliyun-python-sdk-core, aliyun-python-sdk-kms, oss2, openxlab, opendatalab, openmim
  Attempting uninstall: tqdm
    Found existing installation: tqdm 4.66.1
    Uninstalling tqdm-4.66.1:
      Successfully uninstalled tqdm-4.66.1
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.5.0
    Uninstalling setuptools-65.5.0:
      Successfully uninstalled setuptools-65.5.0
  Attempting uninstall: requests
    Found existing installation: requests 2.31.0
    Uninstalling requests-2.31.0:
      Successfully uninstalled requests-2.31.0
  Attempting uninstall: filelock
    Found existing installation: filelock 3.12.2
    Uninstalling filelock-3.12.2:
      Successfully uninstalled filelock-3.12.2
  Attempting uninstall: rich
    Found existing installation: rich 13.7.1
    Uninstalling rich-13.7.1:
      Successfully uninstalled rich-13.7.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchaudio 2.3.1+cu118 requires torch==2.3.1+cu118, but you have torch 2.0.1+cu118 which is incompatible.
Successfully installed aliyun-python-sdk-core-2.15.1 aliyun-python-sdk-kms-2.16.3 crcmod-1.7 cryptography-42.0.8 decorator-4.4.2 filelock-3.14.0 jmespath-0.10.0 model-index-0.1.11 moviepy-1.0.3 opendatalab-0.0.10 openmim-0.3.9 openxlab-0.1.0 ordered-set-4.1.0 oss2-2.17.0 proglog-0.1.10 pycryptodome-3.20.0 requests-2.28.2 rich-13.4.2 setuptools-60.2.0 tqdm-4.65.2
Install completed

途中、エラーメッセージなどいくつか表示されることがありますが、基本きにしなくてOKです

実行

インストールがおわると、ディレクトリ位置が変化してしまっているので、1つ上に戻りましょう

PS D:\ai_experiment\magic-animate-for-windows\video_controlnet_aux> cd..

そこで、

.\run_gui.ps1

を実行します

実行結果

(venv) PS D:\ai_experiment\magic-animate-for-windows\video_controlnet_aux> cd..
(venv) PS D:\ai_experiment\magic-animate-for-windows> .\run_gui.ps1
D:\ai_experiment\magic-animate-for-windows\magicanimate\pipelines\pipeline_animation.py:43: FutureWarning: Importing `DiffusionPipeline` or `ImagePipelineOutput` from diffusers.pipeline_utils is deprecated. Please import from diffusers.pipelines.pipeline_utils instead.
  from diffusers.pipeline_utils import DiffusionPipeline
Initializing MagicAnimate Pipeline...
Downloading tokenizer/vocab.json: 100%|███████████████████████████████████████████| 1.06M/1.06M [00:00<00:00, 2.50MB/s]
Downloading tokenizer/merges.txt: 100%|█████████████████████████████████████████████| 525k/525k [00:00<00:00, 1.23MB/s]
Downloading (…)cial_tokens_map.json: 100%|████████████████████████████████████████████████████| 472/472 [00:00<?, ?B/s]
Downloading (…)okenizer_config.json: 100%|████████████████████████████████████████████████████| 806/806 [00:00<?, ?B/s]
### missing keys: 1246;
### unexpected keys: 51;
The config attributes {'addition_embed_type': None, 'addition_embed_type_num_heads': 64, 'addition_time_embed_dim': None, 'conditioning_channels': 3, 'encoder_hid_dim': None, 'encoder_hid_dim_type': None, 'global_pool_conditions': False, 'num_attention_heads': None, 'transformer_layers_per_block': 1} were passed to ControlNetModel, but are not expected and will be ignored. Please verify your config.json configuration file.
It is recommended to provide `attention_head_dim` when calling `get_down_block`. Defaulting `attention_head_dim` to 8.
It is recommended to provide `attention_head_dim` when calling `get_down_block`. Defaulting `attention_head_dim` to 8.
It is recommended to provide `attention_head_dim` when calling `get_down_block`. Defaulting `attention_head_dim` to 8.
It is recommended to provide `attention_head_dim` when calling `get_down_block`. Defaulting `attention_head_dim` to 8.
Using Densepose ControlNet
D:\ai_experiment\magic-animate-for-windows\magicanimate\pipelines\pipeline_animation.py:103: FutureWarning: The configuration file of this scheduler: DDIMScheduler {
  "_class_name": "DDIMScheduler",
  "_diffusers_version": "0.21.4",
  "beta_end": 0.012,
  "beta_schedule": "linear",
  "beta_start": 0.00085,
  "clip_sample": true,
  "clip_sample_range": 1.0,
  "dynamic_thresholding_ratio": 0.995,
  "num_train_timesteps": 1000,
  "prediction_type": "epsilon",
  "rescale_betas_zero_snr": false,
  "sample_max_value": 1.0,
  "set_alpha_to_one": true,
  "steps_offset": 0,
  "thresholding": false,
  "timestep_spacing": "leading",
  "trained_betas": null
}
 is outdated. `steps_offset` should be set to 1 instead of 0. Please make sure to update the config accordingly as leaving `steps_offset` might led to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the `scheduler/scheduler_config.json` file
  deprecate("steps_offset!=1", "1.0.0", deprecation_message, standard_warn=False)
D:\ai_experiment\magic-animate-for-windows\magicanimate\pipelines\pipeline_animation.py:116: FutureWarning: The configuration file of this scheduler: DDIMScheduler {
  "_class_name": "DDIMScheduler",
  "_diffusers_version": "0.21.4",
  "beta_end": 0.012,
  "beta_schedule": "linear",
  "beta_start": 0.00085,
  "clip_sample": true,
  "clip_sample_range": 1.0,
  "dynamic_thresholding_ratio": 0.995,
  "num_train_timesteps": 1000,
  "prediction_type": "epsilon",
  "rescale_betas_zero_snr": false,
  "sample_max_value": 1.0,
  "set_alpha_to_one": true,
  "steps_offset": 1,
  "thresholding": false,
  "timestep_spacing": "leading",
  "trained_betas": null
}
 has not set the configuration `clip_sample`. `clip_sample` should be set to False in the configuration file. Please make sure to update the config accordingly as not setting `clip_sample` in the config might lead to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the `scheduler/scheduler_config.json` file
  deprecate("clip_sample not set", "1.0.0", deprecation_message, standard_warn=False)
Initialization Done!
IMPORTANT: You are using gradio version 4.8.0, however version 4.29.0 is available, please upgrade.
--------
Running on local URL:  http://127.0.0.1:7860
Running on public URL: https://78b5770dd2028aa648.gradio.live

このようにサーバーが起動します。

public URL も仕込まれるようです。

動画生成をためしてみる

では、以下の画像を早速入力してみましょう

URL http://127.0.0.1:7860/ を開いて画像を入力します

4分程度まつと、以下のような動画が完成しました。簡単ですね。

実行結果

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)
D:\ai_experiment\magic-animate-for-windows\magicanimate\pipelines\pipeline_animation.py:624: FutureWarning: Accessing config attribute `in_channels` directly via 'UNet3DConditionModel' object attribute is deprecated. Please access 'in_channels' over 'UNet3DConditionModel's config object instead, e.g. 'unet.config.in_channels'.
  num_channels_latents = self.unet.in_channels
100%|██████████████████████████████████████████████████████████████████████████████████| 25/25 [04:13<00:00, 10.12s/it]
100%|████████████████████████████████████████████████████████████████████████████████| 112/112 [00:06<00:00, 16.08it/s]
IMAGEIO FFMPEG_WRITER WARNING: input image is not divisible by macro_block_size=16, resizing from (1544, 516) to (1552, 528) to ensure video compatibility with most codecs and players. To prevent resizing, make your input image divisible by the macro_block_size or set the macro_block_size to 1 (risking incompatibility).

Read more

【ChatStream】大容量のLLMの推論に必要なGPUサーバー構成

【ChatStream】大容量のLLMの推論に必要なGPUサーバー構成

大容量のLLM(大規模言語モデル)の推論に必要なGPUサーバー構成とChatStreamとの連携について詳しく動画で解説しています。 特に、Llama3-70Bモデルを例に、そのメモリ要件(140GBのGPUメモリ)と、この要件を満たすために必要なGPUサーバーおよびGPUクラスターの構成について、取り扱いやすい NVIDIA RTX A6000 GPUを使用した例について説明します。 また、モデル並列化技術(テンソル並列化、パイプライン並列化、データ並列化)とその推論エンジンの選択についても触れ、実際に複数のGPUサーバーを使ったクラスター構成がどのように推論処理を効率的に行うかを示します。 最後に、ChatStreamのLLMノードとは何か、そしてそれをどのようにスケーリングして大量の同時リクエストに対応するかについても解説します。こ の動画は、高性能を必要とするLLMのデプロイメントと運用に興味がある方に特に有益です。

By Join us, Michele on Qualiteg's adventure to innovation
ChatStream🄬でLlama-3-Elyza-JP-8B を動かす

ChatStream🄬でLlama-3-Elyza-JP-8B を動かす

こんにちは、本日は Llama-3-Elyza-JP-8B を使ってみました。 昨日 2024年6月26日に発表(https://prtimes.jp/main/html/rd/p/000000046.000047565.html)された Llama-3-Elyza-JP-8B は 70B 版では「GPT-4」を上回る性能の日本語LLMといわれています。 今回、当社でも Playground 環境に Llama-3-Elyza-JP-8B を搭載して試してみましたのでご紹介します。 70B(700億パラメータ)版は GPT-4 を上回るとのことですので、8B(80億パラメータ)版はGPT-3.5 と比較してみることにいたしました。 (性能比較は https://note.com/elyza/n/n360b6084fdbd の記事に詳しく書いてあります。) AWQ量子化版を使用してみる 今回は、A4000

By Qualiteg プロダクト開発部
AttributeError: module 'torch._dynamo' has no attribute 'mark_static_address' が発生したときの対処法

AttributeError: module 'torch._dynamo' has no attribute 'mark_static_address' が発生したときの対処法

以下のようなエラーが出た場合の対処法 File "/venv/Lib/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/venv/Lib/site-packages/transformers/generation/utils.py", line 1744, in generate model_kwargs["past_key_values"] = self._get_cache( ^^^^^^^^^^^^^^^^ File "/venv/Lib/site-packages/transformers/

By Qualiteg プロダクト開発部
[AI新規事業創出]Qualitegセレクション:アイディア創造編①Qualiteg式オンラインブレストの活用術

[AI新規事業創出]Qualitegセレクション:アイディア創造編①Qualiteg式オンラインブレストの活用術

Qualiteg blogを訪問してくださった皆様、こんにちは。Micheleです。AIを活用した新規事業やマーケティングを手がけている私には、クライアントからよく寄せられる質問があります。AIを用いた事業展開を検討されている方々が共通して直面するであろう課題に対して、このブログを通じて私なりの解答をご提供したいと思います。 今日は私のお気に入りのブレスト方法である「Qualiteg式オンラインブレスト」の活用術についてお話ししたいと思います。 場所を変えて気分を変えても良いアイディアは生まれない!? よく、「金曜日は1日ブレストしよう!」という上司の掛け声とともに、いつもと違う雰囲気なら良いアイディアも出るかもしれないといってホテルの会議室などを予約されて1日缶詰でブレストしたが、期待する結果が出なかったとおっしゃるクライアントが非常に多いです。 ブレインストーミングは複数の参加者が自由にアイデアを出し合うことで、新しい発想や解決策を見つける手法です。 批判や評価を一時的に排除し、量を重視して多くのアイデアを集めることが目的です。1950年代に広告業界で生まれたこの手法は

By Join us, Michele on Qualiteg's adventure to innovation