Skip to content

Commit bf7c716

Browse files
committed
Save w/ loss name and epochs
1 parent 7b398d5 commit bf7c716

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

napari_cellseg3d/code_plugins/plugin_model_training.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,11 @@ def _set_worker_config(self) -> config.TrainingWorkerConfig:
879879
validation_percent = self.validation_percent_choice.slider_value / 100
880880

881881
results_path_folder = Path(
882-
self.results_path + f"/{model_config.name}_{utils.get_date_time()}"
882+
self.results_path
883+
+ f"/{model_config.name}_"
884+
+ f"{self.loss_choice.currentText()}_"
885+
+ f"{self.epoch_choice.value()}e_"
886+
+ f"{utils.get_date_time()}"
883887
)
884888
Path(results_path_folder).mkdir(
885889
parents=True, exist_ok=False

0 commit comments

Comments
 (0)