Skip to content

Script, tools, links and other resources for using Nvidia Jetson Nano boards.

Notifications You must be signed in to change notification settings

jit-team/jetson-nano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Docker container with Tensorflow GPU for Jetson Nano

Build docker image

At first, you need to install Jetpack 4.2.1 for Jetson Nano.

Next, set nvidia runtime as default for Your docker daemon.

In file /etc/docker/daemon.json add line

"default-runtime": "nvidia"

/etc/docker/daemon.json

{
"default-runtime": "nvidia",
    "runtimes": {
        "nvidia": {
            "path": "nvidia-container-runtime",
            "runtimeArgs": []
        }
    }
}

When you set this, you can build the image using our Dockerfile with docker build command.

Verify

To check if it's working correctly run container and import tensorflow in python3. If it's working fine, the result will be:

$ docker run -it *<docker image name>* bash

root@3ff5d388cfc9:/# python3
Python 3.6.8 (default, Jan 14 2019, 11:02:34) 
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as ts
>>> print(ts.__version__)
1.13.1

About

Script, tools, links and other resources for using Nvidia Jetson Nano boards.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published