File size: 3,229 Bytes
981e8f4 |
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 |
{
"module": "keras_hub.src.models.segformer.segformer_image_segmenter",
"class_name": "SegFormerImageSegmenter",
"config": {
"backbone": {
"module": "keras_hub.src.models.segformer.segformer_backbone",
"class_name": "SegFormerBackbone",
"config": {
"name": "seg_former_backbone",
"trainable": true,
"projection_filters": 768,
"image_encoder": {
"module": "keras_hub.src.models.mit.mit_backbone",
"class_name": "MiTBackbone",
"config": {
"name": "mi_t_backbone",
"trainable": true,
"layerwise_depths": [
3,
4,
18,
3
],
"hidden_dims": [
64,
128,
320,
512
],
"image_shape": [
512,
512,
3
],
"num_layers": 4,
"layerwise_num_heads": [
1,
2,
5,
8
],
"layerwise_sr_ratios": [
8,
4,
2,
1
],
"max_drop_path_rate": 0.1,
"layerwise_patch_sizes": [
7,
3,
3,
3
],
"layerwise_strides": [
4,
2,
2,
2
]
},
"registered_name": "keras_hub>MiTBackbone"
}
},
"registered_name": "keras_hub>SegFormerBackbone"
},
"preprocessor": {
"module": "keras_hub.src.models.segformer.segformer_image_segmenter_preprocessor",
"class_name": "SegFormerImageSegmenterPreprocessor",
"config": {
"name": "seg_former_image_segmenter_preprocessor",
"trainable": true,
"dtype": {
"module": "keras",
"class_name": "DTypePolicy",
"config": {
"name": "float32"
},
"registered_name": null
},
"config_file": "preprocessor.json"
},
"registered_name": "keras_hub>SegFormerImageSegmenterPreprocessor"
},
"name": "seg_former_image_segmenter",
"num_classes": 150
},
"registered_name": "keras_hub>SegFormerImageSegmenter"
} |