Chainer
v3.1.0
  • Tutorial
    • Introduction to Chainer
    • How to Write a New Network
    • How to Train a Network
      • How to write a training loop in Chainer
      • Let’s try using the Trainer feature
    • Using GPU(s) in Chainer
    • Customizing Chainer
    • Type check
  • Reference Manual

Development

  • API Compatibility Policy
  • Contribution Guide

Misc

  • Installation Guide
  • Tips and FAQs
  • Upgrade Guide from v1 to v2
  • Comparison with Other Frameworks
  • License
Chainer
  • Docs »
  • Tutorial »
  • How to Train a Network
  • Edit on GitHub

How to Train a NetworkΒΆ

  • How to write a training loop in Chainer
    • 1. Prepare a dataset
    • 2. Create a dataset iterator
    • 3. Define a network
    • 4. Select an optimization algorithm
    • 5. Write a training loop
    • 6. Save the trained model
    • 7. Perform classification by the saved model
  • Let’s try using the Trainer feature
    • 1. Prepare the dataset
    • 2. Prepare the dataset iterations
    • 3. Prepare the model
    • 4. Prepare the Updater
    • 5. Setup Trainer
    • 6. Add Extensions to the Trainer object
    • 7. Start Training
    • 8. Evaluate a pre-trained model
Next Previous

© Copyright 2015, Preferred Networks, inc. and Preferred Infrastructure, inc.. Revision 0f4b5f2f.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: v3.1.0
Versions
latest
stable
v4.0.0b1
v4.0.0a1
v3.1.0
v3.0.0
v3
v2.0.2
v2.0.1
v2.0.0
v1.24.0
v1.23.0
v1.22.0
v1.21.0
v1.20.0.1
v1.19.0
v1.18.0
v1.17.0
v1.16.0
v1.15.0.1
v1.14.0
v1.13.0
v1.12.0
v1.11.0
v1.10.0
v1.9.1
v1.8.2
v1.7.2
v1.6.2.1
v1.5.1
v1.4.1
v1.3.2
v1.2.0
v1.1.2
v1.0.1
variable-document
v2-docs-cupy
simple-rtd
math-roman
fix-document
deprecate-zerograd
batch_norm_cudnn2
add-try-trainer-class-tutorial
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.