#author("2022-12-15T19:56:12+00:00","default:mizutu","mizutu") #author("2022-12-15T19:57:46+00:00","default:mizutu","mizutu") [[私的AI研究会]] > StableDef * Stable-Diffusion [#nea604f1] #ref(output_tom_s05_1.jpg,right,around,25%,output_tom_s05_1.jpg) #ref(output_tom_s05_2.jpg,right,around,25%,output_tom_s05_2.jpg) 画像生成AI「Stable-Diffusion」を試してみる~ #contents #clear RIGHT:&size(12){※ 最終更新:2022/12/16 }; ** インストールと環境設定 [#y7e988ce] OpenVINO™ 版の「Stable-Diffusion」[[https://github.com/bes-dev/stable_diffusion.openvino]] を試す~ プロジェクトは「workspace_py38/」直下に作成する~ *** プロジェクトパッケージを利用の場合 [#m61bba7a] - Windows~ [[update_20221116.zip>https://izutsu.aa0.netvolante.jp/download/linux/update_20221116.zip]] (16MB) <プロジェクト一式>~ ダウンロードしたパッケージを解凍し、「anaconda_win/」フォルダ内に配置する~ - Linux~ [[update_20221116.tar.gz>https://izutsu.aa0.netvolante.jp/download/linux/update_20221116.tar.gz]] (16MB) <プロジェクト一式>~ ダウンロードしたパッケージを解凍し、ホームディレクトリ「~/」の直下に配置する~ &color(blue){次項へ → };[[OpenVINO™ ランタイムと必要パッケージのインストール>#nb2ee932]]~ ***「Stable-Diffusion」最新版のダウンロード [#ec301a22] - プロジェクト・ディレクトリを作成しディレクトリ内にダウンロード/展開する~ #codeprettify(){{ $ mkdir stable_diffusion $ cd stable_diffusion/ $ wget https://github.com/bes-dev/stable_diffusion.openvino/archive/refs/heads/master.zip $ unzip master.zip }} #divregion( 詳細ログ(Linuxの例)) #codeprettify(){{ $ mkdir stable_diffusion $ cd stable_diffusion/ $ wget https://github.com/bes-dev/stable_diffusion.openvino/archive/refs/heads/master.zip --2022-11-13 16:10:37-- https://github.com/bes-dev/stable_diffusion.openvino/archive/refs/heads/master.zip github.com (github.com) をDNSに問いあわせています... 20.27.177.113 github.com (github.com)|20.27.177.113|:443 に接続しています... 接続しました。 HTTP による接続要求を送信しました、応答を待っています... 302 Found 場所: https://codeload.github.com/bes-dev/stable_diffusion.openvino/zip/refs/heads/master [続く] --2022-11-13 16:10:37-- https://codeload.github.com/bes-dev/stable_diffusion.openvino/zip/refs/heads/master codeload.github.com (codeload.github.com) をDNSに問いあわせています... 20.27.177.114 codeload.github.com (codeload.github.com)|20.27.177.114|:443 に接続しています... 接続しました。 HTTP による接続要求を送信しました、応答を待っています... 200 OK 長さ: 2714608 (2.6M) [application/zip] `master.zip' に保存中 master.zip 100%[===================>] 2.59M --.-KB/s in 0.1s 2022-11-13 16:10:37 (19.2 MB/s) - `master.zip' へ保存完了 [2714608/2714608] $ unzip master.zip Archive: master.zip 72d3ad67f078b25bc5ae191f6e49078cebd1f791 creating: stable_diffusion.openvino-master/ inflating: stable_diffusion.openvino-master/.gitignore inflating: stable_diffusion.openvino-master/Dockerfile inflating: stable_diffusion.openvino-master/LICENSE inflating: stable_diffusion.openvino-master/LICENSE_MODEL inflating: stable_diffusion.openvino-master/README.md creating: stable_diffusion.openvino-master/data/ inflating: stable_diffusion.openvino-master/data/demo_web.png inflating: stable_diffusion.openvino-master/data/input.png inflating: stable_diffusion.openvino-master/data/mask.png inflating: stable_diffusion.openvino-master/data/title.png inflating: stable_diffusion.openvino-master/demo.py inflating: stable_diffusion.openvino-master/demo_web.py inflating: stable_diffusion.openvino-master/docker-compose.yaml inflating: stable_diffusion.openvino-master/requirements.txt inflating: stable_diffusion.openvino-master/stable_diffusion_engine.py }} #enddivregion -「stable_diffusion.openvino-master/」フォルダ内の実行に必要なファイル※ をプロジェクト直下にコピー(または移動)する~ #codeprettify(){{ stable_diffusion/ ├── stable_diffusion.openvino-master ├── venv_openvino ├── master.zip ├── data ※ ├── requirements.txt ※ ├── demo.py ※ ├── demo_web.py ※ └── stable_diffusion_engine.py ※ }} *** OpenVINO™ ランタイムと必要パッケージのインストール [#nb2ee932] - Anaconda を最新版に更新~ #codeprettify(){{ $ conda update -n base -c defaults conda }} #divregion( 詳細ログ(Linuxの例)) #codeprettify(){{ $ conda update -n base -c defaults conda Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /home/mizutu/anaconda3 added / updated specs: - conda The following packages will be downloaded: package | build ---------------------------|----------------- conda-22.9.0 | py38h06a4308_0 884 KB conda-content-trust-0.1.3 | py38h06a4308_0 70 KB conda-token-0.4.0 | pyhd3eb1b0_0 13 KB ------------------------------------------------------------ Total: 967 KB The following packages will be UPDATED: conda 4.13.0-py38h06a4308_0 --> 22.9.0-py38h06a4308_0 conda-content-tru~ pkgs/main/noarch::conda-content-trust~ --> pkgs/main/linux-64::conda-content-trust-0.1.3-py38h06a4308_0 conda-token 0.3.0-pyhd3eb1b0_0 --> 0.4.0-pyhd3eb1b0_0 Proceed ([y]/n)? y Downloading and Extracting Packages conda-token-0.4.0 | 13 KB | ##################################### | 100% conda-22.9.0 | 884 KB | ##################################### | 100% conda-content-trust- | 70 KB | ##################################### | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done }} #enddivregion - Anaconda に新しく仮想環境を作成してインストールする~ #codeprettify(){{ $ cd stable_diffusion $ conda create -n py38 python=3.8 $ conda activate py38 (py38) $ python -m pip install --upgrade pip (py38) $ pip install openvino==2022.1.0 (py38) $ pip install -r requirements.txt }} #divregion( 詳細ログ(Linuxの例)) #codeprettify(){{ $ cd stable_diffusion $ conda create -n py38 python=3.8 Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /home/mizutu/anaconda3/envs/py38 added / updated specs: - python=3.8 The following packages will be downloaded: package | build ---------------------------|----------------- ca-certificates-2022.10.11 | h06a4308_0 124 KB certifi-2022.9.24 | py38h06a4308_0 154 KB libffi-3.4.2 | h295c915_4 124 KB openssl-1.1.1s | h7f8727e_0 3.6 MB pip-22.2.2 | py38h06a4308_0 2.3 MB python-3.8.15 | h3fd9d12_0 20.1 MB readline-8.2 | h5eee18b_0 357 KB setuptools-65.5.0 | py38h06a4308_0 1.1 MB sqlite-3.39.3 | h5082296_0 1.1 MB xz-5.2.6 | h5eee18b_0 394 KB zlib-1.2.13 | h5eee18b_0 103 KB ------------------------------------------------------------ Total: 29.4 MB The following NEW packages will be INSTALLED: _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main None _openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu None ca-certificates pkgs/main/linux-64::ca-certificates-2022.10.11-h06a4308_0 None certifi pkgs/main/linux-64::certifi-2022.9.24-py38h06a4308_0 None ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1 None libffi pkgs/main/linux-64::libffi-3.4.2-h295c915_4 None libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1 None libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1 None libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1 None ncurses pkgs/main/linux-64::ncurses-6.3-h5eee18b_3 None openssl pkgs/main/linux-64::openssl-1.1.1s-h7f8727e_0 None pip pkgs/main/linux-64::pip-22.2.2-py38h06a4308_0 None python pkgs/main/linux-64::python-3.8.15-h3fd9d12_0 None readline pkgs/main/linux-64::readline-8.2-h5eee18b_0 None setuptools pkgs/main/linux-64::setuptools-65.5.0-py38h06a4308_0 None sqlite pkgs/main/linux-64::sqlite-3.39.3-h5082296_0 None tk pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0 None wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0 None xz pkgs/main/linux-64::xz-5.2.6-h5eee18b_0 None zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_0 None Proceed ([y]/n)? y Downloading and Extracting Packages certifi-2022.9.24 | 154 KB | ##################################### | 100% openssl-1.1.1s | 3.6 MB | ##################################### | 100% xz-5.2.6 | 394 KB | ##################################### | 100% setuptools-65.5.0 | 1.1 MB | ##################################### | 100% ca-certificates-2022 | 124 KB | ##################################### | 100% pip-22.2.2 | 2.3 MB | ##################################### | 100% libffi-3.4.2 | 124 KB | ##################################### | 100% sqlite-3.39.3 | 1.1 MB | ##################################### | 100% zlib-1.2.13 | 103 KB | ##################################### | 100% python-3.8.15 | 20.1 MB | ##################################### | 100% readline-8.2 | 357 KB | ##################################### | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate py38 # # To deactivate an active environment, use # # $ conda deactivate $ conda activate py38 (py38) $ python -m pip install --upgrade pip Requirement already satisfied: pip in /home/mizutu/anaconda3/envs/py38/lib/python3.8/site-packages (22.2.2) Collecting pip Using cached pip-22.3.1-py3-none-any.whl (2.1 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.2.2 Uninstalling pip-22.2.2: Successfully uninstalled pip-22.2.2 Successfully installed pip-22.3.1 (py38) $ pip install openvino==2022.1.0 Collecting openvino==2022.1.0 Using cached openvino-2022.1.0-7019-cp38-cp38-manylinux_2_27_x86_64.whl (26.1 MB) Collecting numpy<1.20,>=1.16.6 Using cached numpy-1.19.5-cp38-cp38-manylinux2010_x86_64.whl (14.9 MB) Installing collected packages: numpy, openvino 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. torchvision 0.10.0+cpu requires pillow>=5.3.0, which is not installed. Successfully installed numpy-1.19.5 openvino-2022.1.0 (py38) mizutu@ubuntu-vbox:~/stable_diffusion$ pip install -r requirements.txt Requirement already satisfied: numpy==1.19.5 in /home/mizutu/anaconda3/envs/py38/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.19.5) Collecting opencv-python==4.5.5.64 Downloading opencv_python-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.5/60.5 MB 6.5 MB/s eta 0:00:00 Collecting transformers==4.16.2 Downloading transformers-4.16.2-py3-none-any.whl (3.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 22.9 MB/s eta 0:00:00 Collecting diffusers==0.2.4 Downloading diffusers-0.2.4-py3-none-any.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.0/113.0 kB 10.5 MB/s eta 0:00:00 Collecting tqdm==4.64.0 Downloading tqdm-4.64.0-py2.py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 12.9 MB/s eta 0:00:00 Requirement already satisfied: openvino==2022.1.0 in /home/mizutu/anaconda3/envs/py38/lib/python3.8/site-packages (from -r requirements.txt (line 6)) (2022.1.0) Collecting huggingface_hub==0.9.0 Downloading huggingface_hub-0.9.0-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.5/120.5 kB 17.2 MB/s eta 0:00:00 Collecting scipy==1.9.0 Downloading scipy-1.9.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (43.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 MB 7.9 MB/s eta 0:00:00 Collecting streamlit==1.12.0 Downloading streamlit-1.12.0-py2.py3-none-any.whl (9.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.1/9.1 MB 7.2 MB/s eta 0:00:00 Collecting watchdog==2.1.9 Downloading watchdog-2.1.9-py3-none-manylinux2014_x86_64.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 473.9 kB/s eta 0:00:00 Collecting ftfy==6.1.1 Downloading ftfy-6.1.1-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.1/53.1 kB 5.9 MB/s eta 0:00:00 Collecting packaging>=20.0 Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 5.4 MB/s eta 0:00:00 Requirement already satisfied: pyyaml>=5.1 in /home/mizutu/.local/lib/python3.8/site-packages (from transformers==4.16.2->-r requirements.txt (line 3)) (5.4.1) Collecting requests Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 1.5 MB/s eta 0:00:00 Collecting sacremoses Downloading sacremoses-0.0.53.tar.gz (880 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 880.6/880.6 kB 23.0 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting filelock Downloading filelock-3.8.0-py3-none-any.whl (10 kB) Collecting regex!=2019.12.17 Downloading regex-2022.10.31-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (772 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 772.3/772.3 kB 26.8 MB/s eta 0:00:00 Collecting tokenizers!=0.11.3,>=0.10.1 Downloading tokenizers-0.13.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.6/7.6 MB 22.7 MB/s eta 0:00:00 Collecting Pillow Using cached Pillow-9.3.0-cp38-cp38-manylinux_2_28_x86_64.whl (3.3 MB) Requirement already satisfied: torch>=1.4 in /home/mizutu/.local/lib/python3.8/site-packages (from diffusers==0.2.4->-r requirements.txt (line 4)) (1.9.0+cpu) Collecting importlib-metadata Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB) Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting pydeck>=0.1.dev5 Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 17.8 MB/s eta 0:00:00 Collecting blinker>=1.0.0 Downloading blinker-1.5-py2.py3-none-any.whl (12 kB) Collecting protobuf<4,>=3.12 Downloading protobuf-3.20.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 24.8 MB/s eta 0:00:00 Collecting tzlocal>=1.1 Downloading tzlocal-4.2-py3-none-any.whl (19 kB) Collecting python-dateutil Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 28.3 MB/s eta 0:00:00 Collecting altair>=3.2.0 Downloading altair-4.2.0-py3-none-any.whl (812 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 812.8/812.8 kB 19.3 MB/s eta 0:00:00 Collecting semver Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB) Collecting tornado>=5.0 Downloading tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 424.0/424.0 kB 19.1 MB/s eta 0:00:00 Collecting validators>=0.2 Downloading validators-0.20.0.tar.gz (30 kB) Preparing metadata (setup.py) ... done Collecting cachetools>=4.0 Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting click>=7.0 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 15.8 MB/s eta 0:00:00 Collecting pympler>=0.9 Downloading Pympler-1.0.1-py3-none-any.whl (164 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 kB 17.9 MB/s eta 0:00:00 Collecting rich>=10.11.0 Downloading rich-12.6.0-py3-none-any.whl (237 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 237.5/237.5 kB 24.6 MB/s eta 0:00:00 Collecting gitpython!=3.1.19 Downloading GitPython-3.1.29-py3-none-any.whl (182 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.5/182.5 kB 26.1 MB/s eta 0:00:00 Collecting pyarrow>=4.0 Downloading pyarrow-10.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.3/35.3 MB 9.1 MB/s eta 0:00:00 Collecting toml Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting pandas>=0.21.0 Downloading pandas-1.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.2/12.2 MB 17.2 MB/s eta 0:00:00 Collecting wcwidth>=0.2.5 Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) Collecting entrypoints Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB) Collecting jinja2 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 9.3 MB/s eta 0:00:00 Collecting toolz Downloading toolz-0.12.0-py3-none-any.whl (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 8.8 MB/s eta 0:00:00 Collecting jsonschema>=3.0 Downloading jsonschema-4.17.0-py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.8/83.8 kB 11.2 MB/s eta 0:00:00 Collecting gitdb<5,>=4.0.1 Downloading gitdb-4.0.9-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 kB 4.9 MB/s eta 0:00:00 Collecting zipp>=0.5 Downloading zipp-3.10.0-py3-none-any.whl (6.2 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 7.0 MB/s eta 0:00:00 Collecting pandas>=0.21.0 Downloading pandas-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.2/12.2 MB 17.1 MB/s eta 0:00:00 Downloading pandas-1.4.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 18.6 MB/s eta 0:00:00 Collecting pytz>=2020.1 Downloading pytz-2022.6-py2.py3-none-any.whl (498 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 498.1/498.1 kB 25.6 MB/s eta 0:00:00 Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 2.7 MB/s eta 0:00:00 Requirement already satisfied: certifi>=2017.4.17 in /home/mizutu/anaconda3/envs/py38/lib/python3.8/site-packages (from requests->transformers==4.16.2->-r requirements.txt (line 3)) (2022.9.24) Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 14.2 MB/s eta 0:00:00 Collecting pygments<3.0.0,>=2.6.0 Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 14.0 MB/s eta 0:00:00 Collecting commonmark<0.10.0,>=0.9.0 Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 7.4 MB/s eta 0:00:00 Collecting pytz-deprecation-shim Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB) Collecting backports.zoneinfo Downloading backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_x86_64.whl (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.0/74.0 kB 8.2 MB/s eta 0:00:00 Collecting decorator>=3.4.0 Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting joblib Downloading joblib-1.2.0-py3-none-any.whl (297 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.0/298.0 kB 28.2 MB/s eta 0:00:00 Collecting smmap<6,>=3.0.1 Downloading smmap-5.0.0-py3-none-any.whl (24 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting attrs>=17.4.0 Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 7.6 MB/s eta 0:00:00 Collecting pkgutil-resolve-name>=1.3.10 Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB) Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.19.2-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 7.7 MB/s eta 0:00:00 Collecting importlib-resources>=1.4.0 Downloading importlib_resources-5.10.0-py3-none-any.whl (34 kB) Collecting tzdata Downloading tzdata-2022.6-py2.py3-none-any.whl (338 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 338.8/338.8 kB 22.2 MB/s eta 0:00:00 Building wheels for collected packages: validators, sacremoses Building wheel for validators (setup.py) ... done Created wheel for validators: filename=validators-0.20.0-py3-none-any.whl size=19579 sha256=1486de2cba1919789f71ad0a0f629d18944a86ac855c169804d13e638aba35d6 Stored in directory: /home/mizutu/.cache/pip/wheels/cb/aa/fe/3316d4394e9ad09ea76561bd5be33f6d01828ff125ab2a3395 Building wheel for sacremoses (setup.py) ... done Created wheel for sacremoses: filename=sacremoses-0.0.53-py3-none-any.whl size=895241 sha256=2f42d8f1070a9b5f1e6edd1543d81a104e415b695ef58b9c5fbeea35e0e855a9 Stored in directory: /home/mizutu/.cache/pip/wheels/64/a3/ff/01dc060d7fc51176b3ce7cf1561466a12e658164b594747547 Successfully built validators sacremoses Installing collected packages: wcwidth, tokenizers, pytz, commonmark, zipp, watchdog, urllib3, tzdata, typing-extensions, tqdm, tornado, toolz, toml, smmap, six, semver, scipy, regex, pyrsistent, pyparsing, pympler, pygments, pyarrow, protobuf, pkgutil-resolve-name, Pillow, opencv-python, MarkupSafe, joblib, idna, ftfy, filelock, entrypoints, decorator, click, charset-normalizer, cachetools, blinker, backports.zoneinfo, attrs, validators, sacremoses, rich, requests, pytz-deprecation-shim, python-dateutil, packaging, jinja2, importlib-resources, importlib-metadata, gitdb, tzlocal, pydeck, pandas, jsonschema, huggingface_hub, gitpython, transformers, diffusers, altair, streamlit Attempting uninstall: scipy Found existing installation: scipy 1.7.0 Uninstalling scipy-1.7.0: Successfully uninstalled scipy-1.7.0 Successfully installed MarkupSafe-2.1.1 Pillow-9.3.0 altair-4.2.0 attrs-22.1.0 backports.zoneinfo-0.2.1 blinker-1.5 cachetools-5.2.0 charset-normalizer-2.1.1 click-8.1.3 commonmark-0.9.1 decorator-5.1.1 diffusers-0.2.4 entrypoints-0.4 filelock-3.8.0 ftfy-6.1.1 gitdb-4.0.9 gitpython-3.1.29 huggingface_hub-0.9.0 idna-3.4 importlib-metadata-5.0.0 importlib-resources-5.10.0 jinja2-3.1.2 joblib-1.2.0 jsonschema-4.17.0 opencv-python-4.5.5.64 packaging-21.3 pandas-1.4.4 pkgutil-resolve-name-1.3.10 protobuf-3.20.3 pyarrow-10.0.0 pydeck-0.8.0 pygments-2.13.0 pympler-1.0.1 pyparsing-3.0.9 pyrsistent-0.19.2 python-dateutil-2.8.2 pytz-2022.6 pytz-deprecation-shim-0.1.0.post0 regex-2022.10.31 requests-2.28.1 rich-12.6.0 sacremoses-0.0.53 scipy-1.9.0 semver-2.13.0 six-1.16.0 smmap-5.0.0 streamlit-1.12.0 tokenizers-0.13.2 toml-0.10.2 toolz-0.12.0 tornado-6.2 tqdm-4.64.0 transformers-4.16.2 typing-extensions-4.4.0 tzdata-2022.6 tzlocal-4.2 urllib3-1.26.12 validators-0.20.0 watchdog-2.1.9 wcwidth-0.2.5 zipp-3.10.0 (py38) $ pip install -r requirements.txt Requirement already satisfied: numpy==1.19.5 in c:\users\izuts\anaconda3\envs\py38\lib\site-packages (from -r requirements.txt (line 1)) (1.19.5) Collecting opencv-python==4.5.5.64 Downloading opencv_python-4.5.5.64-cp36-abi3-win_amd64.whl (35.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.4/35.4 MB 22.6 MB/s eta 0:00:00 Collecting transformers==4.16.2 Downloading transformers-4.16.2-py3-none-any.whl (3.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 25.1 MB/s eta 0:00:00 Collecting diffusers==0.2.4 Downloading diffusers-0.2.4-py3-none-any.whl (112 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.0/113.0 kB 6.4 MB/s eta 0:00:00 Collecting tqdm==4.64.0 Downloading tqdm-4.64.0-py2.py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 1.5 MB/s eta 0:00:00 Requirement already satisfied: openvino==2022.1.0 in c:\users\izuts\anaconda3\envs\py38\lib\site-packages (from -r requirements.txt (line 6)) (2022.1.0) Collecting huggingface_hub==0.9.0 Downloading huggingface_hub-0.9.0-py3-none-any.whl (120 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.5/120.5 kB ? eta 0:00:00 Collecting scipy==1.9.0 Downloading scipy-1.9.0-cp38-cp38-win_amd64.whl (38.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.6/38.6 MB 17.7 MB/s eta 0:00:00 Collecting streamlit==1.12.0 Downloading streamlit-1.12.0-py2.py3-none-any.whl (9.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.1/9.1 MB 26.5 MB/s eta 0:00:00 Collecting watchdog==2.1.9 Downloading watchdog-2.1.9-py3-none-win_amd64.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB ? eta 0:00:00 Collecting ftfy==6.1.1 Downloading ftfy-6.1.1-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.1/53.1 kB ? eta 0:00:00 Collecting requests Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 40.1 kB/s eta 0:00:00 Collecting filelock Downloading filelock-3.8.0-py3-none-any.whl (10 kB) Collecting pyyaml>=5.1 Downloading PyYAML-6.0-cp38-cp38-win_amd64.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.4/155.4 kB 9.1 MB/s eta 0:00:00 Collecting packaging>=20.0 Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 1.9 MB/s eta 0:00:00 Collecting regex!=2019.12.17 Downloading regex-2022.10.31-cp38-cp38-win_amd64.whl (267 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 267.7/267.7 kB 16.1 MB/s eta 0:00:00 Collecting sacremoses Downloading sacremoses-0.0.53.tar.gz (880 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 880.6/880.6 kB 27.2 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting tokenizers!=0.11.3,>=0.10.1 Downloading tokenizers-0.13.2-cp38-cp38-win_amd64.whl (3.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 19.1 MB/s eta 0:00:00 Collecting torch>=1.4 Downloading torch-1.13.0-cp38-cp38-win_amd64.whl (167.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 MB 5.5 MB/s eta 0:00:00 Collecting Pillow Downloading Pillow-9.3.0-cp38-cp38-win_amd64.whl (2.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 31.8 MB/s eta 0:00:00 Collecting importlib-metadata Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB) Requirement already satisfied: colorama in c:\users\izuts\appdata\roaming\python\python38\site-packages (from tqdm==4.64.0->-r requirements.txt (line 5)) (0.4.3) Collecting typing-extensions>=3.7.4.3 Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting tornado>=5.0 Downloading tornado-6.2-cp37-abi3-win_amd64.whl (425 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 425.3/425.3 kB 25.9 MB/s eta 0:00:00 Collecting cachetools>=4.0 Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting rich>=10.11.0 Downloading rich-12.6.0-py3-none-any.whl (237 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 237.5/237.5 kB 3.7 MB/s eta 0:00:00 Collecting click>=7.0 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 5.4 MB/s eta 0:00:00 Collecting pyarrow>=4.0 Downloading pyarrow-10.0.0-cp38-cp38-win_amd64.whl (20.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.0/20.0 MB 20.4 MB/s eta 0:00:00 Collecting pandas>=0.21.0 Downloading pandas-1.5.1-cp38-cp38-win_amd64.whl (11.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 29.7 MB/s eta 0:00:00 Collecting validators>=0.2 Downloading validators-0.20.0.tar.gz (30 kB) Preparing metadata (setup.py) ... done Collecting tzlocal>=1.1 Downloading tzlocal-4.2-py3-none-any.whl (19 kB) Collecting pympler>=0.9 Downloading Pympler-1.0.1-py3-none-any.whl (164 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 kB 10.3 MB/s eta 0:00:00 Collecting blinker>=1.0.0 Downloading blinker-1.5-py2.py3-none-any.whl (12 kB) Collecting semver Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB) Collecting toml Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting protobuf<4,>=3.12 Downloading protobuf-3.20.3-cp38-cp38-win_amd64.whl (904 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 904.4/904.4 kB 28.8 MB/s eta 0:00:00 Collecting python-dateutil Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 14.8 MB/s eta 0:00:00 Collecting altair>=3.2.0 Downloading altair-4.2.0-py3-none-any.whl (812 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 812.8/812.8 kB 377.7 kB/s eta 0:00:00 Collecting gitpython!=3.1.19 Downloading GitPython-3.1.29-py3-none-any.whl (182 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.5/182.5 kB 848.6 kB/s eta 0:00:00 Collecting pydeck>=0.1.dev5 Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 6.3 MB/s eta 0:00:00 Collecting wcwidth>=0.2.5 Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) Collecting entrypoints Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB) Collecting jinja2 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 1.6 MB/s eta 0:00:00 Collecting jsonschema>=3.0 Downloading jsonschema-4.17.0-py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.8/83.8 kB 1.2 MB/s eta 0:00:00 Collecting toolz Downloading toolz-0.12.0-py3-none-any.whl (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 584.6 kB/s eta 0:00:00 Collecting gitdb<5,>=4.0.1 Downloading gitdb-4.0.9-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 kB 852.4 kB/s eta 0:00:00 Collecting zipp>=0.5 Downloading zipp-3.10.0-py3-none-any.whl (6.2 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 5.9 MB/s eta 0:00:00 Collecting pytz>=2020.1 Downloading pytz-2022.6-py2.py3-none-any.whl (498 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 498.1/498.1 kB 32.5 MB/s eta 0:00:00 Collecting pandas>=0.21.0 Downloading pandas-1.5.0-cp38-cp38-win_amd64.whl (11.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 27.3 MB/s eta 0:00:00 Downloading pandas-1.4.4-cp38-cp38-win_amd64.whl (10.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.6/10.6 MB 28.4 MB/s eta 0:00:00 Requirement already satisfied: six>=1.5 in c:\users\izuts\appdata\roaming\python\python38\site-packages (from python-dateutil->streamlit==1.12.0->-r requirements.txt (line 9)) (1.14.0) Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Requirement already satisfied: certifi>=2017.4.17 in c:\users\izuts\anaconda3\envs\py38\lib\site-packages (from requests->transformers==4.16.2->-r requirements.txt (line 3)) (2022.9.24) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 4.2 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB ? eta 0:00:00 Collecting pygments<3.0.0,>=2.6.0 Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 23.2 MB/s eta 0:00:00 Collecting commonmark<0.10.0,>=0.9.0 Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 2.6 MB/s eta 0:00:00 Collecting backports.zoneinfo Downloading backports.zoneinfo-0.2.1-cp38-cp38-win_amd64.whl (38 kB) Collecting pytz-deprecation-shim Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB) Collecting tzdata Downloading tzdata-2022.6-py2.py3-none-any.whl (338 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 338.8/338.8 kB 21.9 MB/s eta 0:00:00 Collecting decorator>=3.4.0 Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting joblib Downloading joblib-1.2.0-py3-none-any.whl (297 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.0/298.0 kB 18.0 MB/s eta 0:00:00 Collecting smmap<6,>=3.0.1 Downloading smmap-5.0.0-py3-none-any.whl (24 kB) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl (17 kB) Collecting importlib-resources>=1.4.0 Downloading importlib_resources-5.10.0-py3-none-any.whl (34 kB) Collecting pkgutil-resolve-name>=1.3.10 Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB) Collecting attrs>=17.4.0 Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB ? eta 0:00:00 Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.19.2-cp38-cp38-win_amd64.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 3.5 MB/s eta 0:00:00 Building wheels for collected packages: validators, sacremoses Building wheel for validators (setup.py) ... done Created wheel for validators: filename=validators-0.20.0-py3-none-any.whl size=19579 sha256=c78ab7eb47b121e426019bbfb84272a574cf44297caf0d2072f019737930e61e Stored in directory: c:\users\izuts\appdata\local\pip\cache\wheels\19\09\72\3eb74d236bb48bd0f3c6c3c83e4e0c5bbfcbcad7c6c3539db8 Building wheel for sacremoses (setup.py) ... done Created wheel for sacremoses: filename=sacremoses-0.0.53-py3-none-any.whl size=895241 sha256=ba8dea7ea369b101c76a3e8beaee83a359ba1c8e0abc0045be515d82897a03e6 Stored in directory: c:\users\izuts\appdata\local\pip\cache\wheels\82\ab\9b\c15899bf659ba74f623ac776e861cf2eb8608c1825ddec66a4 Successfully built validators sacremoses Installing collected packages: wcwidth, tokenizers, pytz, commonmark, zipp, watchdog, urllib3, tzdata, typing-extensions, tqdm, tornado, toolz, toml, smmap, semver, scipy, regex, pyyaml, python-dateutil, pyrsistent, pyparsing, pympler, pygments, pyarrow, protobuf, pkgutil-resolve-name, Pillow, opencv-python, MarkupSafe, joblib, idna, ftfy, filelock, entrypoints, decorator, click, charset-normalizer, cachetools, blinker, backports.zoneinfo, attrs, validators, torch, sacremoses, rich, requests, pytz-deprecation-shim, pandas, packaging, jinja2, importlib-resources, importlib-metadata, gitdb, tzlocal, pydeck, jsonschema, huggingface_hub, gitpython, transformers, diffusers, altair, streamlit Successfully installed MarkupSafe-2.1.1 Pillow-9.3.0 altair-4.2.0 attrs-22.1.0 backports.zoneinfo-0.2.1 blinker-1.5 cachetools-5.2.0 charset-normalizer-2.1.1 click-8.1.3 commonmark-0.9.1 decorator-5.1.1 diffusers-0.2.4 entrypoints-0.4 filelock-3.8.0 ftfy-6.1.1 gitdb-4.0.9 gitpython-3.1.29 huggingface_hub-0.9.0 idna-3.4 importlib-metadata-5.0.0 importlib-resources-5.10.0 jinja2-3.1.2 joblib-1.2.0 jsonschema-4.17.0 opencv-python-4.5.5.64 packaging-21.3 pandas-1.4.4 pkgutil-resolve-name-1.3.10 protobuf-3.20.3 pyarrow-10.0.0 pydeck-0.8.0 pygments-2.13.0 pympler-1.0.1 pyparsing-3.0.9 pyrsistent-0.19.2 python-dateutil-2.8.2 pytz-2022.6 pytz-deprecation-shim-0.1.0.post0 pyyaml-6.0 regex-2022.10.31 requests-2.28.1 rich-12.6.0 sacremoses-0.0.53 scipy-1.9.0 semver-2.13.0 smmap-5.0.0 streamlit-1.12.0 tokenizers-0.13.2 toml-0.10.2 toolz-0.12.0 torch-1.13.0 tornado-6.2 tqdm-4.64.0 transformers-4.16.2 typing-extensions-4.4.0 tzdata-2022.6 tzlocal-4.2 urllib3-1.26.12 validators-0.20.0 watchdog-2.1.9 wcwidth-0.2.5 zipp-3.10.0 }} #enddivregion *** インストール後の環境 [#z8728ee2] - パッケージ一覧~ #divregion( コマンド $ pip freeze) #codeprettify(){{ (py38) $ pip freeze altair==4.2.0 attrs==22.1.0 backports.zoneinfo==0.2.1 blinker==1.5 cachetools==5.2.0 certifi @ file:///croot/certifi_1665076670883/work/certifi charset-normalizer==2.1.1 click==8.1.3 commonmark==0.9.1 decorator==5.1.1 diffusers==0.2.4 entrypoints==0.4 filelock==3.8.0 ftfy==6.1.1 gitdb==4.0.9 GitPython==3.1.29 huggingface-hub==0.9.0 idna==3.4 importlib-metadata==5.0.0 importlib-resources==5.10.0 Jinja2==3.1.2 joblib==1.2.0 jsonschema==4.17.0 MarkupSafe==2.1.1 munkres==1.1.4 numpy==1.19.5 opencv-python==4.5.5.64 openvino==2022.1.0 packaging==21.3 pandas==1.4.4 Pillow==9.3.0 pkgutil_resolve_name==1.3.10 protobuf==3.20.3 pyarrow==10.0.0 pydeck==0.8.0 Pygments==2.13.0 Pympler==1.0.1 pyparsing==3.0.9 PyQt5-Qt5==5.15.2 PyQt5-sip==12.9.0 pyrsistent==0.19.2 python-dateutil==2.8.2 pytz==2022.6 pytz-deprecation-shim==0.1.0.post0 PyYAML==5.4.1 QtPy==1.11.3 regex==2022.10.31 requests==2.28.1 rich==12.6.0 sacremoses==0.0.53 scipy==1.9.0 semver==2.13.0 six==1.16.0 smmap==5.0.0 streamlit==1.12.0 tokenizers==0.13.2 toml==0.10.2 toolz==0.12.0 torch==1.9.0+cpu torchaudio==0.9.0 torchvision==0.10.0+cpu tornado==6.2 tqdm==4.64.0 transformers==4.16.2 typing_extensions==4.4.0 tzdata==2022.6 tzlocal==4.2 urllib3==1.26.12 validators==0.20.0 watchdog==2.1.9 wcwidth==0.2.5 zipp==3.10.0 }} #enddivregion #br ** デモの実行 [#u0f85149] - 仮想環境に移行して実行する~ #codeprettify(){{ $ conda activate py38 }} - 初回実行時のみ学習済みモデルのダウンロードあり~ #codeprettify(){{ Downloading: 100%|██████████████████████████████| 905/905 [00:00<00:00, 668kB/s] Downloading: 100%|████████████████████████████| 939k/939k [00:01<00:00, 867kB/s] Downloading: 100%|████████████████████████████| 512k/512k [00:00<00:00, 626kB/s] Downloading: 100%|██████████████████████████████| 389/389 [00:00<00:00, 402kB/s] Downloading: 100%|█████████████████████████| 2.12M/2.12M [00:01<00:00, 1.42MB/s] Downloading: 100%|████████████████████████████| 464k/464k [00:00<00:00, 548kB/s] Downloading: 100%|███████████████████████████| 492M/492M [00:11<00:00, 42.2MB/s] Downloading: 100%|█████████████████████████| 3.02M/3.02M [00:01<00:00, 1.77MB/s] Downloading: 100%|█████████████████████████| 3.44G/3.44G [02:10<00:00, 26.4MB/s] Downloading: 100%|████████████████████████████| 329k/329k [00:00<00:00, 473kB/s] Downloading: 100%|███████████████████████████| 198M/198M [00:09<00:00, 20.7MB/s] Downloading: 100%|████████████████████████████| 252k/252k [00:00<00:00, 448kB/s] Downloading: 100%|███████████████████████████| 137M/137M [00:05<00:00, 23.3MB/s] }} &color(red){※ Windows で管理権限がないとエラーになるとき}; → [[ここを参照>#e152d554]]~ ***「トム・クルーズを描く」 [#u1c4f151] - ゴッホ / バンクシー / フェルメール / 草間彌生~ ~ #ref(output_009.jpg,left,around,30%,output_009.jpg) #ref(output_011.jpg,left,around,30%,output_011.jpg) #ref(output_012.jpg,left,around,30%,output_012.jpg) #ref(output_013.jpg,left,around,30%,output_013.jpg) #clear #codeprettify(){{ (py38) $ python3 demo.py --prompt "Street-art painting of Tom Cruise in style of Gogh, photorealism" 32it [04:48, 9.00s/it] (py38) $ python3 demo.py --prompt "Street-art painting of Tom Cruise in style of Banksy, photorealism" 32it [05:05, 9.55s/it] (py38) $ python3 demo.py --prompt "Street-art painting of Tom Cruise in style of Vermeer, photorealism" 32it [05:05, 9.55s/it] (py38) $ python3 demo.py --prompt "Street-art painting of Tom Cruise in style of Yayoi Kusama, photorealism" 32it [04:51, 9.12s/it] }} ***「モナ・リザを描く」 [#x4b56297] - ゴッホ / アンディ・ウォーホル / ロイ・リキテンスタイン / ジョルジュ・スーラ / バンクシー~ ~ #ref(output_004.jpg,left,around,30%,output_004.jpg) #ref(output_005.jpg,left,around,30%,output_005.jpg) #ref(output_006.jpg,left,around,30%,output_006.jpg) #ref(output_007.jpg,left,around,30%,output_007.jpg) #ref(output_008.jpg,left,around,30%,output_008.jpg) #clear #codeprettify(){{ (py38) $ python3 demo.py --prompt "Street-art painting of Mona Lisa in style of Gogh, photorealism" 32it [04:50, 9.09s/it] (py38) $ python3 demo.py --prompt "Street-art painting of Mona Lisa in style of Warhol, photorealism" 32it [04:54, 9.19s/it] (py38) $ python3 demo.py --prompt "Street-art painting of Mona Lisa in style of Lichtenstein, photorealism" 32it [04:39, 8.74s/it] (py38) $ python3 demo.py --prompt "Street-art painting of Mona Lisa in style of Georges Seurat, photorealism" 32it [04:46, 8.96s/it] (py38) $ python3 demo.py --prompt "Street-art painting of Mona Lisa in style of Banksy, photorealism" 32it [04:45, 8.91s/it] }} ***「同じフレーズで繰り返し描く …」 [#v0c3c91e] > フレーズは [[https://osakametro-adera.jp/blog/20221102]] より~ #ref(output_010.jpg,left,around,30%,output_010.jpg) #ref(output_018.jpg,left,around,30%,output_018.jpg) #ref(output_019.jpg,left,around,30%,output_019.jpg) #ref(output_020.jpg,left,around,30%,output_020.jpg) #clear #codeprettify(){{ (py38) $ python3 demo.py --prompt "Osaka metro Concept art, Highly detailed, surrealism, trending on art station, triadic color scheme, smooth, sharp focus, matte, elegant, the most beautiful image ever seen, illustration, digital paint, washed colors, sharp, dramatic lighting, beautiful" 32it [04:48, 9.00s/it] }} ***「入力画像を決めて描く」 [#aa8cb1bd] ● 入力画像 → &ref(test.jpg,around,12.5%,test.jpg); #clear - 油絵 クロード・モネ / 浮世絵 葛飾北斎 / 漫画 手塚治虫 / 水墨画 雪舟 / 水墨画 雪舟2~ ~ #ref(output_014.jpg,left,around,30%,output_014.jpg) #ref(output_015.jpg,left,around,30%,output_015.jpg) #ref(output_016.jpg,left,around,30%,output_016.jpg) #ref(output_017.jpg,left,around,30%,output_017.jpg) #ref(output_s07.jpg,left,around,30%,output_s07.jpg) #clear #codeprettify(){{ (py38) $ python3 demo.py --prompt "landscape with trees, Oil paining, Claude Monet, photorealism" --init-image data/test.jpg --strength 0.5 18it [02:45, 9.17s/it] (py38) $ python3 demo.py --prompt "landscape with trees, UKIYO-E, Hokusai, photorealism" --init-image data/test.jpg --strength 0.5 18it [02:47, 9.32s/it] (py38) $ python3 demo.py --prompt "landscape with trees, Cartoon, Osamu Tezuka, photorealism" --init-image data/test.jpg --strength 0.5 18it [02:50, 9.48s/it] (py38) $ python3 demo.py --prompt "landscape with trees, Indian ink painting/ink brush painting, Sesshu, photorealism" --init-image data/test.jpg --strength 0.5 18it [02:51, 9.53s/it] (py38) $ python3 demo.py --prompt "landscape with trees, Indian ink painting/ink brush painting, Sesshu, photorealism" --init-image data/test.jpg --strength 0.7 24it [03:43, 9.31s/it] }} #br ** CPU の違いによる動作速度比較 [#s21b87e0] ** CPU の違いによる動作速度比較 [#hbe94ae8] |CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|c |>|CPU|>|第11世代 Core™ i7|第10世代 Core™ i7|>|第6世代 Core™ i7|第2世代 Core™ i7|h |>|OS|BGCOLOR(tomato):Ubuntu20.04&br;GPU|Ubuntu20.04&br;CPU|Ubuntu20.04|Windows10|Ubuntu20.04&br;VirtualBox|Windows10|h |所要時間&br;分:秒 (秒/回)|ゴッホ|02:35 (04.85)|03:21 (06.29)|03:21 (06.28)|04:30 (08.47)|05:03 (09.47)|24:59 (46.85)| |~|バンクシー|02:37 (04.93)|03:34 (06.63)|03:22 (06.32)|04:29 (08.44)|04:39 (08.74)|19:43 (36.97)| |~|フェルメール|02:49 (05.31)|03:42 (06.95)|03:22 (06.31)|04:31 (08.48)|04:39 (08.73)|21:51 (40.97)| |~|草間彌生|02:59 (05.60)|03:53 (07.29)|03:21 (06.31)|04:29 (08.49)|04:38 (08.72)|23:17 (43.66)| |>|BGCOLOR(lightyellow):平均時間 分:秒 (秒/回)|BGCOLOR(lightyellow):02:45 (05.20)|BGCOLOR(lightyellow):03:38 (06.81)|BGCOLOR(lightyellow):03:22 (06.31)|BGCOLOR(lightyellow):04:30 (08.46)|BGCOLOR(lightyellow):04:45 (08.92)|BGCOLOR(lightyellow):22:28 (42.11)| |CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|CENTER:|c |>|CPU|>|第12世代 Core™ i7 ※1|>|第11世代 Core™ i3|>|第6世代 Core™ i7 ※2|h |>|CPU|>|COLOR(blue):第12世代 Core™ i7 ※1|>|第11世代 Core™ i3|>|第6世代 Core™ i7 ※2|h |>|OS|BGCOLOR(tomato):Windows10&br;GPU|Windows10&br;CPU|BGCOLOR(tomato):Windows10&br;GPU|Windows10&br;CPU|BGCOLOR(salmon):Windows10&br;GPU|Windows10&br;CPU|h |所要時間&br;分:秒 (秒/回)|ゴッホ|02:00 (03.78)|02:15 (04.25)|05:36 (10.52)|08:11 (15.37)|06:56 (13.03)|03:36 (06.76)| |~|バンクシー|02:04 (03.89)|02:20 (04.38)|05:36 (10.53)|06:40 (12.52)|06:57 (13.06)|03:37 (06.79)| |~|フェルメール|02:04 (03.89)|02:21 (04.44)|05:34 (10.46)|06:02 (11.34)|06:57 (13.05)|03:38 (06.81)| |~|草間彌生|02:04 (03.89)|02:22 (04.45)|05:35 (10.49)|06:52 (12.90)|07:01 (13.18)|03:37 (06.79)| |>|BGCOLOR(lightyellow):平均時間 分:秒 (秒/回)|BGCOLOR(lightyellow):02:03 (03.86)|BGCOLOR(lightyellow):02:20 (04.38)|BGCOLOR(lightyellow):05:36 (10.50)|BGCOLOR(lightyellow):06:56 (13.03)|BGCOLOR(lightyellow):06:58 (13.80)|BGCOLOR(lightyellow):03:37 (06.79)| &color(blue){※1「Ultra performance」モードで計測};~ ※2「Graphics Processors (GPU)」の種類によっては GPUの効果は期待できないものもあるよう~ - 出力画像(ゴッホ / バンクシー / フェルメール / 草間彌生)~ ~ #ref(output_601.jpg,left,around,24%,output_601.jpg) #ref(output_501.jpg,left,around,24%,output_501.jpg) #ref(output_401.jpg,left,around,24%,output_401.jpg) #ref(output_301.jpg,left,around,24%,output_301.jpg) #ref(output_201.jpg,left,around,24%,output_201.jpg) #ref(output_101.jpg,left,around,24%,output_101.jpg) #clear #ref(output_602.jpg,left,around,24%,output_602.jpg) #ref(output_502.jpg,left,around,24%,output_502.jpg) #ref(output_402.jpg,left,around,24%,output_402.jpg) #ref(output_302.jpg,left,around,24%,output_302.jpg) #ref(output_202.jpg,left,around,24%,output_202.jpg) #ref(output_102.jpg,left,around,24%,output_102.jpg) #clear #ref(output_603.jpg,left,around,24%,output_603.jpg) #ref(output_503.jpg,left,around,24%,output_503.jpg) #ref(output_403.jpg,left,around,24%,output_403.jpg) #ref(output_303.jpg,left,around,24%,output_303.jpg) #ref(output_203.jpg,left,around,24%,output_203.jpg) #ref(output_103.jpg,left,around,24%,output_103.jpg) #clear #ref(output_604.jpg,left,around,24%,output_604.jpg) #ref(output_504.jpg,left,around,24%,output_504.jpg) #ref(output_404.jpg,left,around,24%,output_404.jpg) #ref(output_304.jpg,left,around,24%,output_304.jpg) #ref(output_204.jpg,left,around,24%,output_204.jpg) #ref(output_104.jpg,left,around,24%,output_104.jpg) #clear *** マシン仕様(参考) [#q545d46b] *** マシン仕様(参考) [#fcedb330] - DELL XPS Plus 9320 (第12世代 Core™ i7 CPU/GPU搭載 ノート) -- CPU Intel® Core™ i7-1260P CPU -- &color(tomato){Processor Graphics Intel® Iris® Xe Graphics}; -- 32GB Memory -- 1TB M.2 SSD -- OS Windows11 Pro - DELL Latitude 7520 (第11世代 Core™ i7 CPU/GPU搭載 ノート) -- CPU Intel® Core™ i7-1185G7 CPU -- &color(tomato){Processor Graphics Intel® Iris® Xe Graphics}; -- 32GB Memory -- 1TB M.2 SSD -- OS Ubuntu20.04LTS - DELL Vostro 3500 (第11世代 Core™ i3 CPU搭載 ノート) -- CPU Intel® Core™ i3-1115G4 @ 3.00GHz -- &color(salmon){Intel® UHD Graphics for 11th Gen Intel® Processors}; -- 16GB Memory -- 1TB SSD -- OS Windows10 Pro - Intel® NUC キット BXNUC10I5FNH (第10世代 Core™ i7 CPU搭載 ミニPC) -- CPU Intel® Core™ i5-10210U CPU -- &color(salmon){Intel® UHD Graphics for 10th Gen Intel® Processors}; -- 62GB Memory -- 1TB M.2 SSD -- OS Ubuntu20.04LTS - HP EliteDesk 800 G2 SFF (第6世代 Core™ i7 CPU搭載 デスクトップ) -- CPU Intel® Core™ i7-6700 CPU @ 3.40GHz -- &color(salmon){Intel® HD Graphics 530}; -- 16GB Memory -- OS Windows10 Pro -- Ubuntu20.04LTS on Oracle VM VirtualBox - Panasonic CF-B10BWJYS (第2世代 Core™ i7 CPU搭載 ノート) -- CPU Intel® Core™ i7-2620M vPro CPU @ 2.60GHz -- 8GB Memory -- OS Windows10 Pro -- Ubuntu20.04LTS on Oracle VM VirtualBox ** 覚書 [#kbba1f75] *** Anaconda の更新で「CondaSSLError」が出る場合 [#bb47c9d1] *** Anaconda の更新で「CondaSSLError」が出る場合 [#m9e65e6e] - anaconda実行環境でないときに発生する~ #codeprettify(){{ PS C:\anaconda_win\workspace_py38> conda update -n base -c defaults conda Collecting package metadata (current_repodata.json): failed CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to download and install packages. Exception: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) PS C:\anaconda_win\workspace_py38> }} - (base)仮想環境下で実行すること~ #codeprettify(){{ PS C:\anaconda_win\workspace_py38> conda activate base (base) PS C:\anaconda_win\workspace_py38> conda update -n base -c defaults conda Collecting package metadata (current_repodata.json): done Solving environment: done # All requested packages already installed. (base) PS C:\anaconda_win\workspace_py38> }} *** 最近の OpenVINO™ツールキット (2022/11/16 記述) [#a99e785b] - 2022.1版以降 オフィシャルサイトのインストール方法が変更になっている~ #ref(web_openvino_m.jpg,right,around,15%,web_openvino_m.jpg) - 2022.1版より API2.0 が採用(強く推奨)されているが API1.0 もサポートする旨の表記があるので「OpenVINO™ 2022.1」(安定版)をインストールする~ [[Intel® Distribution of OpenVINO™ Toolkit>+https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html]]~ - 推論を実行するだけならランタイム版のインストールでよい~ - サイトのページで使用する環境を選び得られるコマンドを実行するだけでよく簡単になった~ *** OpenVINO™ + stable_diffusion「stable_diffusion.openvino」 [#yf126455] - OpenVINO™ツールキットの例が多いがランタイム版で実行できる~ - venv 仮想環境の記述があるが Anaconda 仮想環境で問題なく実行できる~ - インストール中エラーが1か所発生するがこのプロジェクトでは問題ないのでは無視する~ #codeprettify(){{ 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. torchvision 0.10.0+cpu requires pillow>=5.3.0, which is not installed. }} *** Windows で初回実行の学習済みモデル・ダウンロードで管理権限がないとエラーになるとき [#e152d554] #ref(win_set0.jpg,right,around,15%,win_set0.jpg) -「設定」→「更新とセキュリティ」→「開発者向け」のページを表示する~ - 「開発者モード」の設定を ON にする~ *** Anaconda 仮想環境の自動アクティベート(ターミナル起動時の設定) [#e689181f] ''■ Linux の場合''~ + 初期設定スクリプトを用意する~ #divregion(「anaconda_setup_py38.sh」) #codeprettify(){{ #!/bin/sh echo "[anaconda_setup_py37.sh] Anaconda3 (py37) environment initialized" if [ -e $HOME/anaconda3/etc/profile.d/conda.sh ]; then # Anaconda がインスール済みの環境 if [ -z "$ANACONDA_PATHSET" ]; then export -n PYTHONPATH # 設定クリア source $HOME/anaconda3/etc/profile.d/conda.sh if [ -e $HOME/workspace/lib ]; then export PYTHONPATH=$HOME/workspace/lib fi if [ -e $HOME/omz_demos_build/omz_demos.sh ]; then source ~/omz_demos_build/omz_demos.sh fi ANACONDA_PATHSET=$PYTHONPATH else echo " Anaconda3 environment already setup !!" if [ -n "$ANACONDA_PATHSET" ]; then export PYTHONPATH=$ANACONDA_PATHSET fi fi cd $HOME/workspace_py37 conda activate py37 conda info -e OPENVINO_PATHSET= # OpenVINO 設定クリア else # Anaconda が存在しないとき echo " Anaconda is not installed !!" fi export PYTHONPATH=$PYTHONPATH:$HOME/workspace_py37/mylib echo " PYTHONPATH=" printenv PYTHONPATH }} #enddivregion #divregion(「anaconda_setup_py37.sh」) #codeprettify(){{ #!/bin/sh echo "[anaconda_setup_py37.sh] Anaconda3 (py37) environment initialized" if [ -e $HOME/anaconda3/etc/profile.d/conda.sh ]; then # Anaconda がインスール済みの環境 if [ -z "$ANACONDA_PATHSET" ]; then export -n PYTHONPATH # 設定クリア source $HOME/anaconda3/etc/profile.d/conda.sh if [ -e $HOME/workspace/lib ]; then export PYTHONPATH=$HOME/workspace/lib fi if [ -e $HOME/omz_demos_build/omz_demos.sh ]; then source ~/omz_demos_build/omz_demos.sh fi ANACONDA_PATHSET=$PYTHONPATH else echo " Anaconda3 environment already setup !!" if [ -n "$ANACONDA_PATHSET" ]; then export PYTHONPATH=$ANACONDA_PATHSET fi fi cd $HOME/workspace_py37 conda activate py37 conda info -e OPENVINO_PATHSET= # OpenVINO 設定クリア else # Anaconda が存在しないとき echo " Anaconda is not installed !!" fi export PYTHONPATH=$PYTHONPATH:$HOME/workspace_py37/mylib echo " PYTHONPATH=" printenv PYTHONPATH }} #enddivregion #divregion(「env_select.sh」) #codeprettify(){{ #!/bin/sh echo [env_select.sh] Environment Select !! while : do echo " 1: Nomal" echo " 2: OpenVINO" echo " 3: Anaconda (py37)" echo " 4: Anaconda (py38)" read -p " Prease input '1-4' : " key if [ -z "$key" ]; then echo -e " ** Phsh 'Enter' Nomal environment select !! **\n" break elif [ "$key" = "1" ]; then echo -e " ** Nomal environment select !! **\n" break elif [ "$key" = "2" ]; then echo -e " ** OpenVINO environment select !! **\n" source $HOME/openvino_setup.sh break elif [ "$key" = "3" ]; then echo -e " ** Anaconda environment (py37) select !! **\n" source $HOME/anaconda_setup_py37.sh break elif [ "$key" = "4" ]; then echo -e " ** Anaconda environment (py38) select !! **\n" source $HOME/anaconda_setup_py38.sh break else echo -e " !!! Input error !!!\n" fi done }} #enddivregion ~ + 「.bashrc」の最後にに設定を書く~ #codeprettify(){{ $ vi .bashrc : source $HOME/env_select.sh }} ''■ Windows の場合''~ +「スタートボタン」を押し「Anaconda Powershell Prompt (anaconda3)」の上で 右クリック → その他 → ファイルの場所を開く を選択する。~ +「Anaconda Powershell Prompt (anaconda3)」をコピーして名前を付ける「Anaconda (py38)」 + 表示されるエクスプローラ上の「Anaconda (py38)」で 右クリック → プロパティ を選ぶ。~ + リンク先の項目を変更する。~ ・元の記述(初期値)~ #codeprettify(){{ %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\ProgramData\Anaconda3\shell\condabin\conda-hook.ps1' ; conda activate 'C:\Users\<User>\anaconda3' " }} ・次のように変更 <User> = ユーザー名 X: = anaconda_winを配置したドライブ~ #codeprettify(){{ %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\ProgramData\Anaconda3\shell\condabin\conda-hook.ps1' ; conda activate 'C:\Users\<User>\anaconda3\envs\py38' ; Set-Location 'X:\anaconda_win' " }} #br ** 更新履歴 [#c103def0] - 2022/11/15 初版~ - 2022/11/16 インストール環境を「Anaconda」とする~ #br * 参考資料 [#q9285025] - OpenVINO™ Toolkit~ -- [[オフィシャルサイト Intel® Distribution of OpenVINO™ Toolkit>+https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html]]~ -- [[オフィシャルサイト Install OpenVINO™ Development Tools>+https://docs.openvino.ai/nightly/openvino_docs_install_guides_install_dev_tools.html]]~ - stable_diffusion~ -- [[stable_diffusion.openvino>+https://github.com/bes-dev/stable_diffusion.openvino]]~ -- [[Openvino2022.2 + stable diffusion>+https://openvino.jp/openvino2022-2-stable-diffusion/]]~ -- [[Openvino2022.2 + stable diffusion その2>+https://openvino.jp/openvino2022-2-stable-diffusion-2/]]~ -- [[画像生成AIの「Stable Diffusion」を試してみた>+https://osakametro-adera.jp/blog/20221102]]~ -- [[インフラ一筋のおじさんが画像生成AI“Stable-Diffusion”を読み込んでみる件>+https://eng-blog.iij.ad.jp/archives/14969]]~ -- [[Stable Diffusionにおける呪文についての詳細と呪文ルール、イメージに近いイラストを生成するコツなどを解説>+https://app-story.net/stable-diffusion-incantation/]]~ -- [[イラストを描画できるAI!Stable Diffusionの活用方法 PromptからPythonでのコーディングまで>+https://murasan-net.com/index.php/2022/10/26/stable-diffusion-summary/]]~ -- [[Stable Diffusion 呪文探しの旅 美しい絵が描けるPromptを集めてみました Part 1>+https://murasan-net.com/index.php/2022/09/08/stable-diffusion-prompt-part1/]]~ -- [[Stable Diffusion 呪文探しの旅 幻想世界の風景を生み出すPrompt Part 2>+https://murasan-net.com/index.php/2022/11/07/stable-diffusion-prompt-part-2/]]~ -- [[Stable Diffusionのimg2img(画像から画像)をソフトから簡単に実行 [NMKD Stable Diffusion GUI]>+https://pajoca.com/stable-diffusion-gui-img2img/]]~ -- [[NMKD Stable Diffusion GUI 1.6.0 の新機能・導入/更新方法>+https://pajoca.com/stable-diffusion-gui-nmkd-1-6-0/]]~ #br