Skip to content

Add hf_hub_download #37

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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

NielsRogge
Copy link

This PR proposes to make the weights of RF-DETR available at https://huggingface.co/Roboflow.

The download_pretrain_weights method is updated correspondingly to download the weights from the 🤗 hub.

This comes with a few benefits:

  • the models are easier discoverable for people, as we can add the "object detection" tag, such that people find them at https://huggingface.co/models?pipeline_tag=object-detection&sort=trending. RF-DETR could become one of the top trending models!
  • download stats will be provided, such that you can track usage
  • we can add descriptive model cards for better documentation.

Additionally, we could optionally leverage safetensors for a safer format for serializing the weights.

@SkalskiP SkalskiP changed the base branch from main to develop April 3, 2025 08:54
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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 this pull request may close these issues.

2 participants