improve configs

This commit is contained in:
hobogalaxy committed 2021-01-10 21:12:14 +01:00
1 parent 90174d52c4
commit fbe2464426
14 files changed
+74 -62

No files matched your search

+7 -13
View File
@@ -1,24 +1,18 @@
# @package _group_
defaults:
- default_callbacks.yaml
save_best_metric_scores_to_wandb:
class: "pytorch_modules.lightning_callbacks.wandb_callbacks.SaveBestMetricScoresToWandb"
class: pytorch_modules.lightning_callbacks.wandb_callbacks.SaveBestMetricScoresToWandb
args: {}
save_code_to_wandb_as_artifact:
class: "pytorch_modules.lightning_callbacks.wandb_callbacks.SaveCodeToWandb"
class: pytorch_modules.lightning_callbacks.wandb_callbacks.SaveCodeToWandb
args:
code_dir: ${work_dir}/
save_confusion_matrix_to_wandb:
class: "pytorch_modules.lightning_callbacks.wandb_callbacks.SaveConfusionMatrixToWandb"
args:
class_names: ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9')
save_f1_heatmap_to_wandb:
class: "pytorch_modules.lightning_callbacks.wandb_callbacks.SaveMetricsHeatmapToWandb"
upload_ckpts_to_wandb_as_artifact:
class: pytorch_modules.lightning_callbacks.wandb_callbacks.UploadAllCheckpointsToWandb
args:
class_names: ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9')
ckpt_dir: "checkpoints/"
upload_best_only: True