Update 'simple_regression_lab8.py'
This commit is contained in:
parent
0559fd6038
commit
1d74959d77
@ -89,7 +89,7 @@ def train():
|
|||||||
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, 'lego-model', registered_model_name='TFLegoModel',
|
mlflow.keras.log_model(model, 'lego-model', registered_model_name='TFLegoModel',
|
||||||
signature=signature)
|
signature=signature, input_example=np.array(500))
|
||||||
else:
|
else:
|
||||||
mlflow.keras.log_model(model, 'model', signature=signature, input_example=np.array(500))
|
mlflow.keras.log_model(model, 'model', signature=signature, input_example=np.array(500))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user