rukundob451
commited on
Commit
•
cd9832c
1
Parent(s):
8ada8b9
Training in progress, epoch 0
Browse files- config.json +65 -0
- model.safetensors +3 -0
- preprocessor_config.json +27 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/dinov2-small",
|
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": 384,
|
12 |
+
"id2label": {
|
13 |
+
"0": "ASCUS",
|
14 |
+
"1": "Cancer",
|
15 |
+
"2": "HSIL",
|
16 |
+
"3": "LSIL",
|
17 |
+
"4": "NILM",
|
18 |
+
"5": "Non-Diagnostic"
|
19 |
+
},
|
20 |
+
"image_size": 518,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"label2id": {
|
23 |
+
"ASCUS": 0,
|
24 |
+
"Cancer": 1,
|
25 |
+
"HSIL": 2,
|
26 |
+
"LSIL": 3,
|
27 |
+
"NILM": 4,
|
28 |
+
"Non-Diagnostic": 5
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-06,
|
31 |
+
"layerscale_value": 1.0,
|
32 |
+
"mlp_ratio": 4,
|
33 |
+
"model_type": "dinov2",
|
34 |
+
"num_attention_heads": 6,
|
35 |
+
"num_channels": 3,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"out_features": [
|
38 |
+
"stage12"
|
39 |
+
],
|
40 |
+
"out_indices": [
|
41 |
+
12
|
42 |
+
],
|
43 |
+
"patch_size": 14,
|
44 |
+
"problem_type": "single_label_classification",
|
45 |
+
"qkv_bias": true,
|
46 |
+
"reshape_hidden_states": true,
|
47 |
+
"stage_names": [
|
48 |
+
"stem",
|
49 |
+
"stage1",
|
50 |
+
"stage2",
|
51 |
+
"stage3",
|
52 |
+
"stage4",
|
53 |
+
"stage5",
|
54 |
+
"stage6",
|
55 |
+
"stage7",
|
56 |
+
"stage8",
|
57 |
+
"stage9",
|
58 |
+
"stage10",
|
59 |
+
"stage11",
|
60 |
+
"stage12"
|
61 |
+
],
|
62 |
+
"torch_dtype": "float32",
|
63 |
+
"transformers_version": "4.44.2",
|
64 |
+
"use_swiglu_ffn": false
|
65 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4791588226e8ba23ce639569fe6fd77d500db15af33e8e31126c5af55e2b861f
|
3 |
+
size 88270136
|
preprocessor_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc7b780454a39f7eb7720d3c136abb69d4b63d5be0017e495c9163288666457e
|
3 |
+
size 5240
|