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

HF models integration of MONAI networks #8318

Open
surajpaib opened this issue Jan 28, 2025 · 0 comments
Open

HF models integration of MONAI networks #8318

surajpaib opened this issue Jan 28, 2025 · 0 comments

Comments

@surajpaib
Copy link
Contributor

Is your feature request related to a problem? Please describe.
#7833 Continuing the thread here.

HF has grown largely as a model hosting platform. Offering MONAI networks pretrained weights on HF would be very useful in sharing models with the larger community. I'm envisioning this way to be more a developer friendly way to load models for inference and fine-tuning in their own pipelines - outside the bundle ecosystem.

Describe the solution you'd like
#7833 suggests a nice solution, however, further discussion was pending on the implementation specifics.

The Hub suffix for each model was the proposed option by @ericspod.
Another way to offer this functionality could be through dynamic class creation using type so the user can just call a wrapper function and add HF capabilities to MONAI models.

Describe alternatives you've considered
Creating an independent package with class composition for offering specific models https://github.com/project-lighter/lighter-zoo/blob/master/lighter_zoo/wrappers.py

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

1 participant