Instructions to use shaanzeeeee/vit_base_patch16_pc_parts_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastai
How to use shaanzeeeee/vit_base_patch16_pc_parts_classifier with fastai:
from huggingface_hub import from_pretrained_fastai learn = from_pretrained_fastai("shaanzeeeee/vit_base_patch16_pc_parts_classifier") - timm
How to use shaanzeeeee/vit_base_patch16_pc_parts_classifier with timm:
import timm model = timm.create_model("hf_hub:shaanzeeeee/vit_base_patch16_pc_parts_classifier", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Upload best_model_metadata.json with huggingface_hub
Browse files- best_model_metadata.json +22 -0
best_model_metadata.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_model_name": "vit_base_patch16_224",
|
| 3 |
+
"classes": [
|
| 4 |
+
"AIO_Liquid_Cooler",
|
| 5 |
+
"Air_Cooler",
|
| 6 |
+
"Bad_Cable_Management",
|
| 7 |
+
"CPU",
|
| 8 |
+
"Good_Cable_Management",
|
| 9 |
+
"Graphics_Card",
|
| 10 |
+
"M2_NVMe_Drive",
|
| 11 |
+
"Motherboard",
|
| 12 |
+
"PC_Case",
|
| 13 |
+
"Power_Supply",
|
| 14 |
+
"RAM_Stick"
|
| 15 |
+
],
|
| 16 |
+
"num_classes": 11,
|
| 17 |
+
"img_size": 224,
|
| 18 |
+
"batch_size": 16,
|
| 19 |
+
"epochs": 15,
|
| 20 |
+
"test_accuracy": 0.7389162561576355,
|
| 21 |
+
"created_at": "2026-04-17T01:48:37"
|
| 22 |
+
}
|