diff --git a/ml_pytorch_mlflow.py b/ml_pytorch_mlflow.py index 69c8100..d979019 100644 --- a/ml_pytorch_mlflow.py +++ b/ml_pytorch_mlflow.py @@ -132,14 +132,17 @@ def my_main(epochs): expected = [] predicted = [] inputss = [] + targetss = [] for i in range(0, len(val_ds), 1): input_, target = val_ds[i] expected.append(float(target)) predicted.append(float(prediction(input_, model))) inputss.append(input_) - inputss = pd.DataFrame(inputss, dtype=np.float64) - inputss = inputss.to_numpy() + + inputss, targetss = val_ds + # inputss = pd.DataFrame(inputss, dtype=np.float64) + # inputss = inputss.to_numpy() MSE = mean_squared_error(expected, predicted) MAE = mean_absolute_error(expected, predicted)