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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload models over to the Hugging Face Hub! 馃 #45

Closed
Vaibhavs10 opened this issue Feb 23, 2024 · 3 comments
Closed

Upload models over to the Hugging Face Hub! 馃 #45

Vaibhavs10 opened this issue Feb 23, 2024 · 3 comments

Comments

@Vaibhavs10
Copy link

Hi there,

I'm VB I lead the advocacy efforts for open source at Hugging Face. Congratulations on such a brilliant model. I saw that the model checkpoints are released as part of the GitHub release. It'd be great if you could upload the model checkpoints over the Hugging Face Hub.

Uploading model checkpoints over on Hugging Face Hub comes with a couple of advantages:

  1. It increases the visibility of the model checkpoints on the Hub.
  2. It makes it easier for people to download the different weights.
  3. It makes it surprisingly easy to version control weights as well.

Here's a quick guide explaining how to upload models over on the Hub: https://huggingface.co/docs/hub/en/models-uploading

In addition to this, you can add support for directly loading the model checkpoints via the huggingface_hub library as well: https://huggingface.co/docs/huggingface_hub/v0.16.3/en/guides/download (it's just 2 lines of code).

Do let me or @merveenoyan know if you need any assistance with this.

Cheers,
VB

@merveenoyan
Copy link

merveenoyan commented Feb 23, 2024

Hello folks 馃憢

I have uploaded the weights and written a model card here: https://huggingface.co/merve/yolov9
If you have a Hugging Face organization I can transfer this repository to your organization namespace.

Also wanted to let you know that @kadirnar has put up a demo here: https://huggingface.co/spaces/kadirnar/Yolov9

Moreover, we have a Mixin class called PyTorchModelHubMixin which is more of a PyTorch-native way of uploading and downloading models: https://huggingface.co/docs/huggingface_hub/en/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin
if you'd like that, I can open a PR.

@VellalaVineethKumar
Copy link

Here is a Python file to run the code on your webcam from a single Python file given you have downloaded the the required libraries, weights, and coco.yaml file.
https://file.io/vXaO7OAJcS85

@WongKinYiu
Copy link
Owner

Updated to readme.

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

No branches or pull requests

4 participants