diff --git a/ml_pytorch_mlflow.py b/ml_pytorch_mlflow.py index cf3dd1e..ca70e78 100644 --- a/ml_pytorch_mlflow.py +++ b/ml_pytorch_mlflow.py @@ -137,7 +137,7 @@ def my_main(epochs): predicted.append(float(prediction(input_, model))) inputs.append(input_.numpy()) - inputs = inputs.asarray() + inputs = inputs.array() MSE = mean_squared_error(expected, predicted) MAE = mean_absolute_error(expected, predicted)