Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 15:22:19 +02:00
parent 9e91e88678
commit c1f60f6b38

View File

@ -111,7 +111,7 @@ def my_main(epochs):
input_example=input_example)
else:
mlflow.pytorch.log_model(model, "model", signature=siganture, input_example=input_example)
mlflow.pytorch.save_model(model, "model", signature=siganture, input_example=input_example)
mlflow.pytorch.save_model(model, "modelM", signature=siganture, input_example=input_example)
rmse = mean_squared_error(y_testing, y_predicted)
#print(rmse)