From 3c89fb05235a26bf6e906c23a5bcdce0c8ecffbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wa=C5=82=C4=99sa?= Date: Sun, 15 May 2022 22:10:19 +0200 Subject: [PATCH] Zaktualizuj 'ml_pytorch_mlflow.py' --- ml_pytorch_mlflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ml_pytorch_mlflow.py b/ml_pytorch_mlflow.py index ed3796f..22050c6 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_) + inputs.append(input_.to_numpy()) MSE = mean_squared_error(expected, predicted) MAE = mean_absolute_error(expected, predicted)