Add model

This commit is contained in:
Niels Rogge 2022-02-27 20:47:59 +01:00
parent 4e285a743f
commit f35eb8cfcb
3 changed files with 76 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

73
config.json Normal file
View File

@ -0,0 +1,73 @@
{
"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,
"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:b0beac8b49b54285591bdd569bdcfa32021f981d33d018c52bdd67a625fefd06
size 245256425