Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix train mnist for inception-bn and resnet (#13239)
Browse files Browse the repository at this point in the history
  • Loading branch information
roywei authored and nswamy committed Nov 15, 2018
1 parent 339e085 commit 1ef83c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/image-classification/train_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def get_mnist_iter(args, kv):
help='the number of training examples')

parser.add_argument('--add_stn', action="store_true", default=False, help='Add Spatial Transformer Network Layer (lenet only)')
parser.add_argument('--image_shape', default='1, 28, 28', help='shape of training images')

fit.add_fit_args(parser)
parser.set_defaults(
Expand Down

0 comments on commit 1ef83c9

Please sign in to comment.