{"id":21285510,"url":"https://github.com/takeyuweb/tensorflow-sample","last_synced_at":"2025-10-04T21:26:49.369Z","repository":{"id":66907460,"uuid":"575262561","full_name":"takeyuweb/tensorflow-sample","owner":"takeyuweb","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-22T02:56:49.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T05:16:06.073Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takeyuweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-07T05:32:33.000Z","updated_at":"2022-12-07T08:03:39.000Z","dependencies_parsed_at":"2023-02-24T04:00:45.476Z","dependency_job_id":null,"html_url":"https://github.com/takeyuweb/tensorflow-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Ftensorflow-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Ftensorflow-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Ftensorflow-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Ftensorflow-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takeyuweb","download_url":"https://codeload.github.com/takeyuweb/tensorflow-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746201,"owners_count":20341203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T11:20:51.560Z","updated_at":"2025-10-04T21:26:49.300Z","avatar_url":"https://github.com/takeyuweb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Docker で GPU を使う\n\nhttps://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker\n\n### 1. グラフィックボードのドライバをインストール\n\nホスト（WSL2 Ubuntu）にLinuxドライバをインストール\nhttps://www.nvidia.com/en-us/drivers/unix/\n\n```bash\n$ sudo sh NVIDIA-Linux-x86_64-525.60.11.run\n```\n\n### 2. Docker のインストール\n\nDocker Desktop でなくて Ubuntu の Docker\n\nhttps://docs.docker.com/engine/install/ubuntu/\n\n```bash\n$ curl https://get.docker.com | sh \\\n  \u0026\u0026 sudo systemctl --now enable docker\n```\n\n#### Windows 11 WSL2 では systemd が使用できる\n\n```\n$ vi /etc/wsl.conf\n[boot]\nsystemd = true\n```\n\n### 3. NVIDIA-docker2のインストール\n\n```bash\n$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \\\n      \u0026\u0026 curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \\\n      \u0026\u0026 curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | \\\n            sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \\\n            sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list\n$ sudo apt-get update\n$ sudo apt-get install -y nvidia-docker2\n$ sudo systemctl restart docker\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakeyuweb%2Ftensorflow-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakeyuweb%2Ftensorflow-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakeyuweb%2Ftensorflow-sample/lists"}