Skip to content

Commit

Permalink
fix: tentativa de correcao de variavel
Browse files Browse the repository at this point in the history
  • Loading branch information
heltonricardo committed Dec 27, 2023
1 parent fa2b786 commit 640d58b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ def config_mlflow():
None
"""

os.environ['MLFLOW_TRACKING_USERNAME'] = os.getenv("MLFLOW_TRACKING_USERNAME")
os.environ['MLFLOW_TRACKING_PASSWORD'] = os.getenv("MLFLOW_TRACKING_PASSWORD")
mlflow.set_tracking_uri(os.getenv("MLFLOW_TRACKING_URI"))
mlflow.tensorflow.autolog(
log_models=True, log_input_examples=True, log_model_signatures=True
Expand Down

0 comments on commit 640d58b

Please sign in to comment.