Skip to content

Commit d8ee739

Browse files
authored
Merge pull request #2856 from knorth55/fix-bug-github
filter None image in jsk_recognition_utils/visualize.py
2 parents 7318f09 + c8ac451 commit d8ee739

File tree

1 file changed

+1
-0
lines changed
  • jsk_recognition_utils/python/jsk_recognition_utils

1 file changed

+1
-0
lines changed

jsk_recognition_utils/python/jsk_recognition_utils/visualize.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def get_tile_shape(img_num):
7777
x_num += 1
7878
return x_num, y_num
7979

80+
imgs = [img for img in imgs if img is not None]
8081
if tile_shape is None:
8182
tile_shape = get_tile_shape(len(imgs))
8283

0 commit comments

Comments
 (0)