added code
This commit is contained in:
@@ -9,9 +9,9 @@ def get_model_config(base_config: dict,
|
||||
base_result_dir: str,
|
||||
dataset_base_dir: str):
|
||||
# get config identifier
|
||||
# name_for_current_config = base_config["model_name"] + "_" + get_config_id(base_config)
|
||||
date_part = datetime.now().strftime("%Y_%m_%d_%H_%M")
|
||||
name_for_current_config = base_config["model_name"] + "_" + date_part
|
||||
name_for_current_config = base_config["model_name"] + "_" + get_config_id(base_config)
|
||||
# date_part = datetime.now().strftime("%Y_%m_%d_%H_%M")
|
||||
# name_for_current_config = base_config["model_name"] + "_" + date_part
|
||||
model_dir = os.path.abspath(f"{base_result_dir}/{name_for_current_config}")
|
||||
if not os.path.exists(model_dir):
|
||||
# create config
|
||||
|
||||
Reference in New Issue
Block a user