- In
predictions/visualize_kitti.py, specify the kitti raw data directory viadata_dir; specify the project root directory viaproject_dir. - For Godard, set
modetoinvdepth. For GeoNet, setmodetodepth. - In
predictionsdirectory, interpolate the ground truth sparse depth by invoking
python visualize_kitti.py interp
- Once you have the interpolated ground truth, run the visualization script as follows:
python visualize_kitti.py \
path/to/your/prediction/of/model/A.npy tag_for_model_A \
path/to/your/prediction/of/model/B.npy tag_for_model_B
Note, you need to pair the path to the npy file of the prediction and a tag for that model. For instance
python visualize_kitti.py \
predictions/GeoNet_depth.npy GeoNet \
predictions/GeoNet_SIGL_depth.npy GeoNet_SIGL