Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
added some logs
  • Loading branch information
Aman123lug authored Aug 28, 2023
1 parent d5dd3d5 commit c820065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def training(self, path:Path):

signature = infer_signature(X_train, y_pred)
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
logger.info(f" MLflow log_metric saved !")

# Model registry does not work with file store
if tracking_url_type_store != "file":
Expand Down

0 comments on commit c820065

Please sign in to comment.