diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-02 21:13:48 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-08-02 21:13:48 +0200 |
commit | 75801019981492eedf9280cb352eea3d8e99b65f (patch) | |
tree | 6521cc4134459e42591b2375f70acd348741474e /training/conf/callbacks | |
parent | e5eca28438cd17d436359f2c6eee0bb9e55d2a8b (diff) |
Fix log import, fix mapping in datamodules, fix nn modules can be hashed
Diffstat (limited to 'training/conf/callbacks')
-rw-r--r-- | training/conf/callbacks/wandb.yaml | 20 | ||||
-rw-r--r-- | training/conf/callbacks/wandb/checkpoints.yaml | 4 | ||||
-rw-r--r-- | training/conf/callbacks/wandb/code.yaml | 3 | ||||
-rw-r--r-- | training/conf/callbacks/wandb/image_reconstructions.yaml | 0 | ||||
-rw-r--r-- | training/conf/callbacks/wandb/ocr_predictions.yaml | 3 | ||||
-rw-r--r-- | training/conf/callbacks/wandb/watch.yaml | 4 | ||||
-rw-r--r-- | training/conf/callbacks/wandb_ocr.yaml | 6 |
7 files changed, 20 insertions, 20 deletions
diff --git a/training/conf/callbacks/wandb.yaml b/training/conf/callbacks/wandb.yaml deleted file mode 100644 index 0017e11..0000000 --- a/training/conf/callbacks/wandb.yaml +++ /dev/null @@ -1,20 +0,0 @@ -defaults: - - default.yaml - -watch_model: - _target_: callbacks.wandb_callbacks.WatchModel - log: all - log_freq: 100 - -upload_code_as_artifact: - _target_: callbacks.wandb_callbacks.UploadCodeAsArtifact - project_dir: ${work_dir}/text_recognizer - -upload_ckpts_as_artifact: - _target_: callbacks.wandb_callbacks.UploadCheckpointsAsArtifact - ckpt_dir: checkpoints/ - upload_best_only: true - -log_text_predictions: - _target_: callbacks.wandb_callbacks.LogTextPredictions - num_samples: 8 diff --git a/training/conf/callbacks/wandb/checkpoints.yaml b/training/conf/callbacks/wandb/checkpoints.yaml new file mode 100644 index 0000000..a4a16ff --- /dev/null +++ b/training/conf/callbacks/wandb/checkpoints.yaml @@ -0,0 +1,4 @@ +upload_ckpts_as_artifact: + _target_: callbacks.wandb_callbacks.UploadCheckpointsAsArtifact + ckpt_dir: checkpoints/ + upload_best_only: true diff --git a/training/conf/callbacks/wandb/code.yaml b/training/conf/callbacks/wandb/code.yaml new file mode 100644 index 0000000..35f6ea3 --- /dev/null +++ b/training/conf/callbacks/wandb/code.yaml @@ -0,0 +1,3 @@ +upload_code_as_artifact: + _target_: callbacks.wandb_callbacks.UploadCodeAsArtifact + project_dir: ${work_dir}/text_recognizer diff --git a/training/conf/callbacks/wandb/image_reconstructions.yaml b/training/conf/callbacks/wandb/image_reconstructions.yaml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/training/conf/callbacks/wandb/image_reconstructions.yaml diff --git a/training/conf/callbacks/wandb/ocr_predictions.yaml b/training/conf/callbacks/wandb/ocr_predictions.yaml new file mode 100644 index 0000000..573fa96 --- /dev/null +++ b/training/conf/callbacks/wandb/ocr_predictions.yaml @@ -0,0 +1,3 @@ +log_text_predictions: + _target_: callbacks.wandb_callbacks.LogTextPredictions + num_samples: 8 diff --git a/training/conf/callbacks/wandb/watch.yaml b/training/conf/callbacks/wandb/watch.yaml new file mode 100644 index 0000000..511608c --- /dev/null +++ b/training/conf/callbacks/wandb/watch.yaml @@ -0,0 +1,4 @@ +watch_model: + _target_: callbacks.wandb_callbacks.WatchModel + log: all + log_freq: 100 diff --git a/training/conf/callbacks/wandb_ocr.yaml b/training/conf/callbacks/wandb_ocr.yaml new file mode 100644 index 0000000..efa3dda --- /dev/null +++ b/training/conf/callbacks/wandb_ocr.yaml @@ -0,0 +1,6 @@ +defaults: + - default + - wandb/watch + - wandb/code + - wandb/checkpoints + - wandb/ocr_predictions |