Divyasreepat commited on
Commit
5f71189
·
verified ·
1 Parent(s): b355062

Upload folder using huggingface_hub

Browse files
Files changed (7) hide show
  1. config.json +7 -2
  2. image_converter.json +13 -12
  3. metadata.json +3 -3
  4. model.weights.h5 +2 -2
  5. preprocessor.json +13 -12
  6. task.json +20 -14
  7. task.weights.h5 +1 -1
config.json CHANGED
@@ -9,7 +9,10 @@
9
  384,
10
  3
11
  ],
12
- "patch_size": 16,
 
 
 
13
  "num_layers": 24,
14
  "num_heads": 16,
15
  "hidden_dim": 1024,
@@ -18,7 +21,9 @@
18
  "attention_dropout": 0.0,
19
  "layer_norm_epsilon": 1e-06,
20
  "use_mha_bias": true,
21
- "use_mlp_bias": true
 
 
22
  },
23
  "registered_name": "keras_hub>ViTBackbone"
24
  }
 
9
  384,
10
  3
11
  ],
12
+ "patch_size": [
13
+ 16,
14
+ 16
15
+ ],
16
  "num_layers": 24,
17
  "num_heads": 16,
18
  "hidden_dim": 1024,
 
21
  "attention_dropout": 0.0,
22
  "layer_norm_epsilon": 1e-06,
23
  "use_mha_bias": true,
24
+ "use_mlp_bias": true,
25
+ "use_class_token": true,
26
+ "use_patch_bias": true
27
  },
28
  "registered_name": "keras_hub>ViTBackbone"
29
  }
image_converter.json CHANGED
@@ -16,20 +16,21 @@
16
  384,
17
  384
18
  ],
19
- "scale": 0.00392156862745098,
20
- "offset": null,
 
 
 
 
 
 
 
 
21
  "interpolation": "bilinear",
 
22
  "crop_to_aspect_ratio": true,
23
- "norm_mean": [
24
- 0.5,
25
- 0.5,
26
- 0.5
27
- ],
28
- "norm_std": [
29
- 0.5,
30
- 0.5,
31
- 0.5
32
- ]
33
  },
34
  "registered_name": "keras_hub>ViTImageConverter"
35
  }
 
16
  384,
17
  384
18
  ],
19
+ "scale": [
20
+ 0.00784313725490196,
21
+ 0.00784313725490196,
22
+ 0.00784313725490196
23
+ ],
24
+ "offset": [
25
+ -1.0,
26
+ -1.0,
27
+ -1.0
28
+ ],
29
  "interpolation": "bilinear",
30
+ "antialias": false,
31
  "crop_to_aspect_ratio": true,
32
+ "pad_to_aspect_ratio": false,
33
+ "bounding_box_format": "yxyx"
 
 
 
 
 
 
 
 
34
  },
35
  "registered_name": "keras_hub>ViTImageConverter"
36
  }
metadata.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "keras_version": "3.7.0",
3
- "keras_hub_version": "0.19.0",
4
  "parameter_count": 303690752,
5
- "date_saved": "2024-12-23@17:24:38",
6
  "tasks": [
7
  "ImageClassifier"
8
  ]
 
1
  {
2
+ "keras_version": "3.9.2",
3
+ "keras_hub_version": "0.21.0.dev0",
4
  "parameter_count": 303690752,
5
+ "date_saved": "2025-05-16@21:49:06",
6
  "tasks": [
7
  "ImageClassifier"
8
  ]
model.weights.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c99b6a0a6627036bc6bdc47c1770c8a70a9e97a05ef74b22211e7f265da3eb6e
3
- size 1215629112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:485e83e80d77ef8faafd5718c6620d23cd75fa091a9dea1b2488b981226591dc
3
+ size 1215629128
preprocessor.json CHANGED
@@ -30,20 +30,21 @@
30
  384,
31
  384
32
  ],
33
- "scale": 0.00392156862745098,
34
- "offset": null,
 
 
 
 
 
 
 
 
35
  "interpolation": "bilinear",
 
36
  "crop_to_aspect_ratio": true,
37
- "norm_mean": [
38
- 0.5,
39
- 0.5,
40
- 0.5
41
- ],
42
- "norm_std": [
43
- 0.5,
44
- 0.5,
45
- 0.5
46
- ]
47
  },
48
  "registered_name": "keras_hub>ViTImageConverter"
49
  },
 
30
  384,
31
  384
32
  ],
33
+ "scale": [
34
+ 0.00784313725490196,
35
+ 0.00784313725490196,
36
+ 0.00784313725490196
37
+ ],
38
+ "offset": [
39
+ -1.0,
40
+ -1.0,
41
+ -1.0
42
+ ],
43
  "interpolation": "bilinear",
44
+ "antialias": false,
45
  "crop_to_aspect_ratio": true,
46
+ "pad_to_aspect_ratio": false,
47
+ "bounding_box_format": "yxyx"
 
 
 
 
 
 
 
 
48
  },
49
  "registered_name": "keras_hub>ViTImageConverter"
50
  },
task.json CHANGED
@@ -13,7 +13,10 @@
13
  384,
14
  3
15
  ],
16
- "patch_size": 16,
 
 
 
17
  "num_layers": 24,
18
  "num_heads": 16,
19
  "hidden_dim": 1024,
@@ -22,7 +25,9 @@
22
  "attention_dropout": 0.0,
23
  "layer_norm_epsilon": 1e-06,
24
  "use_mha_bias": true,
25
- "use_mlp_bias": true
 
 
26
  },
27
  "registered_name": "keras_hub>ViTBackbone"
28
  },
@@ -58,20 +63,21 @@
58
  384,
59
  384
60
  ],
61
- "scale": 0.00392156862745098,
62
- "offset": null,
 
 
 
 
 
 
 
 
63
  "interpolation": "bilinear",
 
64
  "crop_to_aspect_ratio": true,
65
- "norm_mean": [
66
- 0.5,
67
- 0.5,
68
- 0.5
69
- ],
70
- "norm_std": [
71
- 0.5,
72
- 0.5,
73
- 0.5
74
- ]
75
  },
76
  "registered_name": "keras_hub>ViTImageConverter"
77
  },
 
13
  384,
14
  3
15
  ],
16
+ "patch_size": [
17
+ 16,
18
+ 16
19
+ ],
20
  "num_layers": 24,
21
  "num_heads": 16,
22
  "hidden_dim": 1024,
 
25
  "attention_dropout": 0.0,
26
  "layer_norm_epsilon": 1e-06,
27
  "use_mha_bias": true,
28
+ "use_mlp_bias": true,
29
+ "use_class_token": true,
30
+ "use_patch_bias": true
31
  },
32
  "registered_name": "keras_hub>ViTBackbone"
33
  },
 
63
  384,
64
  384
65
  ],
66
+ "scale": [
67
+ 0.00784313725490196,
68
+ 0.00784313725490196,
69
+ 0.00784313725490196
70
+ ],
71
+ "offset": [
72
+ -1.0,
73
+ -1.0,
74
+ -1.0
75
+ ],
76
  "interpolation": "bilinear",
77
+ "antialias": false,
78
  "crop_to_aspect_ratio": true,
79
+ "pad_to_aspect_ratio": false,
80
+ "bounding_box_format": "yxyx"
 
 
 
 
 
 
 
 
81
  },
82
  "registered_name": "keras_hub>ViTImageConverter"
83
  },
task.weights.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:adcdf6d9077d9be3d9fd0b12c0144539495657df78c5249503da22d06128de43
3
  size 1219745280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c89c3d9398476389a3e99799d80b1c69eb50a8b3c21475599962a05fa0ed1f0
3
  size 1219745280