Update 'simple_regression_lab8.py'
This commit is contained in:
parent
14c5aacb08
commit
59b8d51165
@ -112,7 +112,7 @@ def train(epochs, units, learning_rate, _run):
|
|||||||
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)
|
||||||
else:
|
else:
|
||||||
mlflow.keras.log_model(model, 'model', signature=signature, input_example=500)
|
mlflow.keras.log_model(model, 'model', signature=signature, input_example=np.array(500))
|
||||||
|
|
||||||
|
|
||||||
@ex.automain
|
@ex.automain
|
||||||
|
Loading…
Reference in New Issue
Block a user