Skip to content

Commit

Permalink
Merge pull request #71 from majianjia/dev
Browse files Browse the repository at this point in the history
Update main.py
  • Loading branch information
majianjia authored Nov 27, 2019
2 parents 5536110 + 40fbf68 commit a463162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/auto_test/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def build_model(x_shape):
def train(model, x_train, y_train, x_test, y_test, batch_size=64, epochs=50):
# save best
checkpoint = ModelCheckpoint(filepath=save_dir,
monitor='val_acc',
monitor='val_accuracy',
verbose=0,
save_best_only='True',
mode='auto',
Expand Down Expand Up @@ -157,4 +157,4 @@ def main():
raise Exception('test failed, accuracy is %.1f%% < 80%%' % (acc * 100.0))

if __name__ == "__main__":
main()
main()

0 comments on commit a463162

Please sign in to comment.