SIENTIAPDE-1312
Ensure model_temp_path directory exists before saving retrain data in MLFlowRepository
This commit is contained in:
@@ -768,6 +768,8 @@ class MLFlowRepository:
|
|||||||
|
|
||||||
data_path = f'{model_temp_path}/retrain_data.csv'
|
data_path = f'{model_temp_path}/retrain_data.csv'
|
||||||
|
|
||||||
|
makedirs(model_temp_path, exist_ok=True)
|
||||||
|
|
||||||
data.to_csv(data_path, index=True)
|
data.to_csv(data_path, index=True)
|
||||||
|
|
||||||
self.logger.custom_info(
|
self.logger.custom_info(
|
||||||
|
|||||||
Reference in New Issue
Block a user