gallenszl / CFNet

CFNet: Cascade and Fused Cost Volume for Robust Stereo Matching(CVPR2021)
MIT License
152 stars 23 forks source link

How to inference with data? #28

Open ljn1060532268 opened 2 years ago

ljn1060532268 commented 2 years ago

Hi, it looks like your model has a mutiple level of output, may I ask which one should I use to make inference? Thanks!

gallenszl commented 2 years ago

Hello, pred1_s2 of cfnet.py is our final output. By the way, you can directly run the script ./scripts/eth3d_save.sh", ./scripts/mid_save.sh" and ./scripts/kitti15_save.sh to save png predictions on the test set of the ETH3D, Middlebury, and KITTI2015 datasets.

rebecca0011 commented 2 years ago

Hello, pred1_s2 of cfnet.py is our final output. By the way, you can directly run the script ./scripts/eth3d_save.sh", ./scripts/mid_save.sh" and ./scripts/kitti15_save.sh to save png predictions on the test set of the ETH3D, Middlebury, and KITTI2015 datasets.

After saving the png image, how can we get 3px and epe error?

gallenszl commented 2 years ago

you can run ./scripts/robust_test.sh" to direct evaluate our method. More details can be seen in the evaluation section of the readme.

rebecca0011 commented 2 years ago

you can run ./scripts/robust_test.sh" to direct evaluate our method. More details can be seen in the evaluation section of the readme.

Thx! After reading ReadMe and Code,I have finished the evaluation.