Make sets of tuples

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-05-01 12:47:42 +02:00
parent 0392ea164f
commit dc0a4ab59b

View File

@ -219,9 +219,9 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
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)
if lists is None: if lists is None:
lists = set(all_lists) lists = set(map(tuple, all_lists))
else: else:
all_lists = set(all_lists) all_lists = set(map(tuple, all_lists))
print(all_lists.difference(lists)) print(all_lists.difference(lists))
epoch_end_time = time.time() epoch_end_time = time.time()