Colab を使用して作成されました

This commit is contained in:
w-okada 2024-08-07 00:18:08 +09:00
parent 9966540b68
commit 52411aa1d8

View File

@ -55,11 +55,10 @@
"execution_count": 1, "execution_count": 1,
"metadata": { "metadata": {
"id": "W2GYWTHWmRIY", "id": "W2GYWTHWmRIY",
"outputId": "e4ce3296-81f9-4004-daf0-219a2977077b", "outputId": "88177d0e-d7a2-4a0b-fb09-578a5c27c430",
"colab": { "colab": {
"base_uri": "https://localhost:8080/" "base_uri": "https://localhost:8080/"
}, }
"cellView": "form"
}, },
"outputs": [ "outputs": [
{ {
@ -69,17 +68,13 @@
"GPU is available\n", "GPU is available\n",
"GPU Name: Tesla T4\n", "GPU Name: Tesla T4\n",
"Welcome to ColabMod\n", "Welcome to ColabMod\n",
"Mounted at /content/drive\n", "Downloading the latest vcclient... \n",
"Checking latest version...\n",
"current_version_hash: eae1b7592ec7c44b88730d2044b7bd9a\n",
"latest_version_hash : de736169a1c6213e63479eda109c1baf\n",
"hash not match -> download latest version\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n", " % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n", " Dload Upload Total Spent Left Speed\n",
"100 1161 100 1161 0 0 6715 0 --:--:-- --:--:-- --:--:-- 6750\n", "100 1149 100 1149 0 0 3004 0 --:--:-- --:--:-- --:--:-- 3007\n",
"100 3028M 100 3028M 0 0 23.8M 0 0:02:07 0:02:07 --:--:-- 53.9M\n", "100 2967M 100 2967M 0 0 154M 0 0:00:19 0:00:19 --:--:-- 219M\n",
"Download is done.\n", "Download is done.\n",
"/content/drive/MyDrive/vcclient\n", "/content\n",
"Installing modules... Install is done.\n" "Installing modules... Install is done.\n"
] ]
} }
@ -110,7 +105,7 @@
"\n", "\n",
"# Configs\n", "# Configs\n",
"Run_Cell=0\n", "Run_Cell=0\n",
"Use_Drive=True #@param {type:\"boolean\"}\n", "Use_Drive=False #@param {type:\"boolean\"}\n",
"\n", "\n",
"current_version_hash=None\n", "current_version_hash=None\n",
"latest_version_hash=None\n", "latest_version_hash=None\n",
@ -165,7 +160,9 @@
" latest_hash_path=f'{work_dir}/latest_hash.txt'\n", " latest_hash_path=f'{work_dir}/latest_hash.txt'\n",
"\n", "\n",
" if mode == \"elf\":\n", " if mode == \"elf\":\n",
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab -o {work_dir}/vcclient_latest_for_colab\n", " # !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_2.0.44-alpha_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
"\n",
" elif mode == \"zip\":\n", " elif mode == \"zip\":\n",
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab.zip -o {work_dir}/vcclient_latest_for_colab.zip\n", " !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab.zip -o {work_dir}/vcclient_latest_for_colab.zip\n",
"\n", "\n",
@ -181,7 +178,8 @@
" latest_version_hash = open('latest_hash.txt').read().strip()\n", " latest_version_hash = open('latest_hash.txt').read().strip()\n",
"\n", "\n",
" if mode == \"elf\":\n", " if mode == \"elf\":\n",
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab -o {work_dir}/vcclient_latest_for_colab\n", " # !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_2.0.44-alpha_for_colab -o {work_dir}/vcclient_latest_for_colab\n",
" elif mode == \"zip\":\n", " elif mode == \"zip\":\n",
" !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab.zip -o {work_dir}/vcclient_latest_for_colab.zip\n", " !curl -L https://huggingface.co/wok000/vcclient000_colab/resolve/main/vcclient_latest_for_colab.zip -o {work_dir}/vcclient_latest_for_colab.zip\n",
"\n", "\n",
@ -212,11 +210,12 @@
"execution_count": 2, "execution_count": 2,
"metadata": { "metadata": {
"id": "s7mYqKtW6VOI", "id": "s7mYqKtW6VOI",
"outputId": "e86ad79b-cb62-4ea5-a8d9-dc7b9ca9e6ed", "outputId": "3c88d3c3-5888-479f-9256-c6719d15b1f2",
"colab": { "colab": {
"base_uri": "https://localhost:8080/", "base_uri": "https://localhost:8080/",
"height": 148 "height": 148
} },
"cellView": "form"
}, },
"outputs": [ "outputs": [
{ {
@ -224,8 +223,8 @@
"name": "stdout", "name": "stdout",
"text": [ "text": [
"--------- SERVER READY! ---------\n", "--------- SERVER READY! ---------\n",
"Your server is available. elapsed: 173sec\n", "Your server is available. elapsed: 98sec\n",
"https://2bj201er26o-496ff2e9c6d22116-8003-colab.googleusercontent.com/\n", "https://wdc8fs91tuo-496ff2e9c6d22116-8003-colab.googleusercontent.com/\n",
"---------------------------------\n" "---------------------------------\n"
] ]
}, },
@ -334,7 +333,7 @@
"colab": { "colab": {
"provenance": [], "provenance": [],
"gpuType": "T4", "gpuType": "T4",
"authorship_tag": "ABX9TyPEPBkGLPAGJGofiLPcnQhG", "authorship_tag": "ABX9TyPL8HlIEcd7fZuat/q9Ir1k",
"include_colab_link": true "include_colab_link": true
}, },
"kernelspec": { "kernelspec": {