Image Classification
Transformers
ONNX
English
multi-head-classification
room-classification
dinov2
computer-vision
scene-classification
Instructions to use ondame/image-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ondame/image-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ondame/image-classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ondame/image-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
fix: ํค๋ ONNX ์ถ๋ ฅ ์์ ์์ (v0.2.1) [AI]โ
convert_to_onnx.py์ ํค๋ ๋ณํ ์ ์ถ๋ ฅ ์์๋ฅผ ์ ๋ ฌํ์ฌ ์๋ณธ PyTorch ๋ชจ๋ธ๊ณผ ์์๊ฐ ๋ถ์ผ์นํ๋ ๋ฌธ์ ๋ฅผ ์์ ํ์ต๋๋ค. ๋ณ๊ฒฝ ์ฌํญ: - MultiHeadWrapper.forward(): ์ ๋ ฌ ์ ๊ฑฐ, ์๋ณธ ModuleDict ์์ ์ ์ง - output_names: sorted() ์ ๊ฑฐ, list(model.heads.keys()) ์ฌ์ฉ - ํค๋ ์์: ['scene', 'concept', 'object']๋ก ํต์ผ ์ด์ ๋ถ๋ฅ ๊ฒฐ๊ณผ๊ฐ ์ฌ๋ฐ๋ฅธ ํค๋์ ๋งคํ๋ฉ๋๋ค. ๐ค Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>575aa0e
-
ํ์ผ๋ช ์ ๋ฆฌ ๋ฐ README ๋ณด์
5e66df9