#author("2023-08-31T08:35:11+09:00","default:okada","okada")
#author("2023-10-06T11:26:15+09:00","default:okada","okada")
*Roop [#n70ccf65]

RIGHT:¹¹¿·Æü&lastmod();
RIGHT:ºîÀ®Æü:2023ǯ8·î30Æü

Roop¤Ï´é¤òÊ̤δé¤ËÆþ¤ìÂؤ¨¤ëfakeºîÀ®¥â¥¸¥å¡¼¥ë

**»öÁ°½àÈ÷ [#lf1ff744]

***VisualStudi¤Î¥¤¥ó¥¹¥È¡¼¥ë [#pf134dbc]

-°Ê²¼¤«¤é¡ÖVisualStudioSetup.exe¡×¤ò¥À¥¦¥ó¥í¡¼¥É

--https://visualstudio.microsoft.com/ja/

&ref("./VS_inst1.png");

-¥¤¥ó¥¹¥È¡¼¥ë

¡ÖVisualStudioSetup.exe¡×¤ò¼Â¹Ô

--Python³«È¯
--C++¤Ë¤è¤ë¥Ç¥¹¥¯¥È¥Ã¥×¤Î³«È¯
--Visual Studio³ÈÄ¥µ¡Ç½¤Î³«È¯

¤òÁªÂò¤¹¤ë

''MS¤Ë¤Ï¥µ¥¤¥ó¥¤¥ó¤·¤Ê¤¤''

&ref("./VS_inst2.png");

&ref("./VS_inst3.png");

&ref("./VS_inst4.png");

&ref("./VS_inst5.png");

ºÇ¸å¤Î²èÌ̤ϡÖX¡×¤ÇÊĤ¸¤ë

***Insight face¤Î¥¤¥ó¥¹¥È¡¼¥ë [#f6bb76c2]

 >pip install insightface==0.7.3
 Collecting insightface==0.7.3
   Using cached insightface-0.7.3.tar.gz (439 kB)
   Installing build dependencies ... done
   Getting requirements to build wheel ... done
   Installing backend dependencies ... done
   Preparing metadata (pyproject.toml) ... done
 Collecting matplotlib
   Using cached matplotlib-3.7.2-cp310-cp310-win_amd64.whl (7.5 MB)
 Collecting Pillow
   Using cached Pillow-10.0.0-cp310-cp310-win_amd64.whl (2.5 MB)
 Collecting numpy
   Using cached numpy-1.25.2-cp310-cp310-win_amd64.whl (15.6 MB)
 Collecting cython
   Using cached Cython-3.0.2-cp310-cp310-win_amd64.whl (2.8 MB)
 Collecting scikit-learn
   Downloading scikit_learn-1.3.0-cp310-cp310-win_amd64.whl (9.2 MB)
      ¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬¨¬ 9.2/9.2 MB 5.1 MB/s eta 0:00:00
 
 (ά)
 
 Successfully built insightface
 Installing collected packages: wcwidth, easydict, urllib3, typing-extensions, threadpoolctl, six, PyYAML, pyparsing, protobuf, prettytable, Pillow, packaging, numpy, networkx, lazy_loader, kiwisolver, joblib, idna, fonttools, cython, cycler, colorama, charset-normalizer, certifi, tqdm, tifffile, scipy, requests, PyWavelets, python-dateutil, opencv-python-headless, onnx, imageio, contourpy, scikit-learn, scikit-image, matplotlib, qudida, albumentations, insightface
   Running setup.py install for easydict ... done
Successfully installed Pillow-10.0.0 PyWavelets-1.4.1 PyYAML-6.0.1 albumentations-1.3.1 certifi-2023.7.22 charset-normalizer-3.2.0 colorama-0.4.6 contourpy-1.1.0 cycler-0.11.0 cython-3.0.2 easydict-1.10 fonttools-4.42.1 idna-3.4 imageio-2.31.2 insightface-0.7.3 joblib-1.3.2 kiwisolver-1.4.5 lazy_loader-0.3 matplotlib-3.7.2 networkx-3.1 numpy-1.25.2 onnx-1.14.1 opencv-python-headless-4.8.0.76 packaging-23.1 prettytable-3.8.0 protobuf-4.24.2 pyparsing-3.0.9 python-dateutil-2.8.2 qudida-0.0.4 requests-2.31.0 scikit-image-0.21.0 scikit-learn-1.3.0 scipy-1.11.2 six-1.16.0 threadpoolctl-3.2.0 tifffile-2023.8.25 tqdm-4.66.1 typing-extensions-4.7.1 urllib3-2.0.4 wcwidth-0.2.6
 
 [notice] A new release of pip available: 22.2.1 -> 23.2.1
 [notice] To update, run: python.exe -m pip install --upgrade pip

***ifnude¤Î¥¤¥ó¥¹¥È¡¼¥ë [#q1326f71]

 >pip install ifnude
 Collecting ifnude
   Obtaining dependency information for ifnude from https://files.pythonhosted.org/packages/cf/33/f574d30776de4729dc67be79b273cbd000ce37deb4b897331c0dd2a41096/ifnude-0.0.3-py2.py3-none-any.whl.metadata
   Downloading ifnude-0.0.3-py2.py3-none-any.whl.metadata (1.7 kB)
 Requirement already satisfied: pillow in c:\usr\python\python310\lib\site-packages (from ifnude) (10.0.0)
 Requirement already satisfied: opencv-python-headless>=4.5.1.48 in c:\usr\python\python310\lib\site-packages (from ifnude) (4.8.0.76)
 Requirement already satisfied: tqdm in c:\usr\python\python310\lib\site-packages (from ifnude) (4.66.1)
 Requirement already satisfied: scikit-image in c:\usr\python\python310\lib\site-packages (from ifnude) (0.21.0)
 Requirement already satisfied: onnxruntime in c:\usr\python\python310\lib\site-packages (from ifnude) (1.15.1)
 Requirement already satisfied: numpy>=1.21.2 in c:\usr\python\python310\lib\sit e-packages (from opencv-python-headless>=4.5.1.48->ifnude) (1.25.2)
 
 (ά)
 
 Requirement already satisfied: pyreadline3 in c:\usr\python\python310\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime->ifnude) (3.4.1)
 Downloading ifnude-0.0.3-py2.py3-none-any.whl (7.1 kB)
 Installing collected packages: ifnude
 Successfully installed ifnude-0.0.3

**roop¤Îgithub¥¤¥ó¥¹¥È¡¼¥ë [#u7389fa7]

³ÈÄ¥µ¡Ç½¢ªURL¤«¤é¥¤¥ó¥¹¥È¡¼¥ë

-DLURL

--https://github.com/s0md3v/sd-webui-roop

&ref("./roop_Inst1.png");

&ref("./roop_Inst2.png");

&color(red){''¤³¤³¤Þ¤Çºî¶È¤·¤ÆºÆµ¯Æ°¤¹¤ë¤È&ref("./Error.txt");¤ÎError1¡¢2¤¬È¯À¸¤·¤ÆÆ°ºî¤·¤Ê¤¤''};

&color(red){''(¤¿¤À¤·¡¢²èÌ̤ˤϾ¤Î³ÈÄ¥µ¡Ç½¤ÈƱ¤¸¤è¤¦¤Ë¡Öroop v0.0.2)¡×¤¬É½¼¨¤¹¤¹¤ë)};

**ErrorÂкö [#la3f8b16]

***Error2¤ÎÂкö [#o0de1bb3]

stable-diffusion-webuiľ²¼¤Î°Ê²¼¤Î2¤Ä¤Î¥Õ¥¡¥¤¥ë¤ÎʸËö¤Ë°Ê²¼¤ÎÆâÍƤòÄɲÃ

-requirements_versions.txt
-requirements.txt 

 insightface==0.7.3
 onnxruntime==1.15.1

-requirements.txt 
-requirements_versions.txt

 Insightface==0.7.3
 onnx==1.14.1
 onnxruntime==1.15.1
 ifnude==0.0.3

Stable DiffusionºÆµ¯Æ°

&color(red){''roop¤òŬÍѤ¹¤ë¤È&ref("./Error.txt");¤ÎError3¤¬È¯À¸''};

***Error3¤ÎÂкö [#x10f2f44]

stable-diffusion-webui\models\roop¤Ënswapper_128.onnx¥â¥Ç¥ë¤òÆþ¤ì¤ë

¤¿¤À¤·¡¢¥ª¥ê¥¸¥Ê¥ë¥µ¥¤¥È¤Ë¤Ï¸«¤Ä¤«¤é¤Ê¤¤¤¬°Ê²¼¤«¤éDL¤Ç¤­¤¿

-https://drive.google.com/u/0/uc?id=1krOLgjW2tAPaqV-Bw4YALz0xT5zlb5HF&export=download

&color(red){¤³¤ÎÂбþ¤ò¹Ô¤Ã¤¿¤éError1¤â¾Ã¤¨¤ë};

**ºî¶È¼ê½ç [#vf83163b]

­¡Å¬Åö¤Ê¥×¥í¥ó¥×¥È¤Ç¸µ²èÁü¤òºîÀ®¤¹¤ë(txt2img¤Çºî¶È)

&ref("./Êѹ¹Á°.png");

­¢¥·¡¼¥É¤ò¸ÇÄꤹ¤ë

­£roop¤òÍ­¸ú²½¤¹¤ë

&ref("./roop.png");

­¤Êѹ¹²èÁü¤òroop¤Ë¥É¥é¥Ã¥°¥¢¥ó¥É¥É¥í¥Ã¥×¤¹¤ë

&ref("./Êѹ¹²èÁü.png");

­¥À¸À®¤¹¤ë

¥Õ¥§¥¤¥¯²èÁü

&ref("./Êѹ¹¸å.png");


**»²¹Í [#d848fc40]

-https://www.youtube.com/watch?v=BREOo1ni_sg

-https://resanaplaza.com/2023/07/09/%E3%80%90%E7%B0%A1%E5%8D%98%E4%BE%BF%E5%88%A9%E3%80%91roop-for-stable-diffusion%E3%81%A7%E9%A1%94%E3%81%AE%E7%89%B9%E5%BE%B4%E3%82%92%E5%BC%95%E3%81%8D%E7%B6%99%E3%81%90%EF%BC%81/#toc3

¥È¥Ã¥×   ÊÔ½¸ º¹Ê¬ ¥Ð¥Ã¥¯¥¢¥Ã¥× źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS