From 8d6676098296bcae2a4bf79eb1cd642a5bef020e Mon Sep 17 00:00:00 2001 From: Niels Rogge Date: Fri, 2 Dec 2022 08:13:46 +0000 Subject: [PATCH] update weight and config to reflect latest changes from the pr (#1) - update weight and config to reflect latest changes from the pr (06506849cf948497bdc6283cf12f0e9c4a8b576b) Co-authored-by: Fatih --- config.json | 7 +++---- preprocessor_config.json | 26 ++++++++++++++++++++++++++ pytorch_model.bin | 4 ++-- 3 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 preprocessor_config.json diff --git a/config.json b/config.json index b7bd194..155590b 100644 --- a/config.json +++ b/config.json @@ -1,10 +1,10 @@ { "architectures": [ - "TimeSformerForVideoClassification" + "TimesformerForVideoClassification" ], "attention_probs_dropout_prob": 0.0, "attention_type": "divided_space_time", - "drop_path_prob": 0, + "drop_path_rate": 0, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 768, @@ -1224,6 +1224,5 @@ "patch_size": 16, "qkv_bias": true, "torch_dtype": "float32", - "transformers_version": "4.23.0.dev0", - "use_mean_pooling": false + "transformers_version": "4.25.0.dev0" } diff --git a/preprocessor_config.json b/preprocessor_config.json new file mode 100644 index 0000000..05f8840 --- /dev/null +++ b/preprocessor_config.json @@ -0,0 +1,26 @@ +{ + "crop_size": { + "height": 224, + "width": 224 + }, + "do_center_crop": true, + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.5, + 0.5, + 0.5 + ], + "image_processor_type": "VideoMAEImageProcessor", + "image_std": [ + 0.5, + 0.5, + 0.5 + ], + "resample": 2, + "rescale_factor": 0.00392156862745098, + "size": { + "shortest_edge": 224 + } +} diff --git a/pytorch_model.bin b/pytorch_model.bin index 3705a29..5dbc18e 100644 --- a/pytorch_model.bin +++ b/pytorch_model.bin @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cc374df93d002aef750cc80325347593aed42b0660a3a1c413056339ea3d7861 -size 488792719 +oid sha256:199273d84d79cea619f71b3bcc8c2bdd5538e78420e7be19b8da15f46126d285 +size 488794801