Matt
commited on
Commit
•
975366d
1
Parent(s):
11afd61
Add base model
Browse files- config.json +23 -0
- preprocessor_config.json +19 -0
- tf_model.h5 +3 -0
config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": ".",
|
3 |
+
"architectures": [
|
4 |
+
"DeiTModel"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 32,
|
11 |
+
"image_size": 30,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 37,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"model_type": "deit",
|
16 |
+
"num_attention_heads": 4,
|
17 |
+
"num_channels": 3,
|
18 |
+
"num_hidden_layers": 5,
|
19 |
+
"patch_size": 2,
|
20 |
+
"qkv_bias": true,
|
21 |
+
"transformers_version": "4.27.0.dev0",
|
22 |
+
"vocab_size": {}
|
23 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": 224,
|
3 |
+
"do_center_crop": true,
|
4 |
+
"do_normalize": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "DeiTFeatureExtractor",
|
7 |
+
"image_mean": [
|
8 |
+
0.485,
|
9 |
+
0.456,
|
10 |
+
0.406
|
11 |
+
],
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"size": 256
|
19 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7153c5b5b41aff10b8ae8c6b689dac7a91ec8ffa623a0a9b4ab3cb93d85de984
|
3 |
+
size 291712
|