Upload tiny models for VideoMAEForVideoClassification

This commit is contained in:
Yih-Dar SHIEH 2022-11-23 20:07:47 +00:00
parent 551f067365
commit d3f7434083
3 changed files with 58 additions and 0 deletions

29
config.json Normal file
View File

@ -0,0 +1,29 @@
{
"architectures": [
"VideoMAEForVideoClassification"
],
"attention_probs_dropout_prob": 0.1,
"decoder_hidden_size": 384,
"decoder_intermediate_size": 1536,
"decoder_num_attention_heads": 6,
"decoder_num_hidden_layers": 4,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 32,
"image_size": 10,
"initializer_range": 0.02,
"intermediate_size": 37,
"layer_norm_eps": 1e-12,
"model_type": "videomae",
"norm_pix_loss": true,
"num_attention_heads": 4,
"num_channels": 3,
"num_frames": 2,
"num_hidden_layers": 5,
"patch_size": 2,
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.25.0.dev0",
"tubelet_size": 2,
"use_mean_pooling": true
}

26
preprocessor_config.json Normal file
View File

@ -0,0 +1,26 @@
{
"crop_size": {
"height": 10,
"width": 10
},
"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": 10
}
}

BIN
pytorch_model.bin (Stored with Git LFS) Normal file

Binary file not shown.