karasikov commited on
Commit
8e05d59
·
verified ·
1 Parent(s): c187270

Upload model

Browse files
Files changed (2) hide show
  1. config.json +46 -29
  2. model.safetensors +3 -0
config.json CHANGED
@@ -1,30 +1,47 @@
1
  {
2
- "architecture": "vit_giant_patch14_dinov2",
3
- "pretrained_cfg": {
4
- "tag": "midnight",
5
- "custom_load": true,
6
- "crop_pct": 1,
7
- "input_size": [
8
- 3,
9
- 224,
10
- 224
11
- ],
12
- "fixed_input_size": false,
13
- "interpolation": "bilinear",
14
- "mean": [
15
- 0.5,
16
- 0.5,
17
- 0.5
18
- ],
19
- "std": [
20
- 0.5,
21
- 0.5,
22
- 0.5
23
- ],
24
- "num_classes": 0,
25
- "pool_size": null,
26
- "first_conv": "patch_embed.proj",
27
- "classifier": "head",
28
- "license": "MIT"
29
- }
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "apply_layernorm": true,
3
+ "architectures": [
4
+ "Dinov2Model"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "drop_path_rate": 0.0,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 1536,
11
+ "image_size": 518,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_eps": 1e-06,
14
+ "layerscale_value": 1.0,
15
+ "mlp_ratio": 4,
16
+ "model_type": "dinov2",
17
+ "num_attention_heads": 24,
18
+ "num_channels": 3,
19
+ "num_hidden_layers": 40,
20
+ "out_features": [
21
+ "stage12"
22
+ ],
23
+ "out_indices": [
24
+ 12
25
+ ],
26
+ "patch_size": 14,
27
+ "qkv_bias": true,
28
+ "reshape_hidden_states": true,
29
+ "stage_names": [
30
+ "stem",
31
+ "stage1",
32
+ "stage2",
33
+ "stage3",
34
+ "stage4",
35
+ "stage5",
36
+ "stage6",
37
+ "stage7",
38
+ "stage8",
39
+ "stage9",
40
+ "stage10",
41
+ "stage11",
42
+ "stage12"
43
+ ],
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.43.4",
46
+ "use_swiglu_ffn": true
47
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52c14f20386ca17c2af8a7bf32c31c352668a8fbf6aefc88d86be6eaa0c72ca1
3
+ size 4546005432