hisfog / SfMNeXt-Impl

[AAAI 2024] Official implementation of "SQLdepth: Generalizable Self-Supervised Fine-Structured Monocular Depth Estimation", and more.
MIT License
91 stars 12 forks source link

Weird disparity map out of test_simple_SQL_config.py #47

Open anthonygofin opened 3 months ago

anthonygofin commented 3 months ago

Dear author,

Thank you for your great work. I tested the pretrained model KITTI_192x649 (ResNet-50) on some test images. I used the code test_simple_SQL_config.py (without any revisions). The disparity maps I obtained are shown below, but they look weird to me compared to those in the paper. Do you know what could be missing?

image

The command I ran : python test_simple_SQL_config.py --eval_data_path ./args_files/args_kitti_192x640.txt --image_path "./assets/"

Content of args_kitti_192x640.txt :

--load_weights_folder ./models/KITTI_192x640_models/
--load_pretrained_model
--min_depth 0.01
--max_depth 80.0
--height 192 
--width 640
--backbone resnet
--num_layers 50
--num_features 256
--model_dim 32
--patch_size 16
--dim_out 64
--query_nums 64
--ext png 

Input files : 357 601 35

Many thanks,