tanganke/emnist_letters
Viewer • Updated • 146k • 3.13k
How to use tanganke/clip-vit-base-patch32_emnist_letters with Keras:
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://tanganke/clip-vit-base-patch32_emnist_letters")
Base model
openai/clip-vit-base-patch32