We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8022b35 commit 6267cd1Copy full SHA for 6267cd1
src/weathergen/train/trainer.py
@@ -78,6 +78,8 @@ def init(
78
cf = self.init_streams(cf, run_id_contd)
79
80
# create output directory
81
+ cf.run_path = cf.run_path if hasattr(cf, "run_path") else "./results"
82
+ cf.model_path = cf.model_path if hasattr(cf, "model_path") else "./models"
83
path_run = Path(cf.run_path) / cf.run_id
84
path_model = Path(cf.model_path) / cf.run_id
85
if self.cf.rank == 0:
0 commit comments