feihuzhang / GANet

GA-Net: Guided Aggregation Net for End-to-end Stereo Matching
MIT License
554 stars 135 forks source link

crop_height and crop_width parameters #11

Closed amaanda closed 5 years ago

amaanda commented 5 years ago

how do I set these parameters? I tried running sh predict.sh on sceneflow dataset and got assertion error, but it works fine with the 1242x375 images from kitti2015 dataset. i thought it was the size of the input image, but the values don't match.

feihuzhang commented 5 years ago

The crop size should be multiple of 48. So you must use 1248x384 as inputs. See “predict.sh”. Results will be cropped as 1242x375. See “predict.py”.

amaanda commented 5 years ago

I understand it now. Thanks!

amaanda commented 5 years ago

By stating the crop size should be multiple of 48 you mean the height and the width should both be multiples of 48?

feihuzhang commented 5 years ago

Yes, I have stressed this in the readme file.