Closed TrackingBird closed 6 years ago
It seems you are providing 3 channels disparity maps to the network, while it works on single channel inputs. You can either convert them to grayscale offline or add tf.image.rgb_to_grayscale before the first convolutional layer in CCNN source code.
@mattpoggi Thanks, you are right. I have solve this issue by changing the dataloader.py
image = tf.image.decode_png(image_raw, channels=1, dtype=tf.uint8)
~_~
Dear authors, thanks for the great work. I'm wondering may you provide the adcensus, SGM and CCNN code if possible? To get the confidence map of disparity, I use the code from the author homepage https://github.com/fabiotosi92/CCNN-Tensorflow, it get perfect performance when test its own data. While I get the error when I use my disparity map by SGM and adcensus. The error is as follows:
Have you ever met the same error? hope for your help. Thanks.