keras-cv icon indicating copy to clipboard operation
keras-cv copied to clipboard

How to contribute pretrained models?

Open veb-101 opened this issue 1 year ago • 2 comments

Hello, I've successfully converted MobileViT v1 (variants - XXS, XS, S) models from Pytorch to Keras 3, including their pre-trained image classification weights. Can such models be added to KerasCV? If so, can you point me to the correct contributing guide?

As part of my commitment to this project, I've already created a separate repo to push other versions of MobileViT and other models.

Please try it out over here before you make any decision: https://colab.research.google.com/github/veb-101/keras-vision/blob/main/examples/mobile_vit_v1.ipynb

Repo: keras-vision

Currently, the weights are hosted in my repository releases.

veb-101 avatar May 15 '24 18:05 veb-101

Thank you for your interest in contribution, we don't have any documentations as of now, but you can refer our existing implementations here to create a PR https://github.com/keras-team/keras-cv/tree/master/keras_cv/src/models/backbones

sachinprasadhs avatar May 15 '24 18:05 sachinprasadhs

Thanks, I'll work on porting MobileViT v2 models first and then create a PR for both versions. You may close or keep this issue open.

veb-101 avatar May 16 '24 18:05 veb-101

This issue is stale because it has been open for 180 days with no activity. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar Dec 02 '24 02:12 github-actions[bot]

Thanks for reporting the issue! We have consolidated the development of KerasCV into the new KerasHub package, which supports image, text, and multi-modal models. Please read the announcement. KerasHub will support all the core functionality of KerasCV.

KerasHub can be installed with !pip install -U keras-hub. Documentation and guides are available at keras.io/keras_hub.

With our focus shifted to KerasHub, we are not planning any further development or releases in KerasCV. If you encounter a KerasCV feature that is missing from KerasHub, or would like to propose an addition to the library, please file an issue with KerasHub.

sachinprasadhs avatar Jan 15 '25 22:01 sachinprasadhs

This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.

github-actions[bot] avatar Jan 30 '25 01:01 github-actions[bot]

This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.

github-actions[bot] avatar Feb 13 '25 02:02 github-actions[bot]