Open iris0329 opened 5 years ago
I change the test.py
file:
# img=cv2.imread(depth_file, cv2.IMREAD_UNCHANGED)
img=cv2.imread(depth_file)
rgba = pad_im(img, 16)
now the image is (480,640,3) , the demo can run successfully, still don't cantain the alpha channel
, is that ok ? i am not sure.
error
when I run the demo, I meet the problem:
file
when I trace back to the
File "/data/poseCNN2/tools/../lib/fcn/test.py", line 64
is:im_orig -= cfg.PIXEL_MEANS
configure file
/experiments/cfgs/lov_color_2d.yml
others
it seems arrays of different shape cannot have Subtraction operation, I cannot read the
alpha channel
of demo images, why? i am confusing...... thanks for help!