@ -217,7 +217,7 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
|
|||||||
from pympler import muppy, summary
|
from pympler import muppy, summary
|
||||||
all_objects = muppy.get_objects()
|
all_objects = muppy.get_objects()
|
||||||
all_lists = muppy.filter(all_objects, Type=list)
|
all_lists = muppy.filter(all_objects, Type=list)
|
||||||
muppy.summary.print_(all_objects)
|
summary.print_(summary.summarize(all_lists))
|
||||||
if lists is None:
|
if lists is None:
|
||||||
lists = map(id, all_lists)
|
lists = map(id, all_lists)
|
||||||
list_nr = 0
|
list_nr = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user