Download data/templates/instance_segmentation/2d_instance_segmentation.yaml from introvoyz045/CopilotJ: direct link, hf CLI and curl.
- Browser
- Download file 968 Bytes
-
https://huggingface.co/datasets/introvoyz045/CopilotJ/resolve/main/data/templates/instance_segmentation/2d_instance_segmentation.yaml
- Command line
-
hf download hf://datasets/introvoyz045/CopilotJ/data/templates/instance_segmentation/2d_instance_segmentation.yaml
-
curl -L -o 2d_instance_segmentation.yaml https://huggingface.co/datasets/introvoyz045/CopilotJ/resolve/main/data/templates/instance_segmentation/2d_instance_segmentation.yaml
968 Bytes
| # BiaPy 2D Instance Segmentation Template | |
| # This template is for 2D instance segmentation tasks | |
| # System configuration | |
| SYSTEM: | |
| SEED: 0 | |
| GPU: "0" | |
| NUM_WORKERS: 12 | |
| # Model configuration | |
| MODEL: | |
| ARCHITECTURE: "unet" | |
| LOAD_CHECKPOINT: false | |
| # Data configuration | |
| DATA: | |
| PATCH_SIZE: (256, 256, 1) | |
| TRAIN: | |
| PATH: "/path/to/data" | |
| GT_PATH: "/path/to/data" | |
| VAL: | |
| FROM_TRAIN: true | |
| SPLIT_TRAIN: 0.1 | |
| TEST: | |
| PATH: "/path/to/data" | |
| GT_PATH: "/path/to/data" | |
| LOAD_GT: true | |
| PADDING: (32, 32) | |
| # Training configuration | |
| TRAIN: | |
| ENABLE: true | |
| EPOCHS: 100 | |
| PATIENCE: 50 | |
| BATCH_SIZE: 8 | |
| OPTIMIZER: "ADAMW" | |
| LR: 1e-4 | |
| METRICS: ["iou"] | |
| # Test configuration | |
| TEST: | |
| ENABLE: true | |
| METRICS: ["iou"] | |
| MATCHING_STATS: true | |
| # Augmentation configuration | |
| AUGMENTOR: | |
| ENABLE: false | |
| DROPOUT: false | |
| GRIDMASK: false | |
| CUTBLUR: false | |
| CUTNOISE: false | |
| MOTION_BLUR: false | |
| # Paths configuration | |
| PATHS: | |
| CHECKPOINT_FILE: "" | |
| RESULT_DIR: results | |