-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add depth estimation pipeline #18446
Comments
What would be the output like @NielsRogge ? My understanding is that depth is just a gray scale image (black = infinitely far, white = infinitely close). If that's the case It seems really close to Also maybe we could have something like |
Hi @NielsRogge I would like to add this pipeline. |
Hi @Narsil, I'm not sure whether we should add this to the existing Depth estimation is quite a different field, see e.g. https://paperswithcode.com/task/depth-estimation And hi @nandwalritik, thanks for your interest in this. Feel free to start a draft PR. |
Thanks I will start working on it. |
I said we should inspire from it, not reuse it, but I suggested using an |
Feature request
We currently have 2 monocular depth estimation models in the library, namely DPT and GLPN.
It would be great to have a pipeline for this task, with the following API:
This pipeline could default to the https://huggingface.co/Intel/dpt-large checkpoint. Also check out the Space that showcases the model.
This can be implemented similar to other pipelines. For an example PR that added a pipeline, see #11598.
Motivation
Pipelines are a great way to quickly perform inference with a model for a given task, abstracting away all the complexity.
Your contribution
I can assist with this, together with @Narsil.
The text was updated successfully, but these errors were encountered: