# 手元確認用: 合成バンドル(scripts/make_synthetic_bundle.py)で前任者の手法の比較を通す設定.CPU で動くよう小さくしてある.
# TIASDATA_BUNDLES=data/synthetic_bundles を付けて実行する.
data:
bundle:
name: tongue_color_synthetic # 実データ(tongue_color)とは別の名前.サーバで動かしても実データを読まない
version: 3
severities: [strong, mild, normal]
split:
seed: 42
n_folds: 5
model:
name: resnet34
pretrained: false
train:
image_size: 64
batch_size: 8
max_epochs: 2
patience: 50
lr: 1.285e-4
weight_decay: 1.0e-4
warmup_epochs: 0 # CosineAnnealing のみ
inner_val_ratio: 0.15 # 早期終了は内側の検証で行う(前任者はテストの損失)
num_workers: 0
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