File size: 1,401 Bytes
1b0973e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "architectures": [
    "InkEraserModel"
  ],
  "model_type": "unet_plus_plus",
  "encoder_name": "resnet50",
  "encoder_weights": "imagenet",
  "in_channels": 3,
  "classes": 1,
  "decoder_attention_type": "scse",
  "activation": "sigmoid",
  "framework": "pytorch-lightning",
  "task": "binary-segmentation",
  "input_normalization": {
    "mean": [
      0.485,
      0.456,
      0.406
    ],
    "std": [
      0.229,
      0.224,
      0.225
    ],
    "max_pixel_value": 255.0
  },
  "training_config": {
    "optimizer": "AdamW",
    "lr": 3e-05,
    "weight_decay": 1e-05,
    "loss": {
      "dice_weight": 0.8,
      "bce_weight": 0.2,
      "bce_pos_weight": 2.0,
      "dice_from_logits": true
    },
    "metrics": [
      "iou_03",
      "iou_05",
      "f1_03",
      "f1_05"
    ],
    "scheduler": {
      "name": "ReduceLROnPlateau",
      "mode": "max",
      "monitor": "val_iou_05",
      "factor": 0.5,
      "patience": 2,
      "min_lr": 1e-07
    },
    "train": {
      "batch_size": 6,
      "crop_size": 1024,
      "accumulate_grad_batches": 4,
      "precision": "bf16-mixed",
      "max_epochs": 200,
      "min_epochs": 5
    }
  },
  "inference": {
    "sliding_window": {
      "tile": 1024,
      "stride": 768,
      "tta_hflip": true
    }
  },
  "description": "ExamInk-Seg 二值墨迹分割模型(U-Net++ + ResNet50 编码器)。",
  "license": "MIT"
}