Neural Network Libraries is a deep learning framework that is intended to be used for research, development and production. We aim to have it running everywhere: desktop PCs, HPC clusters, embedded devices and production servers.
Neural Network Libraries is provided with a Apache license version 2.0. You could use, modify and re-publish Neural Network Libraries for free.
$ docker pull ${image}
$ docker run --rm -ti -u $(id -u) -v /etc/passwd:/etc/passwd -v $(pwd):$(pwd) -v $HOME:$HOME -w $(pwd) --gpus all ${image} bash
where
--rm
Delete the container when exit-ti
Start container in interactive mode-e
Set envrionment variables-u
Username or UID-v
Bind mount a volume-w
Workding directory inside the container--gpus
GPU core numbersOr to run specific task in the container and exit without interactive shell
$ docker run --rm -e -u $(id -u) -v /etc/passwd:/etc/passwd -v $(pwd):$(pwd) -v $HOME:$HOME -w $(pwd) --gpus all ${image} bash ./your_task.sh
where
--rm
Delete the container when exit-ti
Start container in interactive mode-e
Set envrionment variables-u
Username or UID-v
Bind mount a volume-w
Workding directory inside the container--gpus
GPU core numbersyour_task.sh
Your specified taskexit
from container terminal./home/nnabla/examples
in the container.The container contains in place working examples under /home/nnabla/examples
, click example link for detailed README:
Demostrate serveral deep learning algorithms on MNIST dataset, which is one of the most popular image classification datasets in the machine learning community. The MNIST dataset will be automatically downloaded when running any of the examples.
$ docker run --gpus all -w /home/nnabla/examples/mnist-collection ${image} python3 classification.py -c cudnn -i 1000
$ docker run --gpus all -w /home/nnabla/examples/mnist-collection ${image} python3 classification_bnn.py -c cudnn -i 1000
$ docker run --gpus all -w /home/nnabla/examples/mnist-collection ${image} python3 dcgan.py -c cudnn -i 1000
```
$ docker run --gpus all -w /home/nnabla/examples/mnist-collection ${image} python3 vat.py -c cudnn -i 1000
```
* Variational Auto-encoder
```
$ docker run --gpus all -w /home/nnabla/examples/mnist-collection ${image} python3 vae.py -c cudnn -i 1000
```
Demonstrate several deep learning algorithms on CIFAR-10 dataset and CIFAR-100 dataset, which are one of the most popular image classification datasets in the machine learning community. The datasets will be automatically downloaded when running any of the examples.
$ docker run --gpus all -w /home/nnabla/examples/cifar10-100-collection ${image} python3 classification.py -c cudnn --epochs 1
Demonstrate several deep learning algorithms on CIFAR-10 dataset, which is one of the most popular image classification datasets in the machine learning community. The CIFAR-10 dataset will be automatically downloaded when running any of the examples.
$ docker run --gpus all -w /home/nnabla/examples/cifar10-100-collection ${image} mpirun -n 4 python3 classification.py --context "cudnn" -b 64
None
See official website community
Major components releases in the container, find their release dates and changelogs through the links: