Image Classification
Transformers
PyTorch
TensorBoard
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use Woleek/bg-classif with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Woleek/bg-classif with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Woleek/bg-classif") 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("Woleek/bg-classif") model = AutoModelForImageClassification.from_pretrained("Woleek/bg-classif", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download train_results.json from Woleek/bg-classif: direct link, hf CLI and curl.
- Browser
- Download file 166 Bytes
-
https://huggingface.co/Woleek/bg-classif/resolve/refs%2Fpr%2F4/train_results.json
- Command line
-
hf download hf://Woleek/bg-classif@refs/pr/4/train_results.json
-
curl -L -o train_results.json https://huggingface.co/Woleek/bg-classif/resolve/refs%2Fpr%2F4/train_results.json
166 Bytes
| { | |
| "epoch": 20.0, | |
| "train_loss": 0.1071862239856273, | |
| "train_runtime": 140.5527, | |
| "train_samples_per_second": 7.826, | |
| "train_steps_per_second": 1.992 | |
| } |