ãã®ãã¥ãŒããªã¢ã«ã§ã¯ãæé ã説æããUbuntuãWindows 10ïŒWSLïŒã«ã€ã³ã¹ããŒã«ããPULSEãè©Šãããã®ç°å¢ãèšå®ããå¥ã®ãªãªãžãã«ã®åçãã¢ããããŒãããŠãè¯ãçµæãåŸãããæ¹æ³ã瀺ããŸãã
ã¢ãŒãã¢ãã¡ãŒã·ã§ã³ãšãããªãã¥ãŒããªã¢ã«-ããã«ã
ç§ãã¡ã«äžãããããã®
Face-Depixelizerã¯ãPULSEã䜿çšããããã®ããã³ããšã³ãã§ãã
PULSEã¯ãStyleGANãã¥ãŒã©ã«ãããã¯ãŒã¯ã«åºã¥ããšã³ãžã³ã§ãããã®æå³ã¯ããŒãããåçãã人ç©ã®é¡ã®ç»åã埩å ããããšã§ããã¡ãªã¿ã«ãããã¯CFVã®ç§åŠçãªç 究ã§ããNVidiaã®çæçæµå¯Ÿãã¥ãŒã©ã«ãããã¯ãŒã¯ã§ããStyleGANã¯ãååšããªã人ç©ã®ã©ã³ãã ãªé¡ãçæããŸãïŒå®éã«ã¯ããã®ãããªäººç©ããã§ã«ååšããŠãããšããããã§ãããïŒãæåŸã«ãPULSEã¯ããã®åçã§ç¬ããããåã人ç©ãã©ã®ããã«èŠãããã倧ãŸãã«æããŠãããŸãïŒ
ãã«ã¹ã«ææŠ
PULSE ã®ããŒãã®äžã«ã¯äœãããã®ããäžè¬çã«ã¯ã©ã®ããã«ããŒã«ã«ã§éå§ã§ããã®ãçåã«æããŸããã
èå³æ·±ãããšã«ãç§åŠè«æãæãããèŠãŠãå§ãæ¹ãšç¢ºç«æ¹æ³ãèãå§ããŸããïŒèªåãããã¥ãŒã©ã«ãããã¯ãŒã¯ããèšå®ããããšããªããšããäºå®ã«ããããããïŒã
ãããŠãç§ã¯ã§ããã ãæ©ããgithubãèœã¡ãåã«ïŒç§ãäœãæå³ããããç¥ã£ãŠãããªãïŒãPULSEãããžã§ã¯ãã«åãæ¿ãããšèšããŸãããèè ããã®ã€ã³ã¹ããŒã«ãªãã·ã§ã³ã瀺ããå ŽæïŒanacondaãšpythonããããããããã®å Žåãããã©ãããã©ãŒã åºæã®ããã±ãŒãžïŒã©ã€ãã©ãªïŒãå¿ èŠã§ããç§ã¯LinuxãããWindowsãŠãŒã¶ãŒã§ãããããããã¹ãŠåãããã«ãã©ã€ãã©ãªã®ç·šéãé¢åãªéžæãªãã§å®è¡ããããšæããŸãã Linuxããªããã°ãããã¯å®è¡ã§ããŸããã
ãã°ããåã«ãITã¹ãã·ã£ãªã¹ãã®äœäººããWindowsã«ãããLinuxã«ã€ããŠè©±ããŠããŸããããããŠãç§ã¯ãããããªãã«äŒããŸã-ç¡é§ã«ããŸã å®æããŠããŸãããã䟿å©ã§ãã
Linuxã®Windowsãµãã·ã¹ãã ã§ããWSLã䜿çšãããšãéçºè ã¯ã»ãšãã©ã®ã³ãã³ãã©ã€ã³ããã°ã©ã ããŠãŒãã£ãªãã£ãã¢ããªã±ãŒã·ã§ã³ãå«ãGNU / Linuxç°å¢ãå€æŽããã«Windowsã§çŽæ¥å®è¡ã§ãããããåå¥ã®ä»®æ³ãã·ã³ã䜿çšããå¿ èŠããªããªããŸãã
ããããããã¯ãWindowsããLinuxã³ãã³ãã©ã€ã³ã«ã¢ã¯ã»ã¹ããããã®ãã®ã§ããLinuxã®ã¿ãŒããã«ã¯ãcmdãšåããããç°¡åã«èµ·åã§ããŸãã䟿å©ã§ãã
å§ããŸããã
ã¿ãŒããã«ãæäœããã«ã¯ããããšãããªã§Windowsã¿ãŒããã«ïŒWindowsã¹ãã¢ããïŒã䜿çšããŸãã
èŠããã«
èŠä»¶ã®ç¢ºèª
- CUDAããµããŒãããNVidiaãããªã«ãŒãïŒStyleGANãã¥ãŒã©ã«ãããã¯ãŒã¯ã¯CUDAã䜿çšïŒããµããŒããããŠãããããªã«ãŒãã®ãªã¹ãã¯ãã¡ã
- NVidia CUDA WSL2 ( , ).
- Windows 10 version 2004 build 20150 ( Windows Insider Program ), .
- WSL2 (4.19.121 ; Windows) linux .
- Ubuntu 18.04 WSL2 Windows Store.
Ubuntu
- cmake
- unzip,
- NVidia CUDA Toolkit.
CUDA
anacondaãããŠã³ããŒãããŠã€ã³ã¹ããŒã«ããŸãã
PULSEãã€ã³ã¹ããŒã«ãã
- github PULSEããã®ããŠã³ããŒã
- pulse.ymlã®ç·šéïŒ
- ãã£ã³ãã«ãè¿œå ããanacondaãconda-forge
- ç¹å®ã®ã¢ã»ã³ããªãžã®åç §ãåé€ãã
- ç·šéãããã¡ã€ã«ã䜿çšããŠPULSEç°å¢ãã€ã³ã¹ããŒã«ãã
- Pythonã§ã®PytorchãšCUDAããŒã«ãããã®ããã©ãŒãã³ã¹ã®ç¢ºèªã
å®éš
- ææ°ããŒãžã§ã³ãžã®pip update jupyterããŒãããã¯ã®äœ¿çš
- ç»åã調æŽããïŒåœŒããPULSEã1024 * 1024ã®æ£æ¹åœ¢ã®ç»åãš3ã€ã®RGBãã£ãã«ã§ãã€ãŸãéæ床ãªãã§æ©èœããããšãæžããŠããåé¡ã§ïŒ
- ã¹ãããæ°ãšãšã©ãŒãå¢æžããŸã
- ...
- å©çïŒ
äžèšã¯ãäžéç»åããäœæãããã¢ãŒãã¢ãã¡ãŒã·ã§ã³ã§ãã
ããšããã«ããããã«ããçŸåèããããäžåºŠèŠãã»ãããããããããªã§ã¯ãWSL2ã®æŽæ°ãšUbuntuã®ã€ã³ã¹ããŒã«ããå§ãŸããã¹ãŠã®æé ã瀺ããŠããŸãã
ãããŠä»âŠ
ãã£ãšè©³ãã
å¿ èŠæ¡ä»¶
ããäžåºŠç§ã¯èŠä»¶ãç¹°ãè¿ããŸãïŒ...ãããŠ100åç®ã®ç·šéã®åŸã100åç®ã«ãã¡ãŠã©ãŒãèŠããŸãïŒïŒ
- Windows 10ããŒãžã§ã³2004ãã«ã20150以é
- WSL2ïŒããŒãžã§ã³4.19.121以éïŒ
- WSL2ã®Ubuntu 18.04ã¯ãWindowsã¹ãã¢ããã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ãã®ãã®ã§ãããã¹ãŠã®Windows 10 Insiderã¢ããããŒããããŒã«ãã©ã¯ãŒããããåŸã«ã€ã³ã¹ããŒã«ãããŸããWSL2
- NVidiaãã©ã€ããŒWSLã¯ãæ°ããããŒãžã§ã³ã®WSL2ããµããŒãããè©ŠéšçãªããŒãžã§ã³ã®ãã©ã€ããŒã§ããNVidiaå®éšããã°ã©ã ã«åå ããã«ã¯åæãå¿ èŠã§ãããããããã¹ãŠã®ã«ãŒããæ©èœããããã§ã¯ãããŸããã
OSã®æºå
ãŠã€ã³ããŠãº10
ç®æšïŒWindows 10ããŒãžã§ã³2004ãã«ã20150以äžã®
ååŠçïŒ
- ã¢ããããŒããèµ·åããŠããŸã
- 次ã«ãã¢ããªã±ãŒã·ã§ã³ã䜿çšããŠ
winver
ãWindowsã®çŸåšã®ããŒãžã§ã³ã確èªããŸã - WindowsããŒãžã§ã³ãWindows 10ããŒãžã§ã³2004ãã«ã20150ããäœãå Žåã以äžã®æé ã«åŸãå¿ èŠããããŸãã
- ãããŠããã¹ãŠãåé¡ãªããã°ãããã§ãšãããããŸããWindowsInsider Programã«åå ããå¿ èŠã¯ãããŸããã次ã®ã¹ããŒãžã«é²ãã§ãã ããïŒ
ç§ãã¡ãããããšïŒ
- Windows Insider Programã«å ¥ã
- ããã«ãã·ã¹ãã ãã©ã¡ãŒã¿ã®ãæŽæ°ãšã»ãã¥ãªãã£ãïŒ
- Insider Programã¿ãïŒç©ºçœã®å Žåã以äžã®ãã©ãã«ã·ã¥ãŒãã£ã³ã°ã®ã»ã¯ã·ã§ã³ãåç
§ïŒïŒ
- è©äŸ¡ãªãã·ã§ã³ïŒæ©æã¢ã¯ã»ã¹
- ãéå§ããã¯ãªãã¯ããŸãã
- Windows Updateã¿ãïŒ
- ã詳现ãã§ããä»ã®ãã€ã¯ããœãã補åã®ã¢ããããŒããåãåãããã«ã¢ããããŒããããšãããèš±å¯ããããã«ããŠãã ããïŒããã¯WSL2 4.19.121以éãã€ã³ã¹ããŒã«ããããã®ãã®ã§ãïŒ
- æŽæ°ããŠããŸãã
- Insider Programã¿ãïŒç©ºçœã®å Žåã以äžã®ãã©ãã«ã·ã¥ãŒãã£ã³ã°ã®ã»ã¯ã·ã§ã³ãåç
§ïŒïŒ
ãã§ãã¯ïŒèµ·å
winver
ãéãããã€ã¢ãã°ããã¯ã¹ã§ãããŒãžã§ã³ã確èªããŸãã
NVidiaãã©ã€ããŒCUDA WSL
ç®çïŒææ°ããŒãžã§ã³ã®NVidiaãã©ã€ããŒCUDA WSLãã€ã³ã¹ããŒã«ã
ãŸãã
- ããŒãžã«ç§»åããŸã
- ãŸã ç»é²ããŠããªãå Žåã¯ç»é²ããŸããå®éšããã°ã©ã ã«åå ããããšã«åæãã
- ããŠã³ããŒããšã€ã³ã¹ããŒã«ã
æ€èšŒïŒãCUDAæäœæ§ãã§ãã¯ãã®æ®µéã«ãªããŸã
WSL2
ç®æšïŒWSL2ããŒãžã§ã³4.19.121以éã®
ååŠçïŒ
- äžèšã®æé ã§æŽæ°ããªãå ŽåãWindowsãWindows 10ããŒãžã§ã³2004ãã«ã20150以éã«æŽæ°ããŸã
- ã¿ãŒããã«ã§å®è¡ããåŸïŒ
ãã«ãã®å 容ã衚瀺ããïŒã¢ã©wsl --update
wsl --help
ïŒãå€ãããŒãžã§ã³ã«ãªããŸãã次ã«ã以äžã®æé ã«é²ã¿ãŸã - 4.19.121以éã®ããŒãžã§ã³ã衚瀺ãããŠããå Žåã¯ããã®æ®µéãã¹ãããããŸãã
ç§ãã¡ãããããšïŒ
- 管çè
ãšããŠPowerShellãèµ·åããé 次å®è¡ããŸãã
- è¿œå ã³ã³ããŒãã³ããLinuxçšWindowsãµãã·ã¹ãã ããå«ãŸããŠããŸãã
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- 次ã«ããä»®æ³ãã·ã³ãã©ãããã©ãŒã ãã³ã³ããŒãã³ããæå¹ã«ããŸãã
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- åèµ·åããŸãã
- è¿œå ã³ã³ããŒãã³ããLinuxçšWindowsãµãã·ã¹ãã ããå«ãŸããŠããŸãã
- WSLã®æŽæ°ïŒ
wsl --update
- 次ã«ãWSLã®2çªç®ã®ããŒãžã§ã³ãã€ã³ã¹ããŒã«ããŸãã
ããã¯ãä»åŸã®ãã¹ãŠã®ãã£ã¹ããªãã¥ãŒã·ã§ã³ã®ããã©ã«ãã§ãããããè¡ãã«ã¯ã管çè æš©éã§PowerShellãèµ·åããŠå®è¡ããŸãã
wsl --set-default-version 2
ãã§ãã¯ïŒã³ãã³ãïŒ
wsl --update
[ã¢ããããŒãã®ã€ã³ã¹ããŒã«åŸ]ã«ã¯ããŒãžã§ã³4.19.121以éã衚瀺ãããŸãã
WSL2äžã®Ubuntu 18.04
ç®æšïŒWSL2
ååŠçã§ã® Ubuntu 18.04ïŒWSLã以åã«ã€ã³ã¹ããŒã«ãããUbuntu 18.04ã®å ŽåïŒç§ã¯æ¬¡ã®ãã©ã³ãããã¹ãããŠããŸããããã³ã¡ã³ãã§æå®ããå Žåãæ¯æŽãåããæ¹ãããã§ãããïŒïŒ
- ãªã¹ãã§ç¢ºèªããŸãã
wsl --list --all -v
- ãã®é
åžã§ã¯ãWSLããŒãžã§ã³ãver.2ã«åãæ¿ããŸãã
wsl --set-version Distro 2
äŸãã°ïŒ
wsl --set-version Ubuntu-18.04 2
- åèµ·åããŸãã
ç§ãã¡ãããããšïŒ
- Windowsã¹ãã¢ã«ç§»åããŸã
- Ubuntu 18.04ãæ¢ããŠã€ã³ã¹ããŒã«ããŸã
ãã§ãã¯ïŒã¿ãŒããã«ãéããŠå®è¡ïŒ
wsl --list --all -v
èŠã
Ubuntu 18.04 Version 2
Ubuntuã®æºå
äºåæºå
- ããã±ãŒãžã€ã³ããã¯ã¹ã®æŽæ°ïŒ
sudo apt update
- cmakeãã€ã³ã¹ããŒã«ããŸãïŒdlibãã€ã³ã¹ããŒã«ããã«ã¯ïŒïŒ
sudo apt install cmake
- zipã¢ãŒã«ã€ãã解åããã«ã¯ãããšãã°unzipãŠãŒãã£ãªãã£ãã€ã³ã¹ããŒã«ããŸãã
sudo apt install unzip
CUDAããŒã«ãããã®ã€ã³ã¹ããŒã«
- CUDAãããã±ãŒãžã€ã³ããã¯ã¹ã«è¿œå ããŸãã
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub sudo sh -c 'echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /" > /etc/apt/sources.list.d/cuda.list' sudo apt update
- CUDAããŒã«ããããã€ã³ã¹ããŒã«ããŸãã
sudo apt install -y cuda-toolkit-11-0
CUDAããŒã«ãããã®ããã©ãŒãã³ã¹ã®ç¢ºèª
ãããè¡ãã«ã¯ãäŸãå®è¡ããŸãïŒdeviceQueryããã°ã©ã ã¯æçã§ãïŒã
- ããŠã³ããŒãïŒ
wget https://github.com/NVIDIA/cuda-samples/archive/master.zip
- 解åïŒ
unzip master.zip
- å
ã«é²ã¿ãïŒãã¹ãŠïŒãã«ãããŸãã
make
- å®è¡ïŒ
./bin/x86_64/linux/release/deviceQuery
ã¢ããªã±ãŒã·ã§ã³ã¯ãäºææ§ã®ããããã€ã¹ã®ãªã¹ãã衚瀺ããŸãã
Anacondaã®ã€ã³ã¹ããŒã«
- ãªã³ã¯ãããã£ã¹ããªãã¥ãŒã·ã§ã³ãããŠã³ããŒãããŸã
- å®è¡ïŒ
bash Anaconda3-2020.02-Linux-x86_64.sh
ã€ã³ã¹ããŒã«äžïŒ
- ã©ã€ã»ã³ã¹ã«åæãã
- PREFIXããåºçº
- åæåã«åæããŸã
- 端æ«ãåèµ·åãããã次ãå®è¡ããŸãã
source ~/.bashrc
anacondaã§ã®ç°å¢ã®ã»ããã¢ãã
PULSEã®æ§æ
- ããŠã³ããŒãïŒ
wget https://github.com/adamian98/pulse/archive/master.zip
- 解åïŒ
unzip master.zip
- Pulse.ymlã®ããã¯ã¢ãããäœæããŸãã
cp pulse.yml pulse.yml.bak
- Pulse.ymlãä¿®æ£ããŸãã
- ãã£ãã«ãè¿œå ããŸãïŒãããã¯ããã±ãŒãžãœãŒã¹ã§ãïŒã
- ã³ã³ããã©ãŒãž
- ã¢ãã³ã³ã
- ããã±ãŒãžã®ç¹å®ã®ããŒãžã§ã³ã®ãã¹ãŠã®åç
§ãåé€ããŸãã
äŸïŒzstd=1.3.7=h5bba6e5_0
çå·ããã§å§ãŸãè¡ããã®æåŸã®éšåãåé€ã=h5bba6e5_0
ãŸãããã®çµæããzstd=1.3.7
ããååŸãããŸãã
æäœæ¥ã§ããŸãã¯sedãŠãŒãã£ãªãã£ã䜿çšããŠè¡ããŸãã
sed '/==/b; s/=\([^=]*\)$//' pulse.yml > pulse1.yml
: , , "==", regexp
- ãã£ãã«ãè¿œå ããŸãïŒãããã¯ããã±ãŒãžãœãŒã¹ã§ãïŒã
-
pulse1.yml
:
conda env create -f pulse1.yml
- , -
NotResolverPackage
.libfortran 3.0.1
:
- conda libfortran
- Anaconda Cloud Files (3.0.1), , , osx-64
- Anaconda Cloud, cloud-forge 3.0.0-1 linux-64. !
- pulse1.yml
libfortran=3.0.1
libfortran=3.0.0=1
- :
conda env create -f pulse1.yml
- , !
- ä»ã®ããã±ãŒãžãå¿ èŠãªå Žåã¯ããã£ã³ãã«ã«æ³šæããŠãå¿ èŠã«å¿ããŠè¿œå ããŠãã ããã
- ã€ã³ã¹ããŒã«ãããã®ãåŸ ã£ãŠããŸã
- 次ã«ãã¢ã¯ãã£ãåããŸãã
conda activate pulse
Python ã§ã®PytorchãšCUDAã®ããã©ãŒãã³ã¹ã®ç¢ºèª
- ãã®ã¹ã¯ãªããïŒ
from __future__ import print_function import torch x = torch.rand(5, 3) print(x)
ãã®ãããªãã®ãåºåããå¿ èŠããããŸãïŒ
tensor([[0.3380, 0.3845, 0.3217], [0.8337, 0.9050, 0.2650], [0.2979, 0.7141, 0.9069], [0.1449, 0.1132, 0.1375], [0.4675, 0.3947, 0.1426]])
- ãããŠããïŒ
import torch torch.cuda.is_available()
åºåãããŸãïŒ
True
ãã®æ®µéã§ãçè«çã«ã¯åæ¢ã§ããŸããããããç§ã¯å ã«é²ã¿ãå®éšçšã«jupyterããŒãããã¯ãã€ã³ã¹ããŒã«ããŸããã
Jupyter Notebookã¯ãããŒã¿ãµã€ãšã³ã¹ãããžã§ã¯ããã€ã³ã¿ã©ã¯ãã£ãã«éçºããã³è¡šç€ºããããã®éåžžã«åŒ·åãªããŒã«ã§ãã
PULSEã®äœ¿çš
å§ããŸããã
- ãã«ã¹ç°å¢ãã¢ã¯ãã£ãã«ããŸãã
conda activate pulse
- Jupiterã®ã€ã³ã¹ããŒã«ïŒ
pip install jupyter
- å®è¡ïŒ
ãããŠããã«ïŒjupyter notebook
- æ°ããããŒãããã¯ãäœæNew-> Python3ïŒããŒãããã¯ïŒ
- ããã®ãã¡ã€ã«ããã³ãŒãã貌ãä»ããŸã
- ãœãŒã¹ãã¡ã€ã«ããããžã§ã¯ãã®ã«ãŒãã«ã¹ããŒããååãsource.pngã«å€æŽããŸãã
cp /mnt/c/Users//Desktop/face1.png source.png
- ããŒã³ãããŸããåŸ ã£ãŠã
ããŒã
- , 500-800, eps
- :
- , , 1024*1024
- PNG
- (RGB) RGBA
- : "
Could not find a face that downscales correctly within epsilon
", :
steps \ eps, , (steps), eps L2. .
:
BEST (400) | L2: 0.0013 GEOGROSS: | TOTAL: | time: ...
400ã¯ïŒæå®ãããïŒéæãããã¹ãããæ°ïŒstepsïŒã§ãL2ã¯å¯Ÿè±¡ã®å€ã§ããããã¯æå®ãããepsãããå°ãããªããã°ãªããŸããïŒç§ãç解ããŠããããã«ãããã¯æé©åã®ç²ŸåºŠã§ãã仲éã®AIéçºè ãæããŠãã ããïŒã
ãããã£ãŠãããšãã°ã1ã€ãŸãã¯å šéšãå¢ããå¿ èŠããããŸããã¹ãããïŒ400以äžïŒãš\ãŸãã¯epsïŒeps = 0.0013以äžãã€ãŸãeps> = L2ã«ãªãããã«ããå¿ èŠããããŸãïŒ ...
- åã¹ãããã®äžéåçã衚瀺ããå Žåã¯
-save_intermediate
ã[ç»åã¯ãã©ã«ãã«ä¿åãããŸã] ãã©ã¡ãŒã¿ãè¿œå ããŸãruns/
ããã©ã«ãåHR
-é«è§£å床ããã©ã«ãåLR
-äœè§£å床ïŒ
èããããåé¡ã¯æ¬¡ã®ãšããã§ãã
åé¡ã®è§£æ±º
ãšã©ãŒãçºçããã ãã§ãªãããããã解決ããå Žåã¯ãããã«è¿œå ããŸãã
Windows Insiderããã°ã©ã ã®çœãç»é¢
ãªãã·ã§ã³ïŒå¥ã®ãŠãŒã¶ãŒã®äžã«ãããååãªæš©éããããŸããã
解決çïŒãªã³ã¯ãåç §ããŠãã ãããããããç§ã¯ã¬ãžã¹ããªãå€æŽããã«ããã解決ããŸããã
CUDAãµã³ãã«ãèµ·åããªã
ãªãã·ã§ã³ïŒ
- ã䜿ãã®ã°ã©ãã£ãã¯ã«ãŒãã¯ãµããŒããããŠããŸãã
- ææ°ã®WSL2ãå°å ¥ããŠããŸãã
- NVidia Driver CUDA WSLã®ææ°ïŒå®éšçïŒããŒãžã§ã³ãã€ã³ã¹ããŒã«ããŠããŸãã
èµ·åæã«jupyter notebook
ãšã©ãŒãã¹ããŒããŸã
ãšã©ãŒïŒ
Start : This command cannot be run due to the error: The system cannot find the file specified.
解決çïŒæ¥ç¶æååããã©ãŠã¶ãŒã«ã³ããŒããŸãïŒä»ã®è§£æ±ºçãç解ã§ããŸããã§ããïŒã
PULSEãèµ·åãããšãåžžã«ãšã©ãŒãçºçãã
ãšã©ãŒïŒ
Google Quota Exceeded
解決çïŒãœãŒã¹ãã¡ã€ã«ãç§ããã³ããŒããŠãã«ãŒãïŒãã£ãã·ã¥ãã©ã«ããŒã«ãªãå Žåã¯äœæïŒã«ã¹ããŒããŸãã
ãŸãã¯ïŒ
- PULSE.pyããæåã®Googleãªã³ã¯ã䜿çšããŠãã¡ã€ã«ãããŠã³ããŒãããŸã
- ãã³ãã¬ãŒãmd5hash _synthesis.pt ã䜿çšããŠååãå€æŽããŸããããã§ãmd5hashã¯ããŠã³ããŒããããã¡ã€ã«ã®md5ããã·ã¥ã§ãïŒçŸåšã®ããŒãžã§ã³ã§ã¯
6b943ee69b8491ac40e8e9ced6175659_synthesis.pt
ïŒ - ããããã£ãã·ã¥ãã©ã«ããŒã«å ¥ããŸãïŒPULSEãé 眮ãããŠãããã£ã¬ã¯ããªã®ã«ãŒãã«ãªãå Žåã¯äœæããŸãïŒã
PULSEãéå§ãããšãããŸãã¯Pytorchããã§ãã¯ãããšãã«ãšã©ãŒãã¹ããŒããã
ãšã©ãŒïŒ
ModuleNotFoundError: No module named 'torch'
解決çïŒpytorchããã§ãã¯ããŠæ©èœããå Žåã¯ããã«ã¹ç°å¢ãã¢ã¯ãã£ãåããŠããªãããšãæå³ããŸãããããè¡ãã«ã¯ã次ã®ã³ãã³ããå®è¡ããŸãã
conda activate pulse
çµè«
次ã®ã¹ãããã¯ãStyleGANãšããã«åºã¥ãä»ã®ããã¥ãŒã©ã«ãããã¯ãŒã¯ããç 究ããããšã§ãã
èšäºãæšå¥šäºé ïŒããã¯ç§ã®æåã®å ¬éèšäºãªã®ã§ãã¬ãŒã³ããŒã·ã§ã³ãå«ãïŒãä¿®æ£äºé ã«ã€ããŠã®ã³ã¡ã³ããèªãã§ããã ããã°å¹žãã§ãã
èªãã§ãããŠããããšãïŒ
ãŠãŒãã£ãªãã£ããã©ã€ããžã®åç §ãšãªã³ã¯
- WSLã§ã®CUDAçšNVidiaãã©ã€ããŒã®ã€ã³ã¹ããŒã«æé
- WSLã§ã®CUDAçšã®NVidiaãã©ã€ããŒ
- ãµããŒããããŠããCUDAãããªã«ãŒãã®ãªã¹ã
- CUDAã®äŸ
- Windows 10ã«WSL2ãã€ã³ã¹ããŒã«ããæé
- Windows Insider Programãã«ããšæŠèŠ-Windowsæ©æã¢ã¯ã»ã¹
- Linuxã·ã¹ãã ã«Anacondaãã€ã³ã¹ããŒã«ããæé
- ã¢ãã³ã³ãååžã®ãªã¹ã
- Jupyter Notbook-åæãšå®éš
- PULSEãªããžããª
- Face-Depixelizerãªããžããª
- StyleGANãªããžããª