diff --git a/ml_pytorch_mlflow.py b/ml_pytorch_mlflow.py index 22050c6..e1d84d7 100644 --- a/ml_pytorch_mlflow.py +++ b/ml_pytorch_mlflow.py @@ -135,7 +135,7 @@ def my_main(epochs): input_, target = val_ds[i] expected.append(float(target)) predicted.append(float(prediction(input_, model))) - inputs.append(input_.to_numpy()) + inputs.append(input_.numpy()) MSE = mean_squared_error(expected, predicted) MAE = mean_absolute_error(expected, predicted)