Instructions to use hoangthan/image-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use hoangthan/image-classification 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://hoangthan/image-classification") - Notebooks
- Google Colab
- Kaggle
Uploading files
#1
by Pranjal12345 - opened
How did you upload the variables.data file ?
Please following instruction below :
Download libraries
! pip install git+https://github.com/huggingface/huggingface_hub.git@main
! sudo apt -qq install git-lfs
! git config --global credential.helper store
! huggingface-cli loginImport library
from huggingface_hub import push_to_hub_kerasPush model
model.push_to_hub("dummy-model")