Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got bad results when reproducing #16

Open
parallelarc opened this issue Nov 1, 2023 · 2 comments
Open

I got bad results when reproducing #16

parallelarc opened this issue Nov 1, 2023 · 2 comments

Comments

@parallelarc
Copy link

parallelarc commented Nov 1, 2023

Nice work! But I got some problems when reproducing. This is my config:
--data_path ../raw_data/
--log_dir ./logdir/
--model_name res_640x192
--eval_split eigen
--backbone resnet_lite
--height 192
--width 640
--batch_size 16
--num_epochs 25
--scheduler_step_size 15
--num_layers 50
--num_features 256
--model_dim 32
--patch_size 16
--dim_out 64
--query_nums 64
--eval_mono
--post_process
--load_pretrained_model
--load_pt_folder ./pretrained/
--pretrained_pose
--pose_net_path ./pretrained/

I downloaded pretrained models (depth.pth, encoder.pth and pose.pth) in the "pretrained" folder and I used jpeg images. But I got some bad results like these. Could you help me...

1
2

@hisfog
Copy link
Owner

hisfog commented Nov 1, 2023

It seems that you did not normalize the depth map, which means you saved the raw depth values.
For visualization, you should normalize the depth map to [0, 1] and then save it as an image.

@parallelarc
Copy link
Author

It seems that you did not normalize the depth map, which means you saved the raw depth values. For visualization, you should normalize the depth map to [0, 1] and then save it as an image.

Thanks! I will have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants