Closed trnmentoring closed 4 years ago
Yes, the output of our depth networks is actually inverse depth, so you need to apply inv2depth. Also, if you are using a self-supervised model the output will not be metrically accurate, so you need to scale it first.
Exactly, thanks for so fast reply. Do you have a script for scaling in your repo?
I don't think we have it as a standalone function, but you can see how it's done here:
Ah, i see. thank you for your patience!
If i want to get real distance per pixel for custom image, should i apply inv2depth function to infer.py output (depth from model_wrapper.depth)? Cause as for now, predicted distanced are pretty different from the real ones.