{"id":356,"date":"2023-09-06T15:10:05","date_gmt":"2023-09-06T06:10:05","guid":{"rendered":"http:\/\/192.168.0.139:8080\/2023\/09\/06\/%e8%87%aa%e5%88%86%e3%81%aepc%e3%81%ab%e9%9f%b3%e6%a5%bd%e7%94%9f%e6%88%90ai%e3%81%aeaudiocraft%ef%bc%88musicgen%ef%bc%89%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab\/"},"modified":"2023-09-06T15:10:05","modified_gmt":"2023-09-06T06:10:05","slug":"%e8%87%aa%e5%88%86%e3%81%aepc%e3%81%ab%e9%9f%b3%e6%a5%bd%e7%94%9f%e6%88%90ai%e3%81%aeaudiocraft%ef%bc%88musicgen%ef%bc%89%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"http:\/\/192.168.0.139:8080\/2023\/09\/06\/356\/","title":{"rendered":"\u81ea\u5206\u306ePC\u306b\u97f3\u697d\u751f\u6210AI\u306eAudiocraft\uff08MusicGen\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"\n
\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv<\/code>\u3084virtualenv<\/code>\u306a\u3069\uff09\u3092\u4f7f\u7528\u3059\u308b\u4e3b\u306a\u76ee\u7684\u306f\u3001\u30db\u30b9\u30c8\u74b0\u5883\u3092\u300c\u3050\u3061\u3083\u3050\u3061\u3083\u300d\u306b\u3057\u306a\u3044\u305f\u3081\u3067\u3059\u3002\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u5229\u70b9\u304c\u5f97\u3089\u308c\u307e\u3059\uff1a<\/p>\n\n\n\n\n\u74b0\u5883\u306e\u5206\u96e2<\/strong>\uff1a\u4eee\u60f3\u74b0\u5883\u306f\u3001\u305d\u308c\u305e\u308c\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u30bf\u30b9\u30af\u3054\u3068\u306b\u72ec\u7acb\u3057\u305fPython\u74b0\u5883\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u7570\u306a\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u7570\u306a\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3067\u3082\u3001\u305d\u308c\u3089\u304c\u4e92\u3044\u306b\u5e72\u6e09\u3059\u308b\u3053\u3068\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u30db\u30b9\u30c8\u74b0\u5883\u306e\u4fdd\u8b77<\/strong>\uff1a\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306ePython\u74b0\u5883\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3054\u3068\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u306ePython\u74b0\u5883\u304c\u300c\u6c5a\u308c\u308b\u300d\u3053\u3068\u3092\u9632\u304e\u307e\u3059\u3002<\/li>\n\n\n\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u554f\u984c\u306e\u56de\u907f<\/strong>\uff1a\u7279\u5b9a\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u53e4\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5fc5\u8981\u306a\u5834\u5408\u3084\u3001\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30c6\u30b9\u30c8\u3059\u308b\u5834\u5408\u306b\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u3046\u3068\u5bb9\u6613\u306b\u305d\u308c\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n\u79fb\u690d\u6027\u3068\u518d\u73fe\u6027<\/strong>\uff1arequirements.txt<\/code>\u3092\u4f7f\u3063\u3066\u4eee\u60f3\u74b0\u5883\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u4ed6\u306e\u30de\u30b7\u30f3\u3084\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u3068\u306e\u9593\u3067\u74b0\u5883\u3092\u5171\u6709\u30fb\u518d\u73fe\u3059\u308b\u3053\u3068\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n\u3057\u305f\u304c\u3063\u3066\u3001\u4eee\u60f3\u74b0\u5883\u3092\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30db\u30b9\u30c8\u74b0\u5883\u3092\u4e71\u96d1\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/FurkanGozukara\/Stable-Diffusion\/blob\/main\/Tutorials\/AI-Music-Generation-Audiocraft-Tutorial.md<\/a><\/p>\n\n\n\nPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002Python\u306b\u3064\u3044\u3066venv\u306e\u4eee\u60f3\u74b0\u5883\u3067\u306f\u3001Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30db\u30b9\u30c8\u3068\u540c\u3058\u3067\u3059\u304b\uff1f<\/p>\n\n\n\n\u4e0a\u306e\u304a\u554f\u3044\u306b\u5bfe\u3059\u308b\u56de\u7b54\u306f\u6b21\u306b\u306a\u308a\u307e\u3059\u3002venv<\/code>\u3092\u4f7f\u3063\u3066Python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u901a\u5e38\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u3063\u305fpython<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
venv<\/code>\u3084virtualenv<\/code>\u306a\u3069\uff09\u3092\u4f7f\u7528\u3059\u308b\u4e3b\u306a\u76ee\u7684\u306f\u3001\u30db\u30b9\u30c8\u74b0\u5883\u3092\u300c\u3050\u3061\u3083\u3050\u3061\u3083\u300d\u306b\u3057\u306a\u3044\u305f\u3081\u3067\u3059\u3002\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u5229\u70b9\u304c\u5f97\u3089\u308c\u307e\u3059\uff1a<\/p>\n\n\n\n\n\u74b0\u5883\u306e\u5206\u96e2<\/strong>\uff1a\u4eee\u60f3\u74b0\u5883\u306f\u3001\u305d\u308c\u305e\u308c\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u30bf\u30b9\u30af\u3054\u3068\u306b\u72ec\u7acb\u3057\u305fPython\u74b0\u5883\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u7570\u306a\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u7570\u306a\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3067\u3082\u3001\u305d\u308c\u3089\u304c\u4e92\u3044\u306b\u5e72\u6e09\u3059\u308b\u3053\u3068\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u30db\u30b9\u30c8\u74b0\u5883\u306e\u4fdd\u8b77<\/strong>\uff1a\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306ePython\u74b0\u5883\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3054\u3068\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u306ePython\u74b0\u5883\u304c\u300c\u6c5a\u308c\u308b\u300d\u3053\u3068\u3092\u9632\u304e\u307e\u3059\u3002<\/li>\n\n\n\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u554f\u984c\u306e\u56de\u907f<\/strong>\uff1a\u7279\u5b9a\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u53e4\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5fc5\u8981\u306a\u5834\u5408\u3084\u3001\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30c6\u30b9\u30c8\u3059\u308b\u5834\u5408\u306b\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u3046\u3068\u5bb9\u6613\u306b\u305d\u308c\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n\u79fb\u690d\u6027\u3068\u518d\u73fe\u6027<\/strong>\uff1arequirements.txt<\/code>\u3092\u4f7f\u3063\u3066\u4eee\u60f3\u74b0\u5883\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u4ed6\u306e\u30de\u30b7\u30f3\u3084\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u3068\u306e\u9593\u3067\u74b0\u5883\u3092\u5171\u6709\u30fb\u518d\u73fe\u3059\u308b\u3053\u3068\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n\u3057\u305f\u304c\u3063\u3066\u3001\u4eee\u60f3\u74b0\u5883\u3092\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30db\u30b9\u30c8\u74b0\u5883\u3092\u4e71\u96d1\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/FurkanGozukara\/Stable-Diffusion\/blob\/main\/Tutorials\/AI-Music-Generation-Audiocraft-Tutorial.md<\/a><\/p>\n\n\n\nPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002Python\u306b\u3064\u3044\u3066venv\u306e\u4eee\u60f3\u74b0\u5883\u3067\u306f\u3001Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30db\u30b9\u30c8\u3068\u540c\u3058\u3067\u3059\u304b\uff1f<\/p>\n\n\n\n\u4e0a\u306e\u304a\u554f\u3044\u306b\u5bfe\u3059\u308b\u56de\u7b54\u306f\u6b21\u306b\u306a\u308a\u307e\u3059\u3002venv<\/code>\u3092\u4f7f\u3063\u3066Python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u901a\u5e38\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u3063\u305fpython<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
virtualenv<\/code>\u306a\u3069\uff09\u3092\u4f7f\u7528\u3059\u308b\u4e3b\u306a\u76ee\u7684\u306f\u3001\u30db\u30b9\u30c8\u74b0\u5883\u3092\u300c\u3050\u3061\u3083\u3050\u3061\u3083\u300d\u306b\u3057\u306a\u3044\u305f\u3081\u3067\u3059\u3002\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u5229\u70b9\u304c\u5f97\u3089\u308c\u307e\u3059\uff1a<\/p>\n\n\n\n\n\u74b0\u5883\u306e\u5206\u96e2<\/strong>\uff1a\u4eee\u60f3\u74b0\u5883\u306f\u3001\u305d\u308c\u305e\u308c\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u30bf\u30b9\u30af\u3054\u3068\u306b\u72ec\u7acb\u3057\u305fPython\u74b0\u5883\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u7570\u306a\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u7570\u306a\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3067\u3082\u3001\u305d\u308c\u3089\u304c\u4e92\u3044\u306b\u5e72\u6e09\u3059\u308b\u3053\u3068\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u30db\u30b9\u30c8\u74b0\u5883\u306e\u4fdd\u8b77<\/strong>\uff1a\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306ePython\u74b0\u5883\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3054\u3068\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b7\u30b9\u30c6\u30e0\u306ePython\u74b0\u5883\u304c\u300c\u6c5a\u308c\u308b\u300d\u3053\u3068\u3092\u9632\u304e\u307e\u3059\u3002<\/li>\n\n\n\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u554f\u984c\u306e\u56de\u907f<\/strong>\uff1a\u7279\u5b9a\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u53e4\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5fc5\u8981\u306a\u5834\u5408\u3084\u3001\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30c6\u30b9\u30c8\u3059\u308b\u5834\u5408\u306b\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u3046\u3068\u5bb9\u6613\u306b\u305d\u308c\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002<\/li>\n\n\n\n\u79fb\u690d\u6027\u3068\u518d\u73fe\u6027<\/strong>\uff1arequirements.txt<\/code>\u3092\u4f7f\u3063\u3066\u4eee\u60f3\u74b0\u5883\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u4ed6\u306e\u30de\u30b7\u30f3\u3084\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u3068\u306e\u9593\u3067\u74b0\u5883\u3092\u5171\u6709\u30fb\u518d\u73fe\u3059\u308b\u3053\u3068\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n\u3057\u305f\u304c\u3063\u3066\u3001\u4eee\u60f3\u74b0\u5883\u3092\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30db\u30b9\u30c8\u74b0\u5883\u3092\u4e71\u96d1\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/FurkanGozukara\/Stable-Diffusion\/blob\/main\/Tutorials\/AI-Music-Generation-Audiocraft-Tutorial.md<\/a><\/p>\n\n\n\nPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002Python\u306b\u3064\u3044\u3066venv\u306e\u4eee\u60f3\u74b0\u5883\u3067\u306f\u3001Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30db\u30b9\u30c8\u3068\u540c\u3058\u3067\u3059\u304b\uff1f<\/p>\n\n\n\n\u4e0a\u306e\u304a\u554f\u3044\u306b\u5bfe\u3059\u308b\u56de\u7b54\u306f\u6b21\u306b\u306a\u308a\u307e\u3059\u3002venv<\/code>\u3092\u4f7f\u3063\u3066Python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u901a\u5e38\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u3063\u305fpython<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
requirements.txt<\/code>\u3092\u4f7f\u3063\u3066\u4eee\u60f3\u74b0\u5883\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u4ed6\u306e\u30de\u30b7\u30f3\u3084\u30c1\u30fc\u30e0\u30e1\u30f3\u30d0\u30fc\u3068\u306e\u9593\u3067\u74b0\u5883\u3092\u5171\u6709\u30fb\u518d\u73fe\u3059\u308b\u3053\u3068\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n\u3057\u305f\u304c\u3063\u3066\u3001\u4eee\u60f3\u74b0\u5883\u3092\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30db\u30b9\u30c8\u74b0\u5883\u3092\u4e71\u96d1\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/FurkanGozukara\/Stable-Diffusion\/blob\/main\/Tutorials\/AI-Music-Generation-Audiocraft-Tutorial.md<\/a><\/p>\n\n\n\nPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002Python\u306b\u3064\u3044\u3066venv\u306e\u4eee\u60f3\u74b0\u5883\u3067\u306f\u3001Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30db\u30b9\u30c8\u3068\u540c\u3058\u3067\u3059\u304b\uff1f<\/p>\n\n\n\n\u4e0a\u306e\u304a\u554f\u3044\u306b\u5bfe\u3059\u308b\u56de\u7b54\u306f\u6b21\u306b\u306a\u308a\u307e\u3059\u3002venv<\/code>\u3092\u4f7f\u3063\u3066Python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u901a\u5e38\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u3063\u305fpython<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u3057\u305f\u304c\u3063\u3066\u3001\u4eee\u60f3\u74b0\u5883\u3092\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30db\u30b9\u30c8\u74b0\u5883\u3092\u4e71\u96d1\u306b\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n
https:\/\/github.com\/FurkanGozukara\/Stable-Diffusion\/blob\/main\/Tutorials\/AI-Music-Generation-Audiocraft-Tutorial.md<\/a><\/p>\n\n\n\nPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002Python\u306b\u3064\u3044\u3066venv\u306e\u4eee\u60f3\u74b0\u5883\u3067\u306f\u3001Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30db\u30b9\u30c8\u3068\u540c\u3058\u3067\u3059\u304b\uff1f<\/p>\n\n\n\n\u4e0a\u306e\u304a\u554f\u3044\u306b\u5bfe\u3059\u308b\u56de\u7b54\u306f\u6b21\u306b\u306a\u308a\u307e\u3059\u3002venv<\/code>\u3092\u4f7f\u3063\u3066Python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u901a\u5e38\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u3063\u305fpython<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002Python\u306b\u3064\u3044\u3066venv\u306e\u4eee\u60f3\u74b0\u5883\u3067\u306f\u3001Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30db\u30b9\u30c8\u3068\u540c\u3058\u3067\u3059\u304b\uff1f<\/p>\n\n\n\n
\u4e0a\u306e\u304a\u554f\u3044\u306b\u5bfe\u3059\u308b\u56de\u7b54\u306f\u6b21\u306b\u306a\u308a\u307e\u3059\u3002venv<\/code>\u3092\u4f7f\u3063\u3066Python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u901a\u5e38\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u3063\u305fpython<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
venv<\/code>\u3092\u4f7f\u3063\u3066Python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u901a\u5e38\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u4f7f\u3063\u305fpython<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
python<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u305f\u3068\u3048\u3070\u3001\u30b7\u30b9\u30c6\u30e0\u306bPython 3.8\u3068Python 3.9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
venv<\/code>\u3092\u4f7f\u3046\u304b\u306b\u3088\u3063\u3066\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u73fe\u72b6\u3067\u306f3.11.4\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
venv<\/code>\u3092\u4f7f\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001\u4eee\u60f3\u74b0\u5883\u4f5c\u6210\u6642\u306b\u4f7f\u7528\u3057\u305fPython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u3067Python 3.11\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3067venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
venv<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u305d\u306e\u4eee\u60f3\u74b0\u5883\u5185\u3067\u3082Python 3.11\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u3068\u3044\u3046\u308f\u3051\u3067\u3001python\u3092\u30c0\u30a6\u30f3\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3001\u73fe\u884c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fWindows11\u3067\u306f\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30a2\u30d7\u30ea\u300d\u304b\u3089\u524a\u9664\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306epython\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u516c\u5f0f\u30da\u30fc\u30b8\u306b\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n
https:\/\/www.python.org\/downloads\/<\/a><\/p>\n\n\n\nWindows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Windows\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u7248\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.10.11\u306e\u3082\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002Recommended\u3068\u8868\u793a\u306e\u3042\u308b64bit\u7248\u306b\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u5272\u611b\u3057\u307e\u3059\u304c\u3001\u300cadd python.exe to path\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u3068\u74b0\u5883\u5909\u6570\u3078\u8ffd\u52a0\u3092\u3057\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3042\u3068\u3042\u3068\u56f0\u308a\u307e\u3059\u3002Python\u306eWindows\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u300cAdd Python.exe to Path\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u306a\u3044\u5834\u5408\u3001Python\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u74b0\u5883\u5909\u6570PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PATH<\/code>\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u307e\u305b\u3093\u3002\u3053\u306e\u7d50\u679c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u304b\u3089python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
python<\/code>\u3084pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
pip<\/code>\u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u3055\u3089\u306bFFmpeg\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\nhttps:\/\/minokamo.tokyo\/2023\/09\/02\/6129\/\n<\/div><\/figure>\n\n\n\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\nhttps:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u306b\u3001facebookresearch\u516c\u5f0f\u306eGitHub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30af\u30ed\u30fc\u30f3\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n
https:\/\/github.com\/facebookresearch\/audiocraft<\/a><\/p>\n\n\n\n\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ngit clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u3001C\u30c9\u30e9\u30a4\u30d6\u76f4\u4e0b\u306b\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u30af\u30ed\u30fc\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fPowerShell\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n
git clone https:\/\/github.com\/facebookresearch\/audiocraft<\/code><\/pre>\n\n\n\ngit: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nWindows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
git: The term ‘git’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\n
Windows\u7248\u306egit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u6b21\u306e\u65b9\u6cd5\u3067\u76f4\u63a5\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u5148\u306b\u4f5c\u6210\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u3001\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u30d5\u30a9\u30eb\u30c0\u3054\u3068\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Web\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u4f7f\u7528\u3059\u308b<\/strong>:<\/p>\n\n\n\n\nGitHub\u306a\u3069\u306eWeb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30e1\u30a4\u30f3\u30da\u30fc\u30b8\u306b\u884c\u304d\u3001\u300cCode\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n\n\n\n\u305d\u306e\u5f8c\u3001\u300cDownload ZIP\u300d\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306eZIP\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\nZIP\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5c55\u958b\u3059\u308c\u3070\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\npython -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u305f\u3060\u3057\u3001\u3053\u308c\u3089\u306e\u65b9\u6cd5\u306f\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u73fe\u5728\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Git\u306e\u5f37\u529b\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u5c65\u6b74\u306e\u8ffd\u8de1\u306a\u3069\u306e\u6a5f\u80fd\u3092\u30d5\u30eb\u306b\u5229\u7528\u3059\u308b\u306b\u306f\u3001Git\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n
\u89e3\u51cd\u3057\u3066\u73fe\u308c\u305f\u3001audiocraft-main\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u5185\u3067\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n
python -m venv test0<\/code><\/pre>\n\n\n\n\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\ncd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u305d\u306e\u5f8c\u3001\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n
cd test0\ncd Scripts<\/code><\/pre>\n\n\n\nPython\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Python\u306evenv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
venv<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u4f5c\u6210\u3055\u308c\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\nactivate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
activate<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u3057\u304b\u3057\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\nPS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
PS C:youtubeaudiocraft-maintest0Scripts> activateactivate: The term ‘activate’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\n
Suggestion [3,General]: The command activate was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.activate”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\n
PowerShell\u3067\u306f\u30b3\u30de\u30f3\u30c9\u304c\u5c11\u3057\u9055\u3046\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n
PS C:youtubeaudiocraft-maintest0Scripts> .Activate<\/code><\/pre>\n\n\n\n.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
.<\/code> \u3068 <\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
<\/code> \u3092\u4f7f\u7528\u3057\u3066\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Activate<\/code> \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3082\u3057\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (cmd) \u3092\u4f7f\u7528\u3057\u3066\u3044\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\nC:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
C:youtubeaudiocraft-maintest0Scripts> activate<\/code><\/pre>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u524d\u306bactivate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
activate<\/code>\u3059\u308b\u3053\u3068\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306b\u3088\u308a\u3001\u4eee\u60f3\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4eee\u60f3\u74b0\u5883\u306eactivate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
activate<\/code>\u30b3\u30de\u30f3\u30c9\u306e\u547c\u3073\u51fa\u3057\u65b9\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3084OS\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\uff1a<\/p>\n\n\n\nWindows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\npathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Windows\u306ecmd.exe\u306e\u5834\u5408:<\/p>\n\n\n\n
pathtoenvScriptsactivate<\/code><\/pre>\n\n\n\nWindows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Windows\u306ePowerShell\u306e\u5834\u5408:<\/p>\n\n\n\n
.pathtoenvScriptsActivate<\/code><\/pre>\n\n\n\nLinux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\nsource path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
Linux\u3084macOS\u306ebash\/shell\u306e\u5834\u5408:<\/p>\n\n\n\n
source path\/to\/env\/bin\/activate<\/code><\/pre>\n\n\n\n\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u4eee\u60f3\u74b0\u5883\u304c\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3055\u308c\u3001\u305d\u306e\u74b0\u5883\u5185\u306ePython\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4f7f\u7528\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u3053\u306e\u72b6\u614b\u3067pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
pip install<\/code>\u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4eee\u60f3\u74b0\u5883\u5185\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3057\u305f\u4eee\u60f3\u74b0\u5883\u3092\u30c7\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\uff08\u7d42\u4e86\uff09\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u30b7\u30a7\u30eb\u30fbOS\u3067\u3082deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
deactivate<\/code>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u6b21\u306f\u30012\u3064\u4e0a\u306e\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n
(test0) PS C:youtubeaudiocraft-maintest0Scripts> cd ..\n(test0) PS C:youtubeaudiocraft-maintest0> cd ..<\/code><\/pre>\n\n\n\n\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3092C:youtubeaudiocraft-maintest0\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u300ctest0.bat\u300d\u3068\u3057\u307e\u3057\u305f\u3002\u8a18\u8ff0\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
@echo off\n\necho Installing packages\npip install -e .\npip uninstall torch -y\npip uninstall torchvision -y\npip uninstall torchaudio -y\npip3 install torch torchvision torchaudio --index-url https:\/\/download.pytorch.org\/whl\/cu118\n\necho Installing xformers\npip install -U --pre xformers\n\necho Activating Virtual Environment and Running Python Script\ncall .test0Scriptsactivate.bat\npython .demosmusicgen_app.py --inbrowser\n\npause<\/code><\/pre>\n\n\n\ntest0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
test0\u5185\u306b\u3001\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u5b9f\u884c\u3057\u307e\u3059<\/p>\n\n\n\n
(test0) PS C:youtubeaudiocraft-main> test0.bat<\/code><\/pre>\n\n\n\n\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\ntest0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\nSuggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\nPowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u3057\u304b\u3057\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n
test0.bat: The term ‘test0.bat’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.<\/p>\n\n\n\n
Suggestion [3,General]: The command test0.bat was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: “.test0.bat”. See “get-help about_Command_Precedence” for more details.<\/p>\n\n\n\n
PowerShell\u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002PowerShell\u3067\u306f\u5148\u306e\u30a8\u30e9\u30fc\u3068\u540c\u69d8\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n
.test0.bat<\/code><\/pre>\n\n\n\n\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u51e6\u7406\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\nDEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
DEPRECATION: ffmpy is being installed using the legacy ‘setup.py install’ method, because it does not have a ‘pyproject.toml’ and the ‘wheel’ package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the ‘–use-pep517’ option. <\/p>\n\n\n\n
\u3057\u3070\u3089\u304f\u3059\u308b\u3068\u65e2\u5b9a\u306e\u30d6\u30e9\u30a6\u30b6\u304c\u8d77\u52d5\u3057\u3066MusicGen\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<\/figure>\n\n\n\n<\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n\n\n\n\n<\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\u672c\u65e5\u306f\u3001\u4ee5\u4e0b\u306eGitHub\u306e\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u3001Audiocraft\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002python\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u304c\u3050\u3061\u3083\u3050\u3061\u3083\u306b\u306a\u308b\u5fc3\u914d\u306f\u3042\u308a\u307e\u305b\u3093\u3002Python\u306e\u4eee\u60f3\u74b0\u5883\uff08venv\u3084virtuale […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356"}],"collection":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":0,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"wp:attachment":[{"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.0.139:8080\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}