Store list outputs in sub directory

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

View File

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