DepthAnything / Depth-Anything-V2

Depth Anything V2. A More Capable Foundation Model for Monocular Depth Estimation
https://depth-anything-v2.github.io
Apache License 2.0
3.39k stars 277 forks source link

Question: Test-time resolution scaling up #23

Closed schirrmacher closed 3 months ago

schirrmacher commented 3 months ago

In the paper you mentioned "test-time resolution scaling up images". I am not sure what this exactly means.

However, we surprisingly find that our model has the property of “test-time resolution scaling up”. [...] It means we can almost freely increase the image resolution at test time to produce more fine-grained depth maps.

Can I just increase the resolution when performing inference by setting the input size here or is another training required?

schirrmacher commented 3 months ago

Okay I found it out by myself here for the interested:

Here an inference with --input-size 518:

Screenshot 2024-06-24 at 18 00 53

Here an inference with --input-size 1036:

Screenshot 2024-06-24 at 17 58 43

So yes, the increase in inference input improves the quality! Great job!