Added missing str conversion

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2019-05-01 13:03:55 +02:00
parent 00ab4dd09a
commit 105ca0093e

View File

@ -223,7 +223,7 @@ def _predict_one_epoch(dataset: tf.data.Dataset,
for l in all_lists:
if id(l) not in lists:
with open(f"lists/list-{counter}-{list_nr}.txt", "w") as file:
file.write(l)
file.write(str(l))
list_nr += 1
epoch_end_time = time.time()