Preferred Networks
Chainer
Container
Preferred Networks
Chainer

Chainer is a Python-based deep learning framework aiming at flexibility. It provides automatic differentiation APIs based on the define-by-run approach, also known as dynamic computational graphs, as well as object-oriented high-level APIs to build and train neural networks. It supports CUDA and cuDNN using CuPy for high performance training and inference.

Sign in to access all content for this ContainerSigning in will also allow download accessSign In

What is Chainer?

Chainer is a Python-based deep learning framework aiming at flexibility. It provides automatic differentiation APIs based on the define-by-run approach, also known as dynamic computational graphs, as well as object-oriented high-level APIs to build and train neural networks. It supports CUDA and cuDNN using CuPy for high performance training and inference.

Running Chainer

Before running the container, use docker pull to ensure an up-to-date image is installed. Once the pull is complete, you can run the container image.

Procedure

  1. In the Tags section, locate the container image release that you want to run.

  2. In the Pull column, click the icon to copy the docker pull command.

  3. Open a command prompt and paste the pull command. The pulling of the container image begins. Ensure the pull completes successfully before proceeding to the next step.

  4. Run the container image. A typical command to launch the container is:

    nvidia-docker run --rm -v local_dir:container_dir nvcr.io/nvidia/chainer:<xx.xx>
    

    Where:

    • it means run in interactive mode

    • --rm will delete the container when finished

    • -v is the mounting directory

    • local_dir is the directory or file from your host system (absolute path) that you want to access from inside your container. For example, the local_dir in the following path is /home/jsmith/data/mnist.

      -v /home/jsmith/data/mnist:/data/mnist
      

      If you are inside the container, for example, ls /data/mnist, you will see the same files as if you issued the ls /home/jsmith/data/mnist command from outside the container.

    - `container_dir` is the target directory when you are inside your container.  For example, `/data/mnist` is the target directory in the example:
    
      ```
      -v /home/jsmith/data/mnist:/data/mnist
      ```
    
    - `<xx.xx>` is the tag.  For example, `17.12`.
    

Suggested Reading

For more information about Chainer, including tutorials, documentation, and examples, see:

Publisher
Preferred Networks
Latest Tag4.0.0b1
UpdatedDecember 13, 2017 UTC
Compressed Size963.75 MB
Multinode SupportNo
Multi-Arch SupportNo

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.