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 want to get right disparity. #62

Open
kimsunkyung opened this issue Jan 19, 2021 · 3 comments
Open

I want to get right disparity. #62

kimsunkyung opened this issue Jan 19, 2021 · 3 comments

Comments

@kimsunkyung
Copy link

I wanted to get right disparity,
so I put the right flip image instead of the left image and the left flip image instead of the right image
and flip the final result like other stereos.
But the result is little strange.
How can i get the right dispairty on your online learning adaptation?

@AlessioTonioni
Copy link
Member

you should be able to get it by flipping horizzontally the two frames and swapping them. So instead of the left frame you feed to the network the flipped_right and instead of the right you feed the flipped_left.

How are the results strange?

@kimsunkyung
Copy link
Author

When i use 'MAD' then result is
Disparity Net Restored?: True, number of restored variables: 98
Step: 0 bad3:0.80 EPE:16.67 SSIM:0.20 f/b time:0.025745 Missing time:0:00:09.989148
Step: 100 bad3:0.87 EPE:15.40 SSIM:0.23 f/b time:0.311863 Missing time:0:01:29.816607
Step: 200 bad3:0.85 EPE:19.29 SSIM:0.26 f/b time:0.268517 Missing time:0:00:50.481139
Step: 300 bad3:0.87 EPE:11.50 SSIM:0.29 f/b time:0.264809 Missing time:0:00:23.303167

When i use 'NONE' then result is
Step: 0 bad3:0.80 EPE:16.67 SSIM:0.20 f/b time:0.012640 Missing time:0:00:04.904411
Step: 100 bad3:0.89 EPE:19.96 SSIM:0.23 f/b time:0.140082 Missing time:0:00:40.343691
Step: 200 bad3:0.85 EPE:20.36 SSIM:0.26 f/b time:0.139348 Missing time:0:00:26.197436
Step: 300 bad3:0.75 EPE:8.77 SSIM:0.30 f/b time:0.139838 Missing time:0:00:12.305731

when i put the left frame, right frame and use left disparity then MAD result is better than NONE.

But when i put the right flip frame, left frame and use right disparity then NONE result is better than MAD.
(this method i put the right flip frame, left frame and i get predicted disparity. And I think that final right disparity is horizontal flip predicted disparity.)

But result is strange.

@AlessioTonioni
Copy link
Member

mmm in theory it should work just fine.
Are you comparing the predictions to the proper gt? I.e., the right disparity flipped.
The error in general seems really big from these few lines you have posted, what kind of data are you using?

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