Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Download mnist dataset & run Nvidia digits using nvidia docker (tested on Azure DataScience Ubuntu VM)
sudo usermod -aG docker $USER && \
mkdir ~/data && \
mkdir ~/digits-jobs && \
nvidia-docker run --name digits -d -v ~/data:/data -v ~/digits-jobs:/jobs -p 5000:5000 nvidia/digits && \
docker exec -it digits python -m digits.download_data mnist /data/mnist

rquintino commented Apr 22, 2017

You'll need to SSH tunnel digits port 5000, then use localhost:5000 on your local PC
Note: Digits has no security/authentication, you should not expose the endpoint

For digits/mnist tutorial see,

Azure Linux DataScience Virtual Machine

Quick Visual Tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment