Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 22:05:36 +02:00
parent c2f2ae949c
commit 1a8e3002e0

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, "model_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)