Add model registry
Some checks failed
s430705-training/pipeline/head There was a failure building this commit
Some checks failed
s430705-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
6549b4dc98
commit
d5d573f198
@ -86,7 +86,7 @@ with mlflow.start_run():
|
|||||||
|
|
||||||
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
|
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
|
||||||
if tracking_url_type_store != "file":
|
if tracking_url_type_store != "file":
|
||||||
mlflow.keras.log_model(model, "movies_imdb", registered_model_name="s430705", signature=signature,
|
mlflow.keras.log_model(model, "movies_imdb2", registered_model_name="s430705", signature=signature,
|
||||||
input_example=input_example)
|
input_example=input_example)
|
||||||
else:
|
else:
|
||||||
mlflow.keras.log_model(model, "model_movies", signature=signature, input_example=input_example)
|
mlflow.keras.log_model(model, "model_movies", signature=signature, input_example=input_example)
|
||||||
|
Loading…
Reference in New Issue
Block a user