Commit ccd05aca authored by Allen Wang's avatar Allen Wang Committed by A. Unique TensorFlower
Browse files

Disable profiling on classifier trainer.

PiperOrigin-RevId: 366883662
parent 4c514dc6
...@@ -59,7 +59,8 @@ def get_callbacks( ...@@ -59,7 +59,8 @@ def get_callbacks(
log_dir=model_dir, log_dir=model_dir,
track_lr=track_lr, track_lr=track_lr,
initial_step=initial_step, initial_step=initial_step,
write_images=write_model_weights)) write_images=write_model_weights,
profile_batch=0))
if time_history: if time_history:
callbacks.append( callbacks.append(
keras_utils.TimeHistory( keras_utils.TimeHistory(
......
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