nielsr HF staff fcakyon commited on
Commit
3da1913
1 Parent(s): 640b063

update weight and config to reflect latest changes from the pr (#2)

Browse files

- update weight and config to reflect latest changes from the pr (375ef8ae87b846eb70cbf40c16df28a9eb019be7)


Co-authored-by: Fatih <[email protected]>

Files changed (3) hide show
  1. config.json +3 -4
  2. preprocessor_config.json +26 -0
  3. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
  "architectures": [
3
- "TimeSformerForVideoClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.0,
6
  "attention_type": "divided_space_time",
7
- "drop_path_prob": 0,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
@@ -1224,6 +1224,5 @@
1224
  "patch_size": 16,
1225
  "qkv_bias": true,
1226
  "torch_dtype": "float32",
1227
- "transformers_version": "4.23.0.dev0",
1228
- "use_mean_pooling": false
1229
  }
 
1
  {
2
  "architectures": [
3
+ "TimesformerForVideoClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.0,
6
  "attention_type": "divided_space_time",
7
+ "drop_path_rate": 0,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
  "hidden_size": 768,
 
1224
  "patch_size": 16,
1225
  "qkv_bias": true,
1226
  "torch_dtype": "float32",
1227
+ "transformers_version": "4.25.0.dev0"
 
1228
  }
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.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "image_processor_type": "VideoMAEImageProcessor",
16
+ "image_std": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "resample": 2,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "shortest_edge": 224
25
+ }
26
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f80d9a344910fd1d3ff115ea2401794728083ae3822daf5f70e8eb71c8da22a1
3
- size 486961807
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb24c09fa3d2f4cbf13ddd41a82397ac00ee471a6143d6541190601599d2ffdf
3
+ size 486963889