Instructions to use AnnieSikawa/chairs-tables-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastai
How to use AnnieSikawa/chairs-tables-classifier with fastai:
from huggingface_hub import from_pretrained_fastai learn = from_pretrained_fastai("AnnieSikawa/chairs-tables-classifier") - Notebooks
- Google Colab
- Kaggle
Chairs vs Tables Classifier πͺπͺ
A fastai image classifier that distinguishes between chairs and tables.
Performance
- Accuracy: ~98%
How to Use
from fastai.vision.all import *
from huggingface_hub import hf_hub_download
# Download and load model
path = hf_hub_download("AnnieSikawa/chairs-tables-classifier", "model.pkl")
learn = load_learner(path)
# Predict
img = PILImage.create('your_image.jpg')
pred, idx, probs = learn.predict(img)
print(f"Prediction: {pred}")