lpiccinelli-eth / UniDepth

Universal Monocular Metric Depth Estimation
Other
588 stars 47 forks source link

Blockish artifacts in depth #25

Open Davidyao99 opened 5 months ago

Davidyao99 commented 5 months ago

Hello

Great Work! I am trying to use Unidepth as inference. However, the depth map that I am obtaining is very blockish. Perhaps, this has to do with patch tokenization? I have attached a depth map below. image

The backbone I am using is "ViTL14". Is this the expected depth output? How do I avoid this?

Thank you!

lpiccinelli-eth commented 5 months ago

Patch tokenization may have an impact, are you using .infer method or are you resizing the images yourself? A wrong image size may have this effect, too.