You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
path=Path(configs.checkpoints) /configs.dataset_name/configs.model_name/configs.model_id/f"{configs.seq_len}_{configs.pred_len}"/configs.subfolder_train/f"iter{configs.itr_i}"# same as the one in Exp_Main.train()
29
+
path.mkdir(parents=True, exist_ok=True)
30
+
logger.info(f"Training iter{configs.itr_i} save to: {path}")
logger.error(f"No hyperparameter to be searched, stopping now..")
140
+
logger.debug(f"{configs.model_name} access these attributes in ExpConfigs:")
141
+
configs_tracker.print_access_report()
142
+
logger.debug("""Possible reasons: (1) The model does not access any hyperparameters in ExpConfigs; (2) The accessed hyperparameters have not set their metadata properly. Check the ExpConfigs class in utils/ExpConfigs.py. Example metadata setting:
143
+
d_model: int = field(metadata={"sweep": [32, 64, 128, 256]})""")
144
+
exit(0)
145
+
else:
146
+
logger.info(f"""{len(hyperparameters_sweep)} hyperparameters and {max_count} runs: \n{pprint.pformat(hyperparameters_sweep)}""")
0 commit comments