upload model
Browse files- config.json +49 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
|
3 |
+
"architectures": [
|
4 |
+
"SwinModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
1,
|
9 |
+
1,
|
10 |
+
1,
|
11 |
+
1
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.0,
|
14 |
+
"embed_dim": 8,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"finetuning_task": "image-classification",
|
17 |
+
"hidden_act": "gelu",
|
18 |
+
"hidden_dropout_prob": 0.0,
|
19 |
+
"hidden_size": 64,
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"layer_norm_eps": 1e-05,
|
23 |
+
"mlp_ratio": 2.0,
|
24 |
+
"model_type": "swin",
|
25 |
+
"num_channels": 3,
|
26 |
+
"num_heads": [
|
27 |
+
2,
|
28 |
+
4,
|
29 |
+
8,
|
30 |
+
16
|
31 |
+
],
|
32 |
+
"num_layers": 4,
|
33 |
+
"out_features": null,
|
34 |
+
"patch_size": 4,
|
35 |
+
"path_norm": true,
|
36 |
+
"problem_type": "single_label_classification",
|
37 |
+
"qkv_bias": true,
|
38 |
+
"stage_names": [
|
39 |
+
"stem",
|
40 |
+
"stage1",
|
41 |
+
"stage2",
|
42 |
+
"stage3",
|
43 |
+
"stage4"
|
44 |
+
],
|
45 |
+
"torch_dtype": "float32",
|
46 |
+
"transformers_version": "4.26.0",
|
47 |
+
"use_absolute_embeddings": false,
|
48 |
+
"window_size": 7
|
49 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:491f3622ab2b55043ae4b43ddcc43f0fdcd6fd9f90727acfc9eb817bb5420738
|
3 |
+
size 351158
|