Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use hanad/Firearms_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hanad/Firearms_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hanad/Firearms_detection") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("hanad/Firearms_detection") model = AutoModelForImageClassification.from_pretrained("hanad/Firearms_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
End of training
Verified signature665d87a -
Training in progress, epoch 4
Verified signatureab5c329 -
Training in progress, epoch 4
Verified signaturebbb80f9 -
Training in progress, epoch 4
Verified signature95ba07e -
Training in progress, epoch 2
Verified signature5ab3490 -
Training in progress, epoch 2
Verified signature3db297f -
Training in progress, epoch 0
Verified signaturec6b05f0 -
initial commit
Verified signature3fdcf69