Panda-Semantic / config.json
youngsm's picture
pimm export (config.json)
61009ee verified
Raw
History Blame Contribute Delete
1.65 kB
{
"model": {
"type": "DefaultSegmentorV2",
"num_classes": 5,
"backbone_out_channels": 64,
"freeze_backbone": false,
"backbone": {
"type": "PT-v3m2",
"in_channels": 4,
"order": [
"hilbert",
"hilbert-trans",
"z",
"z-trans"
],
"stride": [
2,
2,
2,
2
],
"enc_depths": [
3,
3,
3,
9,
3
],
"enc_channels": [
48,
96,
192,
384,
512
],
"enc_num_head": [
3,
6,
12,
24,
32
],
"enc_patch_size": [
256,
256,
256,
256,
256
],
"dec_depths": [
2,
2,
2,
2
],
"dec_channels": [
64,
96,
192,
384
],
"dec_num_head": [
4,
6,
12,
24
],
"dec_patch_size": [
256,
256,
256,
256
],
"mlp_ratio": 4,
"qkv_bias": true,
"qk_scale": null,
"layer_scale": 0.0,
"attn_drop": 0.0,
"proj_drop": 0.0,
"drop_path": 0.3,
"shuffle_orders": true,
"pre_norm": true,
"enable_rpe": false,
"enable_flash": true,
"upcast_attention": false,
"upcast_softmax": false,
"traceable": false,
"mask_token": false,
"enc_mode": false,
"freeze_encoder": false
},
"criteria": [
{
"type": "CrossEntropyLoss",
"loss_weight": 1.0,
"ignore_index": -1
}
]
}
}