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
-
Update README.md
Verified signature921d638 -
Update README.md
Verified signature7142394
-
model_info.json ํํํ
553314a
-
๋๋ฝ๋ model_info.json ํ์ผ ๋ค์ ์ถ๊ฐ
3662de4 -
encoder๋ฅผ dino v2 ๊ณต์ ๋ชจ๋ธ๋ก ๋ณ๊ฒฝ
898e848
-
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
-
Upload model_info.json with huggingface_hub
Verified signature10e6bbd -
Upload head.onnx with huggingface_hub
Verified signatureaafe058 -
Upload encoder.onnx with huggingface_hub
Verified signatureee49e0e
-
ํ์ผ๋ช ์ ๋ฆฌ ๋ฐ README ๋ณด์
5e66df9 -
Upload 4 files
Verified signature0812af4 -
Update README.md
Verified signature9eee414 -
initial commit
Verified signaturea898c43