_target_: lightning.pytorch.Trainer
fast_dev_run: True
detect_anomaly: ${trainer.fast_dev_run}
max_epochs: 60
# accumulate_grad_batches: 2
gradient_clip_val: 1.
callbacks:
  - _target_: lightning.pytorch.callbacks.ModelCheckpoint
    dirpath: ${path_checkpoint}
    filename: '{epoch:03d}'  # -{val_total_loss:.2f}
    monitor: val_total_loss
    save_top_k: -1
  # - _target_: lightning.pytorch.callbacks.EarlyStopping
  #   monitor: val_loss_noise
  #   patience: 5
  #   min_delta: 0.1