From 234bc43cc89c3ab4c6010ce16a4f54d7fa5400df Mon Sep 17 00:00:00 2001 From: Blanca V Date: Tue, 8 Aug 2017 05:19:21 -0700 Subject: [PATCH] Update kitti_seg_input.py (#81) - scipy.misc.imread reads HWC, not WHC; in all other parts of the code outside this docstring, height is in the 0th dim. --- inputs/kitti_seg_input.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inputs/kitti_seg_input.py b/inputs/kitti_seg_input.py index 9716d8b..7a295bb 100644 --- a/inputs/kitti_seg_input.py +++ b/inputs/kitti_seg_input.py @@ -129,9 +129,9 @@ def _make_data_gen(hypes, phase, data_dir): """Return a data generator that outputs image samples. @ Returns - image: integer array of shape [width, height, 3]. + image: integer array of shape [height, width, 3]. Representing RGB value of each pixel. - gt_image: boolean array of shape [width, height, num_classes]. + gt_image: boolean array of shape [height, width, num_classes]. Set `gt_image[i,j,k] == 1` if and only if pixel i,j is assigned class k. `gt_image[i,j,k] == 0` otherwise.