Removed unnecessary summaries
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -196,8 +196,6 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
|
|||||||
decoded_predictions_batch.append(result)
|
decoded_predictions_batch.append(result)
|
||||||
del result
|
del result
|
||||||
else:
|
else:
|
||||||
print("Before network call")
|
|
||||||
trs.print_diff(orig_summary)
|
|
||||||
result = np.array(ssd(inputs))
|
result = np.array(ssd(inputs))
|
||||||
print("After network call")
|
print("After network call")
|
||||||
trs.print_diff(orig_summary)
|
trs.print_diff(orig_summary)
|
||||||
@ -222,9 +220,6 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
|
|||||||
tf.set_random_seed(1)
|
tf.set_random_seed(1)
|
||||||
context.context()._clear_caches()
|
context.context()._clear_caches()
|
||||||
gc.collect()
|
gc.collect()
|
||||||
|
|
||||||
print("After GC")
|
|
||||||
trs.print_diff(orig_summary)
|
|
||||||
|
|
||||||
epoch_end_time = time.time()
|
epoch_end_time = time.time()
|
||||||
per_epoch_time = epoch_end_time - epoch_start_time
|
per_epoch_time = epoch_end_time - epoch_start_time
|
||||||
|
|||||||
Reference in New Issue
Block a user