Wangxc1000
commited on
Commit
•
1a0bf95
1
Parent(s):
6b6d9d7
Training in progress, epoch 0
Browse files- config.json +69 -0
- model.safetensors +3 -0
- preprocessor_config.json +27 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "D:\\dan\\2024_03\\classify\\code\\0306\\weight\\dinov2_l",
|
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": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "NG",
|
14 |
+
"1": "ok"
|
15 |
+
},
|
16 |
+
"image_size": 518,
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"label2id": {
|
19 |
+
"NG": 0,
|
20 |
+
"ok": 1
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-06,
|
23 |
+
"layerscale_value": 1.0,
|
24 |
+
"mlp_ratio": 4,
|
25 |
+
"model_type": "dinov2",
|
26 |
+
"num_attention_heads": 16,
|
27 |
+
"num_channels": 3,
|
28 |
+
"num_hidden_layers": 24,
|
29 |
+
"out_features": [
|
30 |
+
"stage24"
|
31 |
+
],
|
32 |
+
"out_indices": [
|
33 |
+
24
|
34 |
+
],
|
35 |
+
"patch_size": 14,
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"qkv_bias": true,
|
38 |
+
"reshape_hidden_states": true,
|
39 |
+
"stage_names": [
|
40 |
+
"stem",
|
41 |
+
"stage1",
|
42 |
+
"stage2",
|
43 |
+
"stage3",
|
44 |
+
"stage4",
|
45 |
+
"stage5",
|
46 |
+
"stage6",
|
47 |
+
"stage7",
|
48 |
+
"stage8",
|
49 |
+
"stage9",
|
50 |
+
"stage10",
|
51 |
+
"stage11",
|
52 |
+
"stage12",
|
53 |
+
"stage13",
|
54 |
+
"stage14",
|
55 |
+
"stage15",
|
56 |
+
"stage16",
|
57 |
+
"stage17",
|
58 |
+
"stage18",
|
59 |
+
"stage19",
|
60 |
+
"stage20",
|
61 |
+
"stage21",
|
62 |
+
"stage22",
|
63 |
+
"stage23",
|
64 |
+
"stage24"
|
65 |
+
],
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.38.2",
|
68 |
+
"use_swiglu_ffn": false
|
69 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2c56e1f10236bab733d5bf57b9c354cdafadd1d9940e1ccf15d40bfd27391ce
|
3 |
+
size 1217542512
|
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:a6786c49e663a6b3ff0d17eef883c0f670d57fbf8d9cc9f7aa330ca983061e32
|
3 |
+
size 4920
|