Building Vision models in Keras3 for framework-agnostic training and inference.
Project description
Porting all models from everywhere to Keras to leverage multi-backend support.
Cause why not?🤷🏻♂️
Table of Contents
Progress
- Working on adding MobileNet V4
Updates
- [2025-03-12] Finished adding FastViT image classification model by Apple added. The model weights are available at url.
- [2025-02-22] Working (v1) FastViT classification code added.
- [2024-06-24] Released MobileViT v2 - All Image Classification variants.
- [2024-05-15] Fixed MobileViT v1 - Now works will all 3 backends. 🎉🎉
- [2024-05-04] Converted MobileViT to Keras 3 and released weights of all 3 variants.
- Jax backend currently not working, I'm working on a fix.
- Release: https://github.com/veb-101/keras-vision/releases/tag/v0.4
Quick Setup
Stable PyPi Package
pip install -U keras-vision
OR
Latest Git Updates
pip install git+https://github.com/veb-101/keras-vision.git
Models Supported
| # No. | Models | Paper | Additional Materials | Example notebook | Weights URL |
|---|---|---|---|---|---|
| 1 | MobileViT-V1 | MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer | Blogpost: Building MobileViT In Keras 3 | Colab link | 🤗 |
| 2 | MobileViT-V2 | Separable Self-attention for Mobile Vision Transformers | -- | Colab link | 🤗 |
| 2 | FastViT | FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization | -- | Colab link | 🤗 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
keras_vision-0.6.3.tar.gz
(35.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file keras_vision-0.6.3.tar.gz.
File metadata
- Download URL: keras_vision-0.6.3.tar.gz
- Upload date:
- Size: 35.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1a6a17ea5a9142eadd80392f2f91ed91ea88b89fbb4a3e9fa7a92251a0654ff
|
|
| MD5 |
9cc09b0a2ca665c51ef0311cfce820fc
|
|
| BLAKE2b-256 |
be90aaa198e92545a08940e56dc17e927a63a0c0584bd2dcc0db7a919987dcda
|
File details
Details for the file keras_vision-0.6.3-py3-none-any.whl.
File metadata
- Download URL: keras_vision-0.6.3-py3-none-any.whl
- Upload date:
- Size: 45.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31ef85739a78b4025c827c5071a75a244660afd382866e1b9b380e57a2e351f5
|
|
| MD5 |
c802ad90ea71f12e33a522dfe9fb4cc1
|
|
| BLAKE2b-256 |
5cbf9219269ab5700ee4e8682b64568ecaa11e7a83edc0b73502f98a0b0c7ed2
|