"vscode:/vscode.git/clone" did not exist on "9e16bb00307523b173a396128f4888bdbc72b8b7"
Commit e17e64bb authored by Priya Gupta's avatar Priya Gupta
Browse files

Add validation per epoch

parent 59788849
...@@ -301,6 +301,8 @@ def run_cifar_with_keras(flags_obj): ...@@ -301,6 +301,8 @@ def run_cifar_with_keras(flags_obj):
lr_callback, lr_callback,
tesorboard_callback tesorboard_callback
], ],
validation_steps=num_eval_steps,
validation_data=eval_input_dataset,
verbose=1) verbose=1)
eval_output = model.evaluate(eval_input_dataset, eval_output = model.evaluate(eval_input_dataset,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment