Added summary check to see what remains after gc
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -220,6 +220,8 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
|
||||
context.context()._clear_caches()
|
||||
gc.collect()
|
||||
|
||||
trs.print_diff()
|
||||
|
||||
epoch_end_time = time.time()
|
||||
per_epoch_time = epoch_end_time - epoch_start_time
|
||||
|
||||
|
||||
Reference in New Issue
Block a user