Newer
Older
TongueSegModel / configs / synthetic-gpu.yaml
# サーバの GPU で合成データの学習を流すための設定(PLAN_02 のステップ 1-8 の確認用).
# configs/synthetic.yaml と同じ条件で,計算装置だけを GPU にする.GPU が使えなければ
# tsm-train が止まる(cpu に落ちて「GPU で回った」と誤認しないため).精度は意味を持たない.
# 合成データはサーバの remote_dir で scripts/make_synthetic_bundle.py を実行して data/synthetic/ に作り,
# 学習のジョブに TIASDATA_BUNDLES=data/synthetic を渡す(ENV_04「リモート実行」).

data:
  bundle:
    name: synthetic
    version: 1

model:
  # サーバでダウンロードを待たないよう,事前学習の重みは使わない
  pretrained: false

train:
  batch_size: 4
  max_epochs: 3
  early_stopping_patience: 2
  # tsm-remote が CUDA_VISIBLE_DEVICES で選んだ GPU 1 枚だけを見せるので,番号は付けない
  device: cuda