Instructions to use Dugerij/image_segmentation_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dugerij/image_segmentation_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Dugerij/image_segmentation_classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Dugerij/image_segmentation_classifier") model = AutoModelForImageClassification.from_pretrained("Dugerij/image_segmentation_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 5.0, | |
| "eval_accuracy": 0.9993024066968957, | |
| "eval_loss": 0.003324420191347599, | |
| "eval_runtime": 127.0066, | |
| "eval_samples_per_second": 22.574, | |
| "eval_steps_per_second": 2.827, | |
| "total_flos": 6.293899396497162e+18, | |
| "train_loss": 0.00641422240726846, | |
| "train_runtime": 5338.9651, | |
| "train_samples_per_second": 15.213, | |
| "train_steps_per_second": 1.902 | |
| } |