Image Classification
Transformers
TensorBoard
Safetensors
resnet
Generated from Trainer
Eval Results (legacy)
Instructions to use 47ag925/trash_classifier2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 47ag925/trash_classifier2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="47ag925/trash_classifier2") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("47ag925/trash_classifier2") model = AutoModelForImageClassification.from_pretrained("47ag925/trash_classifier2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 5
Browse files- config.json +58 -0
- model.safetensors +3 -0
- runs/Aug25_19-52-03_d1e647f6a903/events.out.tfevents.1756152449.d1e647f6a903.672.0 +3 -0
- runs/Aug25_19-52-03_d1e647f6a903/events.out.tfevents.1756152758.d1e647f6a903.672.1 +3 -0
- runs/Aug25_19-52-03_d1e647f6a903/events.out.tfevents.1756152805.d1e647f6a903.672.2 +3 -0
- runs/Aug25_20-20-17_d1e647f6a903/events.out.tfevents.1756153220.d1e647f6a903.672.3 +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ResNetForImageClassification"
|
| 4 |
+
],
|
| 5 |
+
"depths": [
|
| 6 |
+
3,
|
| 7 |
+
4,
|
| 8 |
+
6,
|
| 9 |
+
3
|
| 10 |
+
],
|
| 11 |
+
"downsample_in_bottleneck": false,
|
| 12 |
+
"downsample_in_first_stage": false,
|
| 13 |
+
"embedding_size": 64,
|
| 14 |
+
"hidden_act": "relu",
|
| 15 |
+
"hidden_sizes": [
|
| 16 |
+
256,
|
| 17 |
+
512,
|
| 18 |
+
1024,
|
| 19 |
+
2048
|
| 20 |
+
],
|
| 21 |
+
"id2label": {
|
| 22 |
+
"0": "class_0",
|
| 23 |
+
"1": "class_1",
|
| 24 |
+
"2": "class_2",
|
| 25 |
+
"3": "class_3",
|
| 26 |
+
"4": "class_4",
|
| 27 |
+
"5": "class_5",
|
| 28 |
+
"6": "class_6"
|
| 29 |
+
},
|
| 30 |
+
"label2id": {
|
| 31 |
+
"class_0": 0,
|
| 32 |
+
"class_1": 1,
|
| 33 |
+
"class_2": 2,
|
| 34 |
+
"class_3": 3,
|
| 35 |
+
"class_4": 4,
|
| 36 |
+
"class_5": 5,
|
| 37 |
+
"class_6": 6
|
| 38 |
+
},
|
| 39 |
+
"layer_type": "bottleneck",
|
| 40 |
+
"model_type": "resnet",
|
| 41 |
+
"num_channels": 3,
|
| 42 |
+
"out_features": [
|
| 43 |
+
"stage4"
|
| 44 |
+
],
|
| 45 |
+
"out_indices": [
|
| 46 |
+
4
|
| 47 |
+
],
|
| 48 |
+
"problem_type": "single_label_classification",
|
| 49 |
+
"stage_names": [
|
| 50 |
+
"stem",
|
| 51 |
+
"stage1",
|
| 52 |
+
"stage2",
|
| 53 |
+
"stage3",
|
| 54 |
+
"stage4"
|
| 55 |
+
],
|
| 56 |
+
"torch_dtype": "float32",
|
| 57 |
+
"transformers_version": "4.55.2"
|
| 58 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:763c2fdf8d9c3622c1e1062c932ec5542866b133672ab40dd44302de00537154
|
| 3 |
+
size 94343948
|
runs/Aug25_19-52-03_d1e647f6a903/events.out.tfevents.1756152449.d1e647f6a903.672.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3038be881c7f4a718b40164d3407ed9ca640fb0e17803fda158478899acfdf0
|
| 3 |
+
size 5258
|
runs/Aug25_19-52-03_d1e647f6a903/events.out.tfevents.1756152758.d1e647f6a903.672.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4402ef7372423233cc08b70670d13633c60464d0abbebaa1b13b3afd4a602338
|
| 3 |
+
size 5258
|
runs/Aug25_19-52-03_d1e647f6a903/events.out.tfevents.1756152805.d1e647f6a903.672.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e5d8427393b4dbfce0c8c5067103b03908a30aded34977a9eca723a75b5aa59
|
| 3 |
+
size 82265
|
runs/Aug25_20-20-17_d1e647f6a903/events.out.tfevents.1756153220.d1e647f6a903.672.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72dc6afae3020d802fa0c1c90357c4a9ec606098d678f1ceb5ebad7397dc0fc5
|
| 3 |
+
size 114371
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69dc137bfeacc5aeecd05570d9df436380c378e6d8cf6b9747ba2730d61bb317
|
| 3 |
+
size 5841
|