Zaktualizuj 'ml_pytorch_mlflow.py'

This commit is contained in:
Sebastian Wałęsa 2022-05-15 22:38:13 +02:00
parent 94cf57b262
commit cf99fea676

View File

@ -137,7 +137,7 @@ def my_main(epochs):
predicted.append(float(prediction(input_, model))) predicted.append(float(prediction(input_, model)))
inputs.append(input_.numpy()) inputs.append(input_.numpy())
inputs = inputs.numpy() inputs = inputs.asarray()
MSE = mean_squared_error(expected, predicted) MSE = mean_squared_error(expected, predicted)
MAE = mean_absolute_error(expected, predicted) MAE = mean_absolute_error(expected, predicted)