Figure out impact of garbage collection
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -213,6 +213,8 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
|
||||
|
||||
counter += 1
|
||||
|
||||
trs.print_diff()
|
||||
|
||||
tf.set_random_seed(1)
|
||||
context.context()._clear_caches()
|
||||
gc.collect()
|
||||
|
||||
Reference in New Issue
Block a user