Commit
•
892e815
1
Parent(s):
b1a1ff4
Training in progress, epoch 1
Browse files- config.json +63 -63
- model.safetensors +1 -1
- preprocessor_config.json +27 -44
- training_args.bin +2 -2
config.json
CHANGED
@@ -1,63 +1,63 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "facebook/dinov2-base",
|
3 |
-
"apply_layernorm": true,
|
4 |
-
"architectures": [
|
5 |
-
"Dinov2ForImageClassification"
|
6 |
-
],
|
7 |
-
"attention_probs_dropout_prob": 0.0,
|
8 |
-
"drop_path_rate": 0.0,
|
9 |
-
"hidden_act": "gelu",
|
10 |
-
"hidden_dropout_prob": 0.0,
|
11 |
-
"hidden_size": 768,
|
12 |
-
"id2label": {
|
13 |
-
"0": "anodr",
|
14 |
-
"1": "bmilddr",
|
15 |
-
"2": "cmoderatedr",
|
16 |
-
"3": "dseveredr",
|
17 |
-
"4": "eproliferativedr"
|
18 |
-
},
|
19 |
-
"image_size": 518,
|
20 |
-
"initializer_range": 0.02,
|
21 |
-
"label2id": {
|
22 |
-
"anodr": 0,
|
23 |
-
"bmilddr": 1,
|
24 |
-
"cmoderatedr": 2,
|
25 |
-
"dseveredr": 3,
|
26 |
-
"eproliferativedr": 4
|
27 |
-
},
|
28 |
-
"layer_norm_eps": 1e-06,
|
29 |
-
"layerscale_value": 1.0,
|
30 |
-
"mlp_ratio": 4,
|
31 |
-
"model_type": "dinov2",
|
32 |
-
"num_attention_heads": 12,
|
33 |
-
"num_channels": 3,
|
34 |
-
"num_hidden_layers": 12,
|
35 |
-
"out_features": [
|
36 |
-
"stage12"
|
37 |
-
],
|
38 |
-
"out_indices": [
|
39 |
-
12
|
40 |
-
],
|
41 |
-
"patch_size": 14,
|
42 |
-
"problem_type": "single_label_classification",
|
43 |
-
"qkv_bias": true,
|
44 |
-
"reshape_hidden_states": true,
|
45 |
-
"stage_names": [
|
46 |
-
"stem",
|
47 |
-
"stage1",
|
48 |
-
"stage2",
|
49 |
-
"stage3",
|
50 |
-
"stage4",
|
51 |
-
"stage5",
|
52 |
-
"stage6",
|
53 |
-
"stage7",
|
54 |
-
"stage8",
|
55 |
-
"stage9",
|
56 |
-
"stage10",
|
57 |
-
"stage11",
|
58 |
-
"stage12"
|
59 |
-
],
|
60 |
-
"torch_dtype": "float32",
|
61 |
-
"transformers_version": "4.
|
62 |
-
"use_swiglu_ffn": false
|
63 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/dinov2-base",
|
3 |
+
"apply_layernorm": true,
|
4 |
+
"architectures": [
|
5 |
+
"Dinov2ForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"drop_path_rate": 0.0,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "anodr",
|
14 |
+
"1": "bmilddr",
|
15 |
+
"2": "cmoderatedr",
|
16 |
+
"3": "dseveredr",
|
17 |
+
"4": "eproliferativedr"
|
18 |
+
},
|
19 |
+
"image_size": 518,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"label2id": {
|
22 |
+
"anodr": 0,
|
23 |
+
"bmilddr": 1,
|
24 |
+
"cmoderatedr": 2,
|
25 |
+
"dseveredr": 3,
|
26 |
+
"eproliferativedr": 4
|
27 |
+
},
|
28 |
+
"layer_norm_eps": 1e-06,
|
29 |
+
"layerscale_value": 1.0,
|
30 |
+
"mlp_ratio": 4,
|
31 |
+
"model_type": "dinov2",
|
32 |
+
"num_attention_heads": 12,
|
33 |
+
"num_channels": 3,
|
34 |
+
"num_hidden_layers": 12,
|
35 |
+
"out_features": [
|
36 |
+
"stage12"
|
37 |
+
],
|
38 |
+
"out_indices": [
|
39 |
+
12
|
40 |
+
],
|
41 |
+
"patch_size": 14,
|
42 |
+
"problem_type": "single_label_classification",
|
43 |
+
"qkv_bias": true,
|
44 |
+
"reshape_hidden_states": true,
|
45 |
+
"stage_names": [
|
46 |
+
"stem",
|
47 |
+
"stage1",
|
48 |
+
"stage2",
|
49 |
+
"stage3",
|
50 |
+
"stage4",
|
51 |
+
"stage5",
|
52 |
+
"stage6",
|
53 |
+
"stage7",
|
54 |
+
"stage8",
|
55 |
+
"stage9",
|
56 |
+
"stage10",
|
57 |
+
"stage11",
|
58 |
+
"stage12"
|
59 |
+
],
|
60 |
+
"torch_dtype": "float32",
|
61 |
+
"transformers_version": "4.37.2",
|
62 |
+
"use_swiglu_ffn": false
|
63 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 346378372
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef4fb8b04cf5071f80e2eb972ea8da9cc619b673fc22d527c59d41d1afaa01db
|
3 |
size 346378372
|
preprocessor_config.json
CHANGED
@@ -1,44 +1,27 @@
|
|
1 |
-
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
"
|
24 |
-
"
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
"image_mean": [
|
29 |
-
0.485,
|
30 |
-
0.456,
|
31 |
-
0.406
|
32 |
-
],
|
33 |
-
"image_processor_type": "BitImageProcessor",
|
34 |
-
"image_std": [
|
35 |
-
0.229,
|
36 |
-
0.224,
|
37 |
-
0.225
|
38 |
-
],
|
39 |
-
"resample": 3,
|
40 |
-
"rescale_factor": 0.00392156862745098,
|
41 |
-
"size": {
|
42 |
-
"shortest_edge": 256
|
43 |
-
}
|
44 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_convert_rgb": true,
|
8 |
+
"do_normalize": true,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"image_mean": [
|
12 |
+
0.485,
|
13 |
+
0.456,
|
14 |
+
0.406
|
15 |
+
],
|
16 |
+
"image_processor_type": "BitImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.229,
|
19 |
+
0.224,
|
20 |
+
0.225
|
21 |
+
],
|
22 |
+
"resample": 3,
|
23 |
+
"rescale_factor": 0.00392156862745098,
|
24 |
+
"size": {
|
25 |
+
"shortest_edge": 256
|
26 |
+
}
|
27 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:307ee29aa564b4063ee4ac86638430498a75fcdcc85ceefa1e26f4550895590a
|
3 |
+
size 4792
|