Skip to content

Commit

Permalink
fix: testando correcao de nome de modelo
Browse files Browse the repository at this point in the history
  • Loading branch information
heltonricardo committed Dec 22, 2023
1 parent 17572e1 commit d445899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def train_model(model, X_train, y_train, is_train=True):
model.fit(X_train, y_train, epochs=50, validation_split=0.2, verbose=3)
if is_train:
run_uri = f"runs:/{run.info.run_id}"
mlflow.register_model(run_uri, os.getenv("MLFLOW_TRACKING_MODEL"))
mlflow.register_model(run_uri, "fetal_health")


if __name__ == "__main__":
Expand Down

0 comments on commit d445899

Please sign in to comment.