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 | |
| } |