ochsncon commited on
Commit
115909d
·
verified ·
1 Parent(s): 05510f8

Upload 5 files

Browse files
config.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ResNetForImageClassification"
4
+ ],
5
+ "depths": [
6
+ 2,
7
+ 2,
8
+ 2,
9
+ 2
10
+ ],
11
+ "downsample_in_bottleneck": false,
12
+ "downsample_in_first_stage": false,
13
+ "dtype": "float32",
14
+ "embedding_size": 64,
15
+ "hidden_act": "relu",
16
+ "hidden_sizes": [
17
+ 64,
18
+ 128,
19
+ 256,
20
+ 512
21
+ ],
22
+ "id2label": {
23
+ "0": "Acura",
24
+ "1": "Alpha Romeo",
25
+ "2": "Aston Martin",
26
+ "3": "Audi",
27
+ "4": "BMW",
28
+ "5": "Bentley",
29
+ "6": "Cadillac",
30
+ "7": "Fiat",
31
+ "8": "Ford",
32
+ "9": "Hyundai",
33
+ "10": "Jaguar",
34
+ "11": "Kia",
35
+ "12": "Mahindra",
36
+ "13": "Mazda",
37
+ "14": "Mercedes-Benz",
38
+ "15": "Porsche",
39
+ "16": "Rolls Royce",
40
+ "17": "Swift",
41
+ "18": "Toyota"
42
+ },
43
+ "label2id": {
44
+ "Acura": 0,
45
+ "Alpha Romeo": 1,
46
+ "Aston Martin": 2,
47
+ "Audi": 3,
48
+ "BMW": 4,
49
+ "Bentley": 5,
50
+ "Cadillac": 6,
51
+ "Fiat": 7,
52
+ "Ford": 8,
53
+ "Hyundai": 9,
54
+ "Jaguar": 10,
55
+ "Kia": 11,
56
+ "Mahindra": 12,
57
+ "Mazda": 13,
58
+ "Mercedes-Benz": 14,
59
+ "Porsche": 15,
60
+ "Rolls Royce": 16,
61
+ "Swift": 17,
62
+ "Toyota": 18
63
+ },
64
+ "layer_type": "basic",
65
+ "model_type": "resnet",
66
+ "num_channels": 3,
67
+ "out_features": [
68
+ "stage4"
69
+ ],
70
+ "out_indices": [
71
+ 4
72
+ ],
73
+ "stage_names": [
74
+ "stem",
75
+ "stage1",
76
+ "stage2",
77
+ "stage3",
78
+ "stage4"
79
+ ],
80
+ "transformers_version": "4.57.6"
81
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afeaf4fde52c225b89d38c518b5b9f719f290fefa78ce0eb2a428ab288586f50
3
+ size 44799220
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a59e83ad1ae948f5425338e71029b31c597132df487531147533f51bb11c0c0
3
+ size 5432
vision_metadata.json ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "created_at": "2026-06-07T08:11:50.046329+00:00",
3
+ "base_model": "microsoft/resnet-18",
4
+ "number_of_classes": 19,
5
+ "class_names": [
6
+ "Acura",
7
+ "Alpha Romeo",
8
+ "Aston Martin",
9
+ "Audi",
10
+ "BMW",
11
+ "Bentley",
12
+ "Cadillac",
13
+ "Fiat",
14
+ "Ford",
15
+ "Hyundai",
16
+ "Jaguar",
17
+ "Kia",
18
+ "Mahindra",
19
+ "Mazda",
20
+ "Mercedes-Benz",
21
+ "Porsche",
22
+ "Rolls Royce",
23
+ "Swift",
24
+ "Toyota"
25
+ ],
26
+ "train_image_count": 2550,
27
+ "test_image_count": 796,
28
+ "accuracy": 0.2550251256281407,
29
+ "classification_report": {
30
+ "Acura": {
31
+ "precision": 0.4,
32
+ "recall": 0.3333333333333333,
33
+ "f1-score": 0.36363636363636365,
34
+ "support": 42.0
35
+ },
36
+ "Alpha Romeo": {
37
+ "precision": 0.5,
38
+ "recall": 0.04,
39
+ "f1-score": 0.07407407407407407,
40
+ "support": 25.0
41
+ },
42
+ "Aston Martin": {
43
+ "precision": 0.2,
44
+ "recall": 0.047619047619047616,
45
+ "f1-score": 0.07692307692307693,
46
+ "support": 42.0
47
+ },
48
+ "Audi": {
49
+ "precision": 0.0,
50
+ "recall": 0.0,
51
+ "f1-score": 0.0,
52
+ "support": 42.0
53
+ },
54
+ "BMW": {
55
+ "precision": 0.2288135593220339,
56
+ "recall": 0.4426229508196721,
57
+ "f1-score": 0.3016759776536313,
58
+ "support": 61.0
59
+ },
60
+ "Bentley": {
61
+ "precision": 0.14285714285714285,
62
+ "recall": 0.02631578947368421,
63
+ "f1-score": 0.044444444444444446,
64
+ "support": 38.0
65
+ },
66
+ "Cadillac": {
67
+ "precision": 0.0,
68
+ "recall": 0.0,
69
+ "f1-score": 0.0,
70
+ "support": 42.0
71
+ },
72
+ "Fiat": {
73
+ "precision": 0.0,
74
+ "recall": 0.0,
75
+ "f1-score": 0.0,
76
+ "support": 42.0
77
+ },
78
+ "Ford": {
79
+ "precision": 1.0,
80
+ "recall": 0.023809523809523808,
81
+ "f1-score": 0.046511627906976744,
82
+ "support": 42.0
83
+ },
84
+ "Hyundai": {
85
+ "precision": 0.11538461538461539,
86
+ "recall": 0.07142857142857142,
87
+ "f1-score": 0.08823529411764706,
88
+ "support": 42.0
89
+ },
90
+ "Jaguar": {
91
+ "precision": 0.23076923076923078,
92
+ "recall": 0.07142857142857142,
93
+ "f1-score": 0.10909090909090909,
94
+ "support": 42.0
95
+ },
96
+ "Kia": {
97
+ "precision": 0.0,
98
+ "recall": 0.0,
99
+ "f1-score": 0.0,
100
+ "support": 42.0
101
+ },
102
+ "Mahindra": {
103
+ "precision": 0.4222222222222222,
104
+ "recall": 0.9047619047619048,
105
+ "f1-score": 0.5757575757575758,
106
+ "support": 42.0
107
+ },
108
+ "Mazda": {
109
+ "precision": 0.0,
110
+ "recall": 0.0,
111
+ "f1-score": 0.0,
112
+ "support": 42.0
113
+ },
114
+ "Mercedes-Benz": {
115
+ "precision": 0.0,
116
+ "recall": 0.0,
117
+ "f1-score": 0.0,
118
+ "support": 42.0
119
+ },
120
+ "Porsche": {
121
+ "precision": 0.0,
122
+ "recall": 0.0,
123
+ "f1-score": 0.0,
124
+ "support": 42.0
125
+ },
126
+ "Rolls Royce": {
127
+ "precision": 0.24836601307189543,
128
+ "recall": 0.9047619047619048,
129
+ "f1-score": 0.38974358974358975,
130
+ "support": 42.0
131
+ },
132
+ "Swift": {
133
+ "precision": 0.14347826086956522,
134
+ "recall": 0.7857142857142857,
135
+ "f1-score": 0.2426470588235294,
136
+ "support": 42.0
137
+ },
138
+ "Toyota": {
139
+ "precision": 0.38181818181818183,
140
+ "recall": 1.0,
141
+ "f1-score": 0.5526315789473685,
142
+ "support": 42.0
143
+ },
144
+ "accuracy": 0.2550251256281407,
145
+ "macro avg": {
146
+ "precision": 0.211247854016573,
147
+ "recall": 0.24483136227107885,
148
+ "f1-score": 0.15080903005890456,
149
+ "support": 796.0
150
+ },
151
+ "weighted avg": {
152
+ "precision": 0.20584399065441628,
153
+ "recall": 0.2550251256281407,
154
+ "f1-score": 0.15658343282083895,
155
+ "support": 796.0
156
+ }
157
+ },
158
+ "note": "This model can only predict one of the trained vehicle brands/classes. It does not provide damage detection or technical condition assessment."
159
+ }