From a0a4193dea76dbb3eb62f83e2deb4de9290a46ac Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 2 Jul 2019 15:49:33 +0200 Subject: [PATCH] Remove obsolete if statement Signed-off-by: Jim Martens --- src/twomartens/masterthesis/cli.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/twomartens/masterthesis/cli.py b/src/twomartens/masterthesis/cli.py index aebdbeb..44ef5ea 100644 --- a/src/twomartens/masterthesis/cli.py +++ b/src/twomartens/masterthesis/cli.py @@ -111,9 +111,6 @@ def _ssd_train(args: argparse.Namespace) -> None: image.save(f"{summary_path}" f"train_image{str(i).zfill(nr_digits)}.png") - if not instances: - continue - figure = pyplot.figure(figsize=(20, 12)) pyplot.imshow(image)