项目介绍

veb-101/keras-vision 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,目前获得 15 个 Star、3 次 Fork。

仓库全名
veb-101/keras-vision
Star 数
15
Fork 数
3
未关闭 Issue
1

README 摘要

Porting all models from everywhere to Keras to leverage multi-backend support. Cause why not?🤷🏻‍♂️ Table of Contents Table of Contents Progress Updates Quick Setup Stable PyPi Package OR Latest Git Updates Models Supported Progress Working on adding MobileNet V4 Updates 1. [2025-03-12] Finished adding FastViT image classification model by Apple added. The model weights are available at url. 2. [2025-02-22] Working…

完整内容见 GitHub 原始 README 或本页 。

常见问题

keras-vision 用什么语言开发?

主要使用 Jupyter Notebook 编写,目前有 15 个 Star。

如何获取 keras-vision 的源码?

可以直接克隆仓库:git clone https://github.com/veb-101/keras-vision.git;安装与运行步骤见仓库 README。

keras-vision 最近还在维护吗?

仓库最近一次更新为 2025年4月21日,当前有 1 个未关闭 Issue;Star 数为 15,可作为社区活跃度的参考。

关于

Porting vision models to Keras 3 for easily accessibility. Contains MobileViT v1, MobileViT v2, fastvit

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

README

PyPI - Python Version PyPI version Keras PyPI - Downloads

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

  1. [2025-03-12] Finished adding FastViT image classification model by Apple added. The model weights are available at url.
  2. [2025-02-22] Working (v1) FastViT classification code added.
  3. [2024-06-24] Released MobileViT v2 - All Image Classification variants.
  4. [2024-05-15] Fixed MobileViT v1 - Now works will all 3 backends. 🎉🎉
  5. [2024-05-04] Converted MobileViT to Keras 3 and released weights of all 3 variants.
    1. Jax backend currently not working, I’m working on a fix.
    2. 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 🤗

Citation

  • MobileViT-v1
@inproceedings{mehta2022mobilevit,
     title={MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer},
     author={Sachin Mehta and Mohammad Rastegari},
     booktitle={International Conference on Learning Representations},
     year={2022}
}
  • MobileViT-v2
Mehta, S., & Rastegari, M. (2022). Separable Self-attention for Mobile Vision Transformers. ArXiv. https://arxiv.org/abs/2206.02680
  • FastViT
@inproceedings{vasufastvit2023,
  author = {Pavan Kumar Anasosalu Vasu and James Gabriel and Jeff Zhu and Oncel Tuzel and Anurag Ranjan},
  title = {FastViT:  A Fast Hybrid Vision Transformer using Structural Reparameterization},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
  year = {2023}
}

评论

暂无评论