# 5-fold 交差検証(ややあり除外): 前任者の手法の比較.(1) ResNet34(tias-train cv)(SPEC_02「前任者の手法との比較」)
# 臨床データはサーバ上にのみ置く.手元ではこの設定で実行しない(手元用は configs/predecessor/synthetic/).
data:
bundle:
name: tongue_color
version: 3
severities: [strong, normal]
split:
seed: 42
n_folds: 5
model:
name: resnet34
pretrained: true
train:
image_size: 224
batch_size: 32
max_epochs: 200
patience: 50
lr: 1.285e-4
weight_decay: 1.0e-4
warmup_epochs: 0 # CosineAnnealing のみ
inner_val_ratio: 0.15 # 早期終了は内側の検証で行う(前任者はテストの損失)
num_workers: 4
amp: true
augmentation: # 色を変える拡張はこの比較の設定に限って明示的に有効にする(SPEC_02)
horizontal_flip_prob: 0.5
rotation_degrees: 5.0
scale_range: null
translate_ratio: 0.0
color_jitter:
brightness: 0.05
contrast: 0.05
saturation: 0.05
hue: 0.05