p1atdev/pvc
Viewer • Updated • 7.9k • 904 • 7
How to use p1atdev/pvc-quality-swinv2-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="p1atdev/pvc-quality-swinv2-base")
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("p1atdev/pvc-quality-swinv2-base")
model = AutoModelForImageClassification.from_pretrained("p1atdev/pvc-quality-swinv2-base")This model is a fine-tuned version of microsoft/swinv2-base-patch4-window12-192-22k on the pvc figure images dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.7254 | 0.98 | 39 | 1.4826 | 0.4109 |
| 1.3316 | 1.99 | 79 | 1.2177 | 0.5136 |
| 1.0864 | 2.99 | 119 | 1.3006 | 0.4653 |
| 0.8572 | 4.0 | 159 | 1.2090 | 0.5015 |
| 0.7466 | 4.98 | 198 | 1.2150 | 0.5378 |
| 0.5986 | 5.99 | 238 | 1.4600 | 0.4955 |
| 0.4784 | 6.99 | 278 | 1.4131 | 0.5196 |
| 0.3525 | 8.0 | 318 | 1.5256 | 0.4985 |
| 0.3472 | 8.98 | 357 | 1.3883 | 0.5166 |
| 0.3281 | 9.81 | 390 | 1.5012 | 0.4955 |