Update 'simple_regression_lab8.py'
Some checks failed
s449288-evaluation/pipeline/head There was a failure building this commit
s449288-training/pipeline/head There was a failure building this commit

This commit is contained in:
Kacper Dudzic 2022-05-13 10:40:03 +02:00
parent 14c5aacb08
commit 59b8d51165

View File

@ -112,7 +112,7 @@ def train(epochs, units, learning_rate, _run):
mlflow.keras.log_model(model, 'lego-model', registered_model_name='TFLegoModel',
signature=signature)
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