Skip to content

Commit

Permalink
Small WandB improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Achard committed Feb 26, 2024
1 parent 6df92a5 commit b8e36af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions napari_cellseg3d/code_models/worker_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,9 @@ def train(
wandb.init(
config=config_dict,
project="CellSeg3D",
name=f"{self.config.model_info.name}_training - {utils.get_date_time()}",
mode=self.wandb_config.mode,
tags=[f"{self.config.model_info.name}", "training"],
)

set_determinism(seed=self.config.deterministic_config.seed)
Expand Down Expand Up @@ -1117,6 +1119,8 @@ def train(
wandb.init(
config=config_dict,
project="CellSeg3D",
name=f"{model_config.name}_supervised_training - {utils.get_date_time()}",
tags=[f"{model_config.name}", "supervised"],
mode=self.wandb_config.mode,
)
except AttributeError:
Expand Down
2 changes: 2 additions & 0 deletions napari_cellseg3d/dev_scripts/colab_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ def train(
wandb.init(
config=config_dict,
project="CellSeg3D (Colab)",
name=f"{self.config.model_info.name} training - {utils.get_date_time()}",
mode=self.wandb_config.mode,
tags=["WNet", "Colab"],
)

set_determinism(seed=self.config.deterministic_config.seed)
Expand Down

0 comments on commit b8e36af

Please sign in to comment.