MichalMlodawski
commited on
Commit
•
8bfdcf2
1
Parent(s):
a1e7643
Upload 5 files
Browse files- config.json +43 -0
- model.safetensors +3 -0
- optimizer_scheduler_state.pt +3 -0
- preprocessor_config.json +16 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "apple/mobilevitv2-1.0-imagenet1k-256",
|
3 |
+
"architectures": [
|
4 |
+
"MobileViTV2ForImageClassification"
|
5 |
+
],
|
6 |
+
"aspp_dropout_prob": 0.1,
|
7 |
+
"aspp_out_channels": 512,
|
8 |
+
"atrous_rates": [
|
9 |
+
6,
|
10 |
+
12,
|
11 |
+
18
|
12 |
+
],
|
13 |
+
"attn_dropout": 0.0,
|
14 |
+
"base_attn_unit_dims": [
|
15 |
+
128,
|
16 |
+
192,
|
17 |
+
256
|
18 |
+
],
|
19 |
+
"classifier_dropout_prob": 0.1,
|
20 |
+
"conv_kernel_size": 3,
|
21 |
+
"expand_ratio": 2.0,
|
22 |
+
"ffn_dropout": 0.0,
|
23 |
+
"ffn_multiplier": 2,
|
24 |
+
"hidden_act": "swish",
|
25 |
+
"image_size": 256,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"layer_norm_eps": 1e-05,
|
28 |
+
"mlp_ratio": 2.0,
|
29 |
+
"model_type": "mobilevitv2",
|
30 |
+
"n_attn_blocks": [
|
31 |
+
2,
|
32 |
+
4,
|
33 |
+
3
|
34 |
+
],
|
35 |
+
"num_channels": 3,
|
36 |
+
"output_stride": 32,
|
37 |
+
"patch_size": 2,
|
38 |
+
"problem_type": "single_label_classification",
|
39 |
+
"semantic_loss_ignore_index": 255,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.32.1",
|
42 |
+
"width_multiplier": 1.0
|
43 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:953f3556a196ec97f23a84d97a4eb518702490a418edab083b993bec63a8dda3
|
3 |
+
size 17659076
|
optimizer_scheduler_state.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03ce6a7ce3cdf14847a5cefa10bb2c29330b58eddb3b14bb662aab1421cdd947
|
3 |
+
size 35291354
|
preprocessor_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 256,
|
4 |
+
"width": 256
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
7 |
+
"do_flip_channel_order": true,
|
8 |
+
"do_rescale": true,
|
9 |
+
"do_resize": true,
|
10 |
+
"image_processor_type": "MobileViTImageProcessor",
|
11 |
+
"resample": 2,
|
12 |
+
"rescale_factor": 0.00392156862745098,
|
13 |
+
"size": {
|
14 |
+
"shortest_edge": 288
|
15 |
+
}
|
16 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7667497e1950da17abd660376270a2d3ae0eebb1d374ecf8c174053be5ea549a
|
3 |
+
size 17720574
|