Add model

This commit is contained in:
Niels Rogge 2022-02-28 18:07:47 +01:00
parent 861fa6d67f
commit aa18aa9330
2 changed files with 77 additions and 0 deletions

74
config.json Normal file
View File

@ -0,0 +1,74 @@
{
"architectures": [
"GLPNForDepthEstimation"
],
"attention_probs_dropout_prob": 0.0,
"channels_in": [
512,
320,
128
],
"channels_out": 64,
"classifier_dropout_prob": 0.1,
"decoder_hidden_size": 768,
"depths": [
3,
8,
27,
3
],
"downsampling_rates": [
1,
4,
8,
16
],
"drop_path_rate": 0.1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_sizes": [
64,
128,
320,
512
],
"image_size": 224,
"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,
5,
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.17.0.dev0"
}

3
pytorch_model.bin Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4af81361a781b769e612b7572ba5d789a3ddd956b3ccc579ff110cb8a47af408
size 245256425