hughw19/NOCS_CVPR2019

Why flip z axis of coord map?

Closed this issue · 3 comments

dataset.py line 335

coord_map = np.array(coord_map, dtype=np.float32) / 255
coord_map[:, :, 2] = 1 - coord_map[:, :, 2]

@hankexin1314 @hughw19 I would also like to know the answer to this question.

@hughw19

Ok, I rendered the NOCS maps exactly like in the paper. I also have symmetrical objects (around the y-axis (this is the axis pointing up, as you use XZY coordinate system)), but for some reason, my NOCS predictions give the wrong colors (e.g. the object is completely red. I'll try removing that line! Are there any discrepancies I should be aware of?