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
Owner

rquintino commented Apr 22, 2017 edited

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,
https://github.com/NVIDIA/DIGITS/blob/master/docs/GettingStarted.md

Azure Linux DataScience Virtual Machine
https://docs.microsoft.com/en-us/azure/machine-learning/machine-learning-data-science-linux-dsvm-intro

Quick Visual Tutorial
https://twitter.com/rquintino/status/855583846145941505

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