Upload tiny models for GLPNForDepthEstimation

This commit is contained in:
Yih-Dar SHIEH 2022-11-23 19:15:55 +00:00
parent 1ef4acb4e9
commit 32ca1c1ef5
3 changed files with 74 additions and 0 deletions

62
config.json Normal file
View File

@ -0,0 +1,62 @@
{
"architectures": [
"GLPNForDepthEstimation"
],
"attention_probs_dropout_prob": 0.1,
"decoder_hidden_size": 16,
"depths": [
2,
2,
2,
2
],
"drop_path_rate": 0.1,
"head_in_index": -1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_sizes": [
16,
32,
64,
128
],
"image_size": 64,
"initializer_range": 0.02,
"layer_norm_eps": 1e-06,
"max_depth": 10,
"mlp_ratios": [
4,
4,
4,
4
],
"model_type": "glpn",
"num_attention_heads": [
1,
2,
4,
8
],
"num_channels": 3,
"num_encoder_blocks": 4,
"patch_sizes": [
7,
3,
3,
3
],
"sr_ratios": [
8,
4,
2,
1
],
"strides": [
4,
2,
2,
2
],
"torch_dtype": "float32",
"transformers_version": "4.25.0.dev0"
}

9
preprocessor_config.json Normal file
View File

@ -0,0 +1,9 @@
{
"crop_size": 64,
"do_rescale": true,
"do_resize": true,
"image_processor_type": "GLPNImageProcessor",
"resample": 2,
"size": 64,
"size_divisor": 32
}

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

Binary file not shown.