What you need

You must have completed Lab 0 and have the following:

What you learn

In this lab, you will define cnn with batchnorm on MNIST to do image classification

Step 1

In Cloud Datalab, click on the Home icon, and then navigate to notebooks/asl-ml-immersion/3.1_image_lab and open mnist_models.ipynb.

Step 2

In Datalab, click on Clear | All Cells.

Step 3

Scroll down to "CNN with batchnorm" and complete the code (look for #TODO)

Step 4

Next, jump to the section "Run as a Python module". Be sure to specify --model correctly as cnn

©Google, Inc. or its affiliates. All rights reserved. Do not distribute.