File size: 2,646 Bytes
b4eda9f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | {
"architectures": [
"Sapiens2ForSemanticSegmentation"
],
"attention_dropout": 0.0,
"attention_probs_dropout_prob": 0.1,
"drop_path_rate": 0.0,
"dtype": "float32",
"flip_pairs": [
[
1,
2
],
[
3,
4
]
],
"head_config": {
"_name_or_path": "",
"architectures": null,
"chunk_size_feed_forward": 0,
"conv_kernel_size": 1,
"conv_kernel_sizes": [
1,
1,
1
],
"conv_out_channels": [
4,
4,
4
],
"dtype": null,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"model_type": "sapiens2_head",
"output_attentions": false,
"output_hidden_states": false,
"problem_type": null,
"return_dict": true,
"scale_conv_kernel_size": 1,
"scale_conv_kernel_sizes": [
1,
1,
1
],
"scale_conv_out_channels": [
8,
4,
4
],
"scale_final_hidden_sizes": [
8,
4
],
"scale_final_input_size": 16,
"upsample_kernel_size": 4,
"upsample_kernel_sizes": [
4,
4,
4,
4
],
"upsample_out_channels": [
8,
4,
4,
4
],
"use_pixel_shuffle": null
},
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 32,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1",
"2": "LABEL_2",
"3": "LABEL_3"
},
"image_size": 30,
"initializer_range": 0.02,
"intermediate_size": 37,
"is_decoder": false,
"key_bias": true,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_2": 2,
"LABEL_3": 3
},
"layerscale_value": 1.0,
"mlp_bias": true,
"model_type": "sapiens2",
"normalize_backbone_outputs": true,
"num_attention_heads": 4,
"num_channels": 3,
"num_first_full_attention_layers": 8,
"num_hidden_layers": 2,
"num_key_value_attention_heads": 8,
"num_key_value_heads_per_layer": [
4,
4
],
"num_last_full_attention_layers": 8,
"num_register_tokens": 2,
"out_features": [
"stem",
"stage1"
],
"out_indices": [
0,
1
],
"patch_size": 2,
"pos_embed_jitter": null,
"pos_embed_rescale": 2.0,
"pos_embed_shift": null,
"proj_bias": true,
"query_bias": true,
"reshape_hidden_states": true,
"rms_norm_eps": 1e-06,
"rope_theta": 100.0,
"semantic_loss_ignore_index": 255,
"stage_names": [
"stem",
"stage1",
"stage2"
],
"transformers_version": "5.16.0.dev0",
"use_gated_mlp": true,
"use_mask_token": false,
"use_qk_norm": true,
"value_bias": true
}
|