MichalMlodawski
commited on
Commit
•
49ae333
1
Parent(s):
69b017d
Upload 5 files
Browse files- config.json +74 -0
- model.safetensors +3 -0
- optimizer_scheduler_state.pt +3 -0
- preprocessor_config.json +27 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/focalnet-base",
|
3 |
+
"architectures": [
|
4 |
+
"FocalNetForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
2,
|
8 |
+
2,
|
9 |
+
18,
|
10 |
+
2
|
11 |
+
],
|
12 |
+
"drop_path_rate": 0.1,
|
13 |
+
"embed_dim": 128,
|
14 |
+
"encoder_stride": 32,
|
15 |
+
"focal_levels": [
|
16 |
+
2,
|
17 |
+
2,
|
18 |
+
2,
|
19 |
+
2
|
20 |
+
],
|
21 |
+
"focal_windows": [
|
22 |
+
3,
|
23 |
+
3,
|
24 |
+
3,
|
25 |
+
3
|
26 |
+
],
|
27 |
+
"hidden_act": "gelu",
|
28 |
+
"hidden_dropout_prob": 0.0,
|
29 |
+
"hidden_sizes": [
|
30 |
+
192,
|
31 |
+
384,
|
32 |
+
768,
|
33 |
+
768
|
34 |
+
],
|
35 |
+
"id2label": {
|
36 |
+
"0": "LABEL_0",
|
37 |
+
"1": "LABEL_1",
|
38 |
+
"2": "LABEL_2"
|
39 |
+
},
|
40 |
+
"image_size": 224,
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"label2id": {
|
43 |
+
"LABEL_0": 0,
|
44 |
+
"LABEL_1": 1,
|
45 |
+
"LABEL_2": 2
|
46 |
+
},
|
47 |
+
"layer_norm_eps": 1e-05,
|
48 |
+
"layerscale_value": 0.0001,
|
49 |
+
"mlp_ratio": 4.0,
|
50 |
+
"model_type": "focalnet",
|
51 |
+
"normalize_modulator": false,
|
52 |
+
"num_channels": 3,
|
53 |
+
"out_features": [
|
54 |
+
"stage4"
|
55 |
+
],
|
56 |
+
"out_indices": [
|
57 |
+
4
|
58 |
+
],
|
59 |
+
"patch_size": 4,
|
60 |
+
"problem_type": "single_label_classification",
|
61 |
+
"stage_names": [
|
62 |
+
"stem",
|
63 |
+
"stage1",
|
64 |
+
"stage2",
|
65 |
+
"stage3",
|
66 |
+
"stage4"
|
67 |
+
],
|
68 |
+
"torch_dtype": "float32",
|
69 |
+
"transformers_version": "4.37.2",
|
70 |
+
"use_conv_embed": false,
|
71 |
+
"use_layerscale": false,
|
72 |
+
"use_post_layernorm": false,
|
73 |
+
"use_post_layernorm_in_modulation": false
|
74 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44d8cbc35d4a87c81960a47644df1e787131ee0424e5a33d0f9b1e213e3f3233
|
3 |
+
size 348556636
|
optimizer_scheduler_state.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af50a0de0fdda174f615b277863878cc2a941d3881cd1b3fc9e21673bb444157
|
3 |
+
size 697368334
|
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": 2,
|
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:2b4e6e81f2d8318857882a36baffc953f713d415f9dd3e4a1accfc68462e0d43
|
3 |
+
size 4664
|