cuibinge's picture
Align code with polygon-only training
dc8de42 verified
Raw
History Blame Contribute Delete
3.28 kB
{
"project_name": "Typical Marine Ecological Environment Feature Recognition",
"task": "registry_driven_marine_feature_recognition",
"design_principle": "Do not treat all future marine features as one closed multiclass problem.",
"registry": {
"root": "docs/registry",
"elements": "docs/registry/elements",
"satellites": "docs/registry/satellites",
"sensors": "docs/registry/sensors",
"resolutions": "docs/registry/resolutions",
"profile_composer": "scripts/compose_task_profile.py",
"profile_output_dir": "configs/profiles"
},
"input": {
"supported_patch_sizes": [128, 256, 512, 1024],
"default_train_size": 256,
"default_bands": ["blue", "green", "red", "nir"],
"preserve_sensor_metadata": true,
"preserve_resolution_metadata": true,
"allow_fused_products": true,
"allow_runtime_pan_mss_fusion": true,
"fusion_manifest_object_required": true
},
"model": {
"shared_encoder": {
"type": "dinov3_vitl16",
"pretrained_weight_root": "D:/DINOv3预训练权重"
},
"neck": {
"type": "fpn_pan",
"multi_scale_features": true
},
"head_registry": {
"validity": {
"type": "binary_segmentation",
"labels": ["valid", "invalid"]
},
"scene_context": {
"type": "semantic_segmentation",
"seed_labels": ["water", "land", "cloud_shadow", "other"]
},
"semantic_element": {
"type": "open_element_segmentation",
"labels_from": "selected element cards"
},
"instance_element": {
"type": "instance_segmentation",
"enabled_when": "element card includes instance_segmentation"
},
"polygon_element": {
"type": "sampoly_style_polygon_extraction",
"enabled_when": "element card includes polygon_extraction"
},
"anomaly_or_change": {
"type": "optional",
"enabled_when": "element card requests anomaly_detection or change_detection"
}
}
},
"fusion": {
"states": ["none", "fused_product", "runtime_fusion", "unknown"],
"required_manifest_fields": [
"state",
"method",
"sources",
"target_resolution_m",
"native_multispectral_resolution_m",
"persisted",
"reproducible",
"spectral_preservation"
],
"tile_runtime_policy": {
"perform_fusion_before_model_forward": true,
"avoid_full_scene_fused_raster_when_possible": true,
"use_overlap_weighted_inference": true,
"record_fusion_method_in_outputs": true
}
},
"loss": {
"ignore_index": 255,
"validity_weight": 0.3,
"scene_context_weight": 0.5,
"element_task_weight": 1.0,
"unlabeled_elements_are_ignore_not_negative": true
},
"dataset": {
"manifest": "data_marine_features/manifests/samples.jsonl",
"do_not_assume_external_land_or_coastline_mask": true,
"preserve_native_resolution_metadata": true,
"preserve_native_patch_size_metadata": true,
"preserve_fusion_metadata": true
},
"seed_context_labels": [
"invalid",
"water",
"land",
"cloud_shadow",
"other"
],
"seed_element_cards": [
"green_tide",
"red_tide",
"golden_tide",
"aquaculture",
"ship",
"oil_spill",
"sea_ice"
]
}