From 82689ba6ec760d4d1b140dfd296140cce0289d78 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 10 Jul 2019 17:31:02 +0200 Subject: [PATCH] Added debug print Signed-off-by: Jim Martens --- src/twomartens/masterthesis/debug.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/twomartens/masterthesis/debug.py b/src/twomartens/masterthesis/debug.py index a8e50f9..1187072 100644 --- a/src/twomartens/masterthesis/debug.py +++ b/src/twomartens/masterthesis/debug.py @@ -78,6 +78,7 @@ def save_ssd_train_images(images: np.ndarray, labels: np.ndarray, ymax = instance[4] else: instance = np.asarray(instance) + print(instance) class_id = np.argmax(instance[:-12], axis=0) instance[-12:-8] *= instance[-4:] # multiply with variances instance[-11, -9] *= np.expand_dims(instance[-5] - instance[-7], axis=-1)