-
Notifications
You must be signed in to change notification settings - Fork 589
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
DPT 3.1 models are now available in the Transformers library #259
Comments
This was referenced Dec 22, 2023
Thanks for updating the DPT models in transformers. Can you explain what the corresponding scratch network would be in hf/Transformers? Edit: I saw this file: https://github.com/huggingface/transformers/blob/main/src/transformers/models/dpt/convert_dpt_beit_to_hf.py which explains the relationship between the models. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi folks!
DPT 3.1 (and the older DPT 3.0) models are now available for use in the Transformers library! These include:
Inference can be done in a few lines of code (using the pipeline API):
The documentation of DPT can be found here: https://huggingface.co/docs/transformers/model_doc/dpt.
Example notebooks can be found here: https://github.com/NielsRogge/Transformers-Tutorials/tree/master/DPT.
The text was updated successfully, but these errors were encountered: