Upload tiny models for BeitForImageClassification
This commit is contained in:
parent
35275470b5
commit
e997587bb8
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"architectures": [
|
||||
"BeitForImageClassification"
|
||||
],
|
||||
"attention_probs_dropout_prob": 0.1,
|
||||
"auxiliary_channels": 256,
|
||||
"auxiliary_concat_input": false,
|
||||
"auxiliary_loss_weight": 0.4,
|
||||
"auxiliary_num_convs": 1,
|
||||
"drop_path_rate": 0.1,
|
||||
"hidden_act": "gelu",
|
||||
"hidden_dropout_prob": 0.1,
|
||||
"hidden_size": 32,
|
||||
"image_size": 30,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 37,
|
||||
"layer_norm_eps": 1e-12,
|
||||
"layer_scale_init_value": 0.1,
|
||||
"model_type": "beit",
|
||||
"num_attention_heads": 4,
|
||||
"num_channels": 3,
|
||||
"num_hidden_layers": 4,
|
||||
"out_indices": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3
|
||||
],
|
||||
"patch_size": 2,
|
||||
"pool_scales": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
6
|
||||
],
|
||||
"semantic_loss_ignore_index": 255,
|
||||
"torch_dtype": "float32",
|
||||
"transformers_version": "4.25.0.dev0",
|
||||
"use_absolute_position_embeddings": false,
|
||||
"use_auxiliary_head": true,
|
||||
"use_mask_token": false,
|
||||
"use_mean_pooling": true,
|
||||
"use_relative_position_bias": false,
|
||||
"use_shared_relative_position_bias": false,
|
||||
"vocab_size": 100
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"crop_size": {
|
||||
"height": 30,
|
||||
"width": 30
|
||||
},
|
||||
"do_center_crop": true,
|
||||
"do_normalize": true,
|
||||
"do_reduce_labels": false,
|
||||
"do_rescale": true,
|
||||
"do_resize": true,
|
||||
"image_mean": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"image_processor_type": "BeitImageProcessor",
|
||||
"image_std": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"resample": 3,
|
||||
"rescale_factor": 0.00392156862745098,
|
||||
"size": {
|
||||
"height": 30,
|
||||
"width": 30
|
||||
}
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue