Open aakash26 opened 3 years ago
Hi @aakash26, thanks for reaching out. As mentioned in Q&A item 3, there are two types of occlusion, 1) at left image border, 2) at left border of objects.
I hope this helps!
Hi @mli0603, thanks for providing the information and explanation. I have both disparities (depth map), however now when trying to run inference on custom videos I am not sure where and when to provide occlusion mask as the inference example given in collab or normal is based on KITTI dataset which consists of disparity+occlusion combined in one image file. But for Custom videos how do I run the inference, as with the provided inference script the output disparities are poor and unusable. Could you please guide me for inference only? Also, for custom videos, which pretrained weights would be better to use?
Hi @aakash26,
Is your dataset similar to KITTI?
Hi @mli0603 ,
Thanks for the reply. My dataset is not similar to KITTI but more similar to the SCENE_FLOW dataset as you provided in sample_data and hence I am using Scene Flow pretrained weights. However, my question is for this dataset can you provide an inference script or some idea on how to use the STTR model. The only provided inference script is for KITTI dataset which is different with it's disparity and occlusion images. Thanks again for sharing the code.
Regards Aakash
Hi, @mli0603 . I'm curious about why the data format of KITTI and SCARED is different, because both are provided with stereo GT depth. In your code, KITTI ones is provided with disp_occ
, SCARED ones is provided with occ_mask
where 128 represents the occlusion. Could you explain the reason and give me some advice on how to process SCARED dataset to get the format as yours?
Hi authors, Thanks for providing the code for training and inference. I wanted to run the STTR on custom frames to see the depth output required. As seen in training data, we need to provide along with stereo images the occlusion map and initial disparity. Do you have any suggestions or algorithms that we can use to get the occlusion information from stereo images to run STTR on custom data?
Thanks and Regards Aakash Rajpal