Skip to content
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

Depth Estimation Pipeline docstrings are wrong #28729

Closed
osanseviero opened this issue Jan 26, 2024 · 1 comment · Fixed by #28733
Closed

Depth Estimation Pipeline docstrings are wrong #28729

osanseviero opened this issue Jan 26, 2024 · 1 comment · Fixed by #28733
Assignees

Comments

@osanseviero
Copy link
Member

The docstring is a paste from the image classification pipeline it seems https://github.com/huggingface/transformers/blob/main/src/transformers/pipelines/depth_estimation.py#L54-L83 . The correct output, as per https://huggingface.co/docs/transformers/main/tasks/monocular_depth_estimation, should be a dictionary with an image and a tensor

cc @amyeroberts @ydshieh

@ydshieh
Copy link
Collaborator

ydshieh commented Jan 26, 2024

Thanks @osanseviero ! Indeed, will open a PR to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants