From a65d3ec18a5541cec5297769f1027422975a62bc Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 3 Sep 2023 01:13:37 +0200 Subject: Update confs and callbacks --- training/conf/callbacks/wandb/captions.yaml | 2 +- training/conf/callbacks/wandb/checkpoints.yaml | 4 ---- training/conf/callbacks/wandb/swa.yaml | 7 ------- 3 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 training/conf/callbacks/wandb/checkpoints.yaml delete mode 100644 training/conf/callbacks/wandb/swa.yaml (limited to 'training/conf/callbacks/wandb') diff --git a/training/conf/callbacks/wandb/captions.yaml b/training/conf/callbacks/wandb/captions.yaml index 3215a90..64f44c2 100644 --- a/training/conf/callbacks/wandb/captions.yaml +++ b/training/conf/callbacks/wandb/captions.yaml @@ -1,4 +1,4 @@ log_text_predictions: - _target_: callbacks.wandb.ImageToCaptionLogger + _target_: callbacks.wandb.ImageToCaption num_samples: 8 on_train: true diff --git a/training/conf/callbacks/wandb/checkpoints.yaml b/training/conf/callbacks/wandb/checkpoints.yaml deleted file mode 100644 index b9a3fd7..0000000 --- a/training/conf/callbacks/wandb/checkpoints.yaml +++ /dev/null @@ -1,4 +0,0 @@ -upload_ckpts_as_artifact: - _target_: callbacks.wandb.UploadCheckpointsAsArtifact - ckpt_dir: checkpoints/ - upload_best_only: true diff --git a/training/conf/callbacks/wandb/swa.yaml b/training/conf/callbacks/wandb/swa.yaml deleted file mode 100644 index 73f8c66..0000000 --- a/training/conf/callbacks/wandb/swa.yaml +++ /dev/null @@ -1,7 +0,0 @@ -stochastic_weight_averaging: - _target_: pytorch_lightning.callbacks.StochasticWeightAveraging - swa_epoch_start: 0.8 - swa_lrs: 0.05 - annealing_epochs: 10 - annealing_strategy: cos - device: null -- cgit v1.2.3-70-g09d2