james020619 commited on
Commit
442be6d
·
verified ·
1 Parent(s): e1858d2

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +40 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +26 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./",
3
+ "architectures": [
4
+ "VideoMAEv2ForVideoClassification"
5
+ ],
6
+ "auto_map": {
7
+ "AutoConfig": "OpenGVLab/VideoMAEv2-Base--modeling_config.VideoMAEv2Config",
8
+ "AutoModel": "OpenGVLab/VideoMAEv2-Base--modeling_videomaev2.VideoMAEv2"
9
+ },
10
+ "hidden_size": 768,
11
+ "model_config": {
12
+ "attn_drop_rate": 0.0,
13
+ "cos_attn": false,
14
+ "depth": 12,
15
+ "drop_path_rate": 0.0,
16
+ "drop_rate": 0.0,
17
+ "embed_dim": 768,
18
+ "img_size": 224,
19
+ "in_chans": 3,
20
+ "init_values": 0.0,
21
+ "layer_norm_eps": 1e-06,
22
+ "mlp_ratio": 4,
23
+ "norm_layer": "nn.LayerNorm",
24
+ "num_classes": 0,
25
+ "num_frames": 16,
26
+ "num_heads": 12,
27
+ "patch_size": 16,
28
+ "qk_scale": null,
29
+ "qkv_bias": true,
30
+ "tubelet_size": 2,
31
+ "use_learnable_pos_emb": false,
32
+ "use_mean_pooling": true,
33
+ "with_cp": false
34
+ },
35
+ "model_type": "VideoMAEv2_Base",
36
+ "problem_type": "single_label_classification",
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.49.0",
39
+ "use_cache": true
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46a3a5ba36ff04a6b38d71cf1543a405cd53a9d66ac8a4d1f739971a2d65fe50
3
+ size 344938944
preprocessor_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.485,
12
+ 0.456,
13
+ 0.406
14
+ ],
15
+ "image_processor_type": "VideoMAEImageProcessor",
16
+ "image_std": [
17
+ 0.229,
18
+ 0.224,
19
+ 0.225
20
+ ],
21
+ "resample": 2,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 224
25
+ }
26
+ }