aytvill/plastic-recycling-codes
Viewer • Updated • 685 • 48 • 3
How to use DamarJati/plastic-recycling-codes with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="DamarJati/plastic-recycling-codes")
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("DamarJati/plastic-recycling-codes")
model = AutoModelForImageClassification.from_pretrained("DamarJati/plastic-recycling-codes")More information needed
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 5 | 1.847501 | 0.260870 |
| 1.9354 | 2.0 | 10 | 1.729485 | 0.333333 |
| 1.9354 | 3.0 | 15 | 1.681863 | 0.391304 |
Base model
microsoft/swin-tiny-patch4-window7-224