Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tensorflow GPU with Docker in WSL2 using VS Code Dev Containers

License

NotificationsYou must be signed in to change notification settings

robisim74/tensorflow-docker-dev-wsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tensorflow GPU with Docker in WSL2 using VS Code Dev Containers

Requirements

How to use

  • Create a new repository from the template or clone the code in WSL
  • InDockerfile:
    • Update theTensorFlow Docker image: runnvidia-smi command in your Terminal, and get the CUDA version. Then find the Tensorflow version compatible with the CUDA versionhere
    • UpdateUSERNAMEARG to create a non-root user
    • UpdateUSER_UID andUSER_GIDARGs (useid command in your Terminal to get them)
    • Update required packages (optional)
  • Update pip packages inrequirements.txt (optional)
  • Open your project in WSL with VS Code and reopen in Container: (F1) use theDev Containers: Reopen in Container command

Runpyhton main.py to test it.

About

Tensorflow GPU with Docker in WSL2 using VS Code Dev Containers

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp