From f878df49f8720af7fb14f9af21e09e1d2bcca630 Mon Sep 17 00:00:00 2001 From: Shingo Kitagawa Date: Mon, 9 Dec 2024 20:00:43 -0800 Subject: [PATCH] fix bug in jsk_recognition_utils --- jsk_recognition_utils/python/jsk_recognition_utils/visualize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jsk_recognition_utils/python/jsk_recognition_utils/visualize.py b/jsk_recognition_utils/python/jsk_recognition_utils/visualize.py index bb28ce2be3..e32a167f00 100644 --- a/jsk_recognition_utils/python/jsk_recognition_utils/visualize.py +++ b/jsk_recognition_utils/python/jsk_recognition_utils/visualize.py @@ -77,6 +77,7 @@ def get_tile_shape(img_num): x_num += 1 return x_num, y_num + imgs = [img for img in imgs if img is not None] if tile_shape is None: tile_shape = get_tile_shape(len(imgs))