ã©ã¤ã¾ããã£ã¯ã¹ã® Squarepusher æ° MV å¶ä½ãæ¯ãã Google Cloud
Kaz Sato
Developer Advocate, Cloud AI
Squarepusher "Terminal Slam" MV
9/9 ãããªã³ã©ã¤ã³ã§ã®ãã§ã¹ãã£ãã«éå¬ã¨ãªã£ãä¸çææ°ã®ã¡ãã£ã¢ã¢ã¼ãã®ç¥å ¸ãã¢ã«ã¹ã»ã¨ã¬ã¯ãããã«ãæ¯å¹´ãã¡ãã£ã¢ã¢ã¼ãã«é©æ°ãããããã人ç©ãä½åã»ããã¸ã§ã¯ãã表彰ãããã¢ã«ã¹ã»ã¨ã¬ã¯ãããã«è³ï¼Prix Ars Electronicaï¼ããçºè¡¨ãããçé大度æ°çããã©ã¤ã¾ããã£ã¯ã¹ãå¶ä½ãã Squarepusher ã®æ°ä½ MVãTerminal Slamããã³ã³ãã¥ã¼ã¿ã¼ã¢ãã¡ã¼ã·ã§ã³é¨éã®ãæ èªè³ï¼Honorary Mentionï¼ããåè³ãããæ©æ¢°å¦ç¿ï¼MLï¼ã«ãã Diminished Realityï¼æ¸æç¾å®ï¼ã Image Inpaintï¼ç»å修復ï¼ã§æ§æããã Mixed Realityï¼è¤åç¾å®ï¼ã® 4K ç»åãã¹ã¯ãªã¼ã³ãè¦ãå°½ããã¨ããæ°ããæ¼åºã注ç®ãéãã¦ããã
ãã®ã©ã¤ã¾ããã£ã¯ã¹ã®ã¯ãªã¨ã¤ãã£ããã£ãæ¯ããã®ããGoogle Cloud ã¨ãã® ML éçºåºç¤ã§ãããPerfume ã¨ã©ã¤ã¾ããã£ã¯ã¹ã®æ°ããªè©¦ã¿ãæ¯ãã Google ã®æ©æ¢°å¦ç¿ã§ãç´¹ä»ããããã«ãå½¼ãã¯ä»¥åãã Google ã® ML æè¡ã大èã«å°å ¥ããã¤ã³ã¿ã©ã¯ã·ã§ã³ãã¶ã¤ã³ãå®ç¾ãã¦ãããã§ã¯ä»åã® Terminal Slam ã®å¶ä½ã«ã¯ã©ã®ãã㪠ML æè¡ãæå ¥ããããã®æ°ã ã®èª²é¡ã®å¯¾å¦ã« Google Cloud ãã©ã®ããã«å½¹ç«ã£ãã®ããGoogle Cloud ãããããã¼ã¢ããã±ã¤ãã®ä½è¤ä¸æ²ããæ¬ MV ã®ãã£ã¬ã¯ã·ã§ã³ãæ å½ããçé大度æ°ã¨ML å®è£ ãæ å½ããæµ äºè£å¤ªæ°ã«è©±ãèããã
ãSquarepusher 㯠1 ãã¬ã¼ã åä½ã§ãã§ãã¯ãã¦ããã
ä½è¤ï¼Squarepusher ã¨ããã°ã¨ã¬ã¯ãã ãã¥ã¼ã¸ãã¯ã®åéã§ä¸çã代表ããã¢ã¼ãã£ã¹ãã®ã²ã¨ãã§ãããå½¼ã¨ã®ã³ã©ãã¯ã©ã®ãããªãã£ããã§å§ã¾ãã¾ãããï¼
çéæ°ï¼2013 å¹´ããã«ãæ¥æ¬ã®ç£ç£ã§ Squarepusher ã® MV ãä½ããã¨ããä¼ç»ãããããã®éã«èªåãææ¢ããã¾ãããä»ã ãããã話ãã¦ãããããªã¨æãã®ã§ãããå ã æ¨è¦ããã¦ããæ åç£ç£ãã¡ã¯ CM ãæ¥æ¬ã®ããããã¥ã¼ã¸ãã¯ã®ä»äºãã¡ã¤ã³ã§ãã£ã¦ããæ¹ã ã§ãå½¼ã¯èªåã®ä½åãæ®ãããããªãã¨æã£ãããã§ãï¼ç¬ï¼ã
å½æã®åã¯æ åç£ç£ã®ä»äºãã»ã¨ãã©ãã£ã¦ããªãã£ãã®ã§ãããSónar Festival Barcelona ãªã©å½¼ãåºæ¼ãã¦ãããã§ã¹ãã£ãã«ã«åºæ¼ãã¦ãããã¨ããé³æ¥½ã«ã¤ãã¦ã¯ãã ããããã£ã¦æ´»åãã¦ããç¹ã«ã¤ãã¦è©ä¾¡ãã¦ãããããã§ããã大å¦ã®é ãã Squarepusher ã¨å½¼ãæå±ãã Warp ã¨ããã¬ã¼ãã«ã®å¤§ãã¡ã³ã ã£ãã®ã§å¬ããã£ãã§ãããããããå½¼ã®ãã³ã Shobaleader One ã®ã©ã¤ãã®æ åã®ä»äºããããå½¼ã®å座㧠DJ ããã£ããã¨ããæãã§ããã¤ãä¸ç·ã«ä»äºããã¾ããã
ä½è¤ï¼ä»åã® MV ã®ã¢ã¤ãã£ã¢ã«ã¤ãã¦ã¯å½¼ããã¯ãªã¯ã¨ã¹ããæè¦ã¯ããã¾ããã§ããããï¼
çéæ°ï¼ã¢ã¤ãã£ã¢ã«ã¤ãã¦ã¯è²ã ãªè©±ãããä¸ã§ãæã ã®ããããè¡åãäºæ¬¡å©ç¨ããã¦åºåã«å±éããããã¨ã«å¯¾ãã¦äºäººã¨ãçåãæã£ã¦ãããã¨ããããåºåããã¢ãã¼ãã«æ±ããã¨ããã¨ããã«è½ã¡çããæãã§ãããå ã ãåãã©ã¤ã¾ãã Augumented Realityï¼æ¡å¼µç¾å®ï¼ã Mixed Realityï¼è¤åç¾å®ï¼ ã®ä½åãè²ã ã¨ææãã¦ããã®ã§ããããã£ããã¨ãèæ¯ã«ã¯ããã¾ããã¾ããCOVID-19 ã®å½±é¿ã§å»¶æã«ãªã£ã¦ãã¾ã£ãã®ã§ãããAR ã¢ããªãå½¼ã¨åºãä¼ç»ãããã¾ããã
ä½è¤ï¼å¶ä½ä¸ãé£ããç¹ã課é¡ã¯ããã¾ãããï¼
çéæ°ï¼ï¼å¾è¿°ã®ï¼ãã¯ãã«ã«ãªèª²é¡ã«å ãã¦ãaestheticï¼è¦ãç®ã®ç¾ããï¼ã®æ¹åã«ã¨ã¦ãæéããããã¾ãããä¾ãã°ç»åã®ã°ãªããï¼ãã¸ã¿ã«å¦çã®ã¨ã©ã¼ããã¤ãºãã¨ãã§ã¯ãã¨ãã¦å©ç¨ããææ³ï¼ã¯ãä¸è¬çãªã·ã§ã¼ãã¼ã§ã¯ãªãå®éã®ç»åå§ç¸®ã®ã¨ã³ã³ã¼ãã£ã³ã° ã¨ã©ã¼ã§çæããã®ã§ãã©ã®ãããªè¦ãç®ã«ãªããäºåã«äºæ³ã§ãã¾ããããã®ããããã¾ãã¾ãªãã©ã¡ã¼ã¿ã¼ã®çµã¿åããã§å¤§éã«ã°ãªããç»åãçæãããã®ä¸ããè¯ããã®ãç®è¦ãã¦é¸ãã ã®ã§ãããSquarepusher ã¯é©ãã»ã©ç´°ããã°ãªããç»åããã§ãã¯ããã®ã§ãã1 ãã¬ã¼ã åä½ã§æ示ãæ¥ã¦ããã®ã§ãããããã³ãéããã¦è¦ã¦ããã¨æãã®ã§ãããããã®ã°ãªããã¯åã®ãã¼ã¸ã§ã³ã®æ¹ãããããªã©ã®ãªã¯ã¨ã¹ãã«ãããã対å¿ãã¾ããã
Deep Learning VM ã§ãä½åº¦ã§ãä½ãç´ããéçºç°å¢ã
ä½è¤ï¼éçºåºç¤ã¨ã㦠Google Cloud 㨠TensorFlowï¼Google ãæä¾ãã ML ãã¬ã¼ã ã¯ã¼ã¯ï¼ãé¸ãã§ããã ããã®ã¯ã©ã®ãããªçç±ããã§ããããï¼
çéæ°ï¼ã¾ãåææè³ãä¸è¦ã§ãGoogle ã®ã¤ã³ãã©ãæ´»ç¨ã§ãããã¨ãä¸çªã®ã¡ãªãããã¨æãã¾ããããã¦ã¹ã±ã¼ã«ã¡ãªãããå¹ççã§æ´åããã API ã¨ã³ã³ã½ã¼ã«ã§ããã¾ãããã¥ã¼ããªã¢ã«ãå å®ãã¦ãããã¨ããGoogle Cloud 㨠TensorFlow ã使ãã¨ã³ã¸ãã¢ã®æ°ãå¤ããã¨ãéçºã¨å°å ¥ã®ã³ã¹ãåæ¸ã¨ããç¹ã§ã¯å¤§ããã§ãã
æµ äºæ°ï¼ä»åã®å¶ä½ã§ã¯ ML ã«ããç»åå¦çã®ãã¹ã¦ã Google Cloud ã§å®æ½ãã¾ãããçé㨠Squarepusher ãã¾ã¨ããã¢ã¤ãã£ã¢ãã¹ãã¼ãªã¼ããML æ å½ã®ç§ã CG æ å½ããããã¿ã¤ãã®æ åã«ä»ä¸ããã¾ã§ã®æé㯠2ã3 æ¥ã§ããã®ã¹ãã¼ãæã§çéãã¢ã¼ãã£ã¹ãã¨ã³ã©ãã¬ã¼ã·ã§ã³ã§ãããã¨ãéè¦ã§ããããã«éã«åãããããã«è¨å¤§ãª GPU ãªã½ã¼ã¹ãçæéã§æ¶è²»ããã®ã§ãGoogle Cloud ã®è±å¯ãªè¨ç®ãªã½ã¼ã¹ããªãã¨ã¾ã£ããéã«åãã¾ããã§ããã
ä½è¤ï¼ML ã«ããç»åå¦çã¨ã¯ãå ·ä½çã«ã¯ã©ã®ãããªãã®ã§ããããï¼
æµ äºæ°ï¼ã²ã¨ã¤ã¯ç©ä½æ¤ç¥ã§ããä¾ãã°æ¸è°·ã®äº¤å·®ç¹ã®æ åã«å¯¾ãã¦ã¯ããã®ããã«åºåã人ç©çããã¾ãã¾ãªç©ä½ã®ä½ç½®ãæ¤åºãã¦æ ç·ã§è¡¨ç¾ãã¦ãã¾ããããã®å®è£ ã«ã¯ TensorFlow çã® YOLO ã使ç¨ãã¾ããã
ç©ä½æ¤ç¥ã«ããåºåçã®ä½ç½®æ¤åº
æµ äºæ°ï¼ããã²ã¨ã¤ã¯ã»ã°ã¡ã³ãã¼ã·ã§ã³ãããã«ã¯ TensorFlow ãã¼ã ãå ¬éãã¦ãã DeepLab ã使ã£ã¦ãã¾ããã¡ãªã¿ã« DeepLab ã¯ä»¥åããæ°ã«å ¥ã£ã¦ãããã¼ã«ã§ãä»åã®å¶ä½ä»¥å¤ã«ãé ä¿¡ã¤ãã³ãã§ã®ãªã¢ã«ã¿ã¤ã VJ 㧠Occulusionï¼å¥¥è¡ãã«ããç©ä½ã®é è½ï¼ã«ãã使ãã¾ããæ¨è«ã«20 ms ç¨åº¦ããããããªã軽ããè¯ãã§ãã
æµ äºæ°ï¼3 ã¤ç®ã¯ãã»ã°ã¡ã³ãã¼ã·ã§ã³ã§å¾ããããã¹ã¯ã«å¯¾ããã¤ã³ãã¤ã³ãã£ã³ã°ã§ããAfter Effects ã OpenCV çã®é常ã®ã¨ãã§ã¯ãã«å ãã¦ãTensorFlow ã® GAN ãã¼ã¹ã®ã¤ã³ãã¤ã³ãã£ã³ã°ã使ã£ã¦ãã¾ãã
ä½è¤ï¼ãããã® ML ã«ããç»åå¦çã«éãã¦ãGoogle Cloud ãã©ã®ããã«æ´»ç¨ããã ããã®ã§ããããï¼
æµ äºæ°ï¼ä»åæ±ã£ã 4K ç»åã¯ãã®ã¾ã¾ã§ã¯ãµã¤ãºã大ããã㦠GPU ã®ã¡ã¢ãªã«ã¯åã¾ãããç©ä½æ¤ç¥ãã»ã°ã¡ã³ãã¼ã·ã§ã³ãé©ç¨ã§ãã¾ãããããã§åã ã®ç»åã 144 æã«åå²ããããããã Google Compute Engineï¼GCEï¼ã® NVIDIA V100 GPU ã§å¦çãã¦ãã¾ããé常æ㯠V100 ã 2 åã足ããªãã¨ãã¯æ大 8 åã¾ã§ç¨æãã¦ä¸¦åå®è¡ãã¦ãã¾ããããã®å¾ãå¾ãããèªèçµæãã¤ãªãåããããã¨ããã¦ãã¾ãã
ä»ã®ã¯ã©ã¦ããµã¼ãã¹ã¨æ¯ã¹ã¦ããGoogle Cloud ã¯éçºç°å¢ãä½ãã¾ã§ãéããããç°å¢ãå£ãã¦ãã¾ã£ã¦ããä½åº¦ã§ãããã«ä½ãç´ãã¾ããç¹ã«ãGCE ã§ä½¿ãã VM ã¤ã¡ã¼ã¸ã§ãã Deep Learning VM ãã¨ã¦ã便å©ã§ããGPU ãã©ã¤ãã numpy çã®ã»ããTensorFlow ã PyTorchãJupyter Notebook çã® ML ãã¼ã«ãæåããä¸éãå ¥ã£ã¦ããã®ã§ãèªåã§ã¤ã³ã¹ãã¼ã«ããã«ããã«ä½¿ããã®ãå©ããã¾ãã
ã¯ã©ã¦ã㨠ML ã®ãè¤åç¾å®ãã§æ¡ããã¯ãªã¨ã¤ã¿ã¼ã®è¡¨ç¾å
ä½è¤ï¼æå¾ã«ãä»åã®ä½åãä»å¾ã®å¶ä½ã§ã®æ°ãã試ã¿ã«ã¤ãã¦æãã¦ããã ãã¾ããï¼
çéæ°ï¼ä»åã®å¶ä½ã§ã¯ãé³æ¥½ããç¹å®ã®æ¥½å¨é³ã ããæãåºã TensorFlow ãã¼ã¹ã®ãã¼ã« Spleeter ã試ãã¾ãããåã ã®æ¥½å¨é³ã¨æ åã®ã¨ãã§ã¯ããåæãããããã«ã楽æ²ããè³ã³ãã¼ãã¦äººå㧠MIDI ãã¼ã¿ãä½æããã®ã§ãããè¤éãªãªãºã ãèãåãããã« Spleeter ãç¨ãã¦ãã©ã ã®ãã¼ããæãåºãã¦ãã¾ããå®éã®å¶ä½ã§ã¯ããããå°éãªä½æ¥ãå¿ è¦ã«ãªãã¾ãããGoogle Cloud ã® ML éçºç°å¢ã TensorFlow ã®ä½¿ãããããç¾å ´ã®ã¯ãªã¨ã¤ã¿ã¼ã®è¡¨ç¾åãæ¯ãã¦ããã¦ãã¾ãã
Terminal Slam ã«ãããé³æ¥½ã¨æ åã®åæï¼å·¦ï¼
AI ã¹ã¼ãã¼ã³ã³ãã¥ã¼ã¿ã¼ Cloud TPU Podï¼å³ï¼
æµ äºæ°ï¼å®ã¯ä»åãGoogle ã® Depth Estimationï¼æ·±åº¦æ¨å®ï¼ãå¶ä½éç¨ã§è©¦ãã¦ãã¾ããããä½åä¸ã§ã¯ãã¾ã使ããå ´æãããã¾ããã§ãããä»å¾ã®å¶ä½ã§æ´»ç¨ã§ããã°ã¨æã£ã¦ãã¾ããã¾ãã4K ç»åã®å¦çã§ã¯å è¿°ã®éã GPU ã®ã¡ã¢ãªãããã«ããã¯ã«ãªãã¾ããGoogle Cloud ãæä¾ãã AI ã¹ã¼ãã¼ã³ã³ãã¥ã¼ã¿ Cloud TPU Pod ã§ã¯å¤æ°ã® TPU ã®ã¡ã¢ãªãçµåããã¢ãã«ä¸¦åå¦çã«ãããã®ããã«ããã¯ã解æ¶ã§ããããªã®ã§ãæ©ä¼ãããã°è©¦ãã¦ã¿ããã§ãã
以ä¸ãçéæ°ã¨æµ äºæ°ã®ã¤ã³ã¿ãã¥ã¼ããå±ããããæã§ããã°ãã¸ã¥ã¢ã« ã¢ã¼ãã£ã¹ãã¯ç®ã®åã«ãããã£ã³ãã¹ã¨ç»æãé³æ¥½ã¢ã¼ãã£ã¹ãã¯æå ã®æ¥½å¨ãåé²æ©æã ãã表ç¾ã®æ段ã§ãã£ããã©ã¤ã¾ããã£ã¯ã¹ã®äºä¾ããã¯ããããä»ãã¯ã©ã¦ãä¸ã®è¨å¤§ãªè¨ç®ãªã½ã¼ã¹ã ML éçºç°å¢ãå«ãããè¤åç¾å®ãã®ä¸çã«ã¾ã§æ¡å¼µãã¦ãããã¨ããããããªããä»åã®å¶ä½ã§ä½¿ç¨ããããã¼ã«ãæè¡ã«ã¤ãã¦è©³ããã¯ãå社ãå ¬éãã¦ãã Squarepusher Behind the Scene ãã¼ã¸ã§ã解説ããã¦ããã®ã§ã覧ããã ãããã