Open graysuit opened 4 months ago
TBH, I have not tried it, but I think it may be related to the interpolation used in the pre- and post-processing. In particular, we use "nearest-exact" interpolation by default to upsample to the original shape. You can try setting it to bilinear and let me know!
To set it to bilinear add this line: model.interpolation_mode = "bilinear"
, before calling model.infer
.
@lpiccinelli-eth Hi Thanks for replying I really appreciate that.
I tried bilinear, now looks better:
But there's another issue Z axis wise some mesh looks separate:
Original image:
Maybe I'm doing some mistake while plotting ?
Thank you for your answer.
I do not know exactly the reason for this, but in the V2 model, we noticed a bug with some GT that creates artifacts in the bottom corners of the images, as if the depth there is close to zero, we are currently retraining our models, including smaller to solve that problem, by Monday we should be able to have the new models and UniDepthV2 corrected.
For ZoeDepth, we use: gradio_im_to_3d.py huggingface demo
What I tried:
Result:
But result looks to be having blocks. Also some holes inside compared to zoedepth. Was i'm doing wrong ?