lpiccinelli-eth / UniDepth

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

Size mismatch when loading UniDepth V2 #54

Closed Davidyao99 closed 3 months ago

Davidyao99 commented 3 months ago

Great work! I am trying to use the newer unidepthv2 model but am receiving this error: image Any idea what I am doing wrong? This error does not occur when running the demo script with Unidepth V1.

Additionally, what do you mean by "Version 1 and 2 present similar performance but output of version 2 may look more nervous because more diversity is linked to lower GT quality, thus introducing artifacts...". What does "nervous" artifacts mean here?

lpiccinelli-eth commented 3 months ago

You can checkout on the branch update_v2, after the merging, also main will solved.

V2 has better out of domain performance, but by nervous I mean that the output sometimes is less smooth on borders with some tiny artifacts, this may be due to the larger input size, too.

Davidyao99 commented 3 months ago

I see, it works now. Thank you so much for your prompt response!