Zaktualizuj 'ml_pytorch_mlflow.py'

This commit is contained in:
Sebastian Wałęsa 2022-05-15 22:10:19 +02:00
parent 41f8394f8f
commit 3c89fb0523

View File

@ -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)