| { | |
| "model": { | |
| "type": "detector-v4", | |
| "labels": [ | |
| "particle" | |
| ], | |
| "num_queries": 32, | |
| "num_classes": 6, | |
| "use_stuff_head": true, | |
| "stuff_classes": [ | |
| 5 | |
| ], | |
| "mlp_point_proj": true, | |
| "full_in_channels": 1232, | |
| "hidden_channels": 256, | |
| "num_heads": 16, | |
| "depth": 3, | |
| "mlp_ratio": 4.0, | |
| "qkv_bias": true, | |
| "qk_scale": null, | |
| "layer_scale": null, | |
| "pre_norm": true, | |
| "query_type": "learned", | |
| "pos_emb": true, | |
| "supervise_attn_mask": true, | |
| "enable_flash": false, | |
| "upcast_attention": false, | |
| "upcast_softmax": 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": 1e-05, | |
| "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": true, | |
| "freeze_encoder": false | |
| }, | |
| "criteria": [ | |
| { | |
| "type": "FastUnifiedInstanceLoss", | |
| "cost_mask": 1.0, | |
| "cost_dice": 1.0, | |
| "cost_class": 1.0, | |
| "loss_weight_focal": 2.0, | |
| "loss_weight_dice": 5.0, | |
| "cls_weight_matched": 2.0, | |
| "cls_weight_noobj": 0.5, | |
| "focal_alpha": 0.25, | |
| "focal_gamma": 2.0, | |
| "aux_loss_weight": 1.0, | |
| "num_points": 100000, | |
| "truth_label": "instance", | |
| "noobj_mask_loss_weight": 0.0 | |
| } | |
| ] | |
| } | |
| } | |