Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 22:04:22 +02:00
parent 7af611c9c3
commit c2f2ae949c

View File

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