Downloads · 30 days
0
veb-101/apple-fastvit-Keras-3
apple-fastvit-Keras-3 is a machine learning model from veb-101. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Please check out my github repo: https://github.com/veb-101/keras-vision for more models
Downloads · 30 days
0
Access
Public
Updated Apr 7, 2025
Repo size
2.1 GB
Likes
0
Public
Click a slice to open those files.
.h52.1 GB · 100%
From the Hugging Face model README
Please check out my github repo: https://github.com/veb-101/keras-vision for more models
pip install -U keras-vision
pip install git+https://github.com/veb-101/keras-vision.git
import os
os.environ["KERAS_BACKEND"] = "jax"
# os.environ["KERAS_BACKEND"] = "tensorflow"
# os.environ["KERAS_BACKEND"] = "torch"
from keras_vision.fastvit import fastvit_ma36
model = fastvit_ma36(
pretrained=True,
inference_mode=True,
load_kd_weights=True,
)
model.summary()
keras_fastvit_ma36.weights.h5 - Weights for model variant - ma36keras_fastvit_ma36_reparam.weights.h5 - Reparameterized weights for model variant - ma36 (inference_mode = True)keras_fastvit_ma36_kd.weights.h5 - Weights for model variant - ma36, trained using knowledge distillation.keras_fastvit_ma36_reparam_kd.weights.h5 - Reparameterized weights for model variant - ma36, trained using knowledge distillation (inference_mode = True)