Instructions to use kamangir/image-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use kamangir/image-classifier with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("kamangir/image-classifier") - Notebooks
- Google Colab
- Kaggle
Download setup.py from kamangir/image-classifier: direct link, hf CLI and curl.
- Browser
- Download file 180 Bytes
-
https://huggingface.co/kamangir/image-classifier/resolve/main/setup.py
- Command line
-
hf download hf://kamangir/image-classifier/setup.py
-
curl -L -o setup.py https://huggingface.co/kamangir/image-classifier/resolve/main/setup.py
180 Bytes
| from setuptools import setup | |
| from image_classifier import * | |
| setup( | |
| name=name, | |
| author="kamangir", | |
| version=version, | |
| description=description, | |
| packages=[name], | |
| ) | |