From 105ca0093ef59b7560fb8cfad6801467d843732f Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 1 May 2019 13:03:55 +0200 Subject: [PATCH] Added missing str conversion Signed-off-by: Jim Martens --- src/twomartens/masterthesis/ssd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twomartens/masterthesis/ssd.py b/src/twomartens/masterthesis/ssd.py index a8c6f01..1d303c4 100644 --- a/src/twomartens/masterthesis/ssd.py +++ b/src/twomartens/masterthesis/ssd.py @@ -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()