mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
consolidated location of output storage
This commit is contained in:
parent
d6562bfab9
commit
67fd184ac5
1 changed files with 1 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ def training(
|
|||
|
||||
if model_type == "autogluon":
|
||||
model_root = f"{target_column}-{hyperparameters['presets']}-{hyperparameters['time_limit']}-{TIMESTAMP}".lower()
|
||||
output_base = Path(MODEL_DIRECTORY) / target_column / model_type / model_root
|
||||
output_base = BASE_REGISTRY_PATH / target_column / model_type / model_root
|
||||
|
||||
model = AutogluonModel(
|
||||
output_filepath=output_base / MODEL_FOLDER
|
||||
|
|
@ -164,7 +164,6 @@ def training(
|
|||
# TODO: Need a model registry - for now have this as a CSV
|
||||
# Save this in the model directory
|
||||
logger.info("--- Append registry with new model ---")
|
||||
|
||||
registry_path = BASE_REGISTRY_PATH / target_column / REGISTRY_FILE
|
||||
|
||||
if registry_path.exists():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue