Zaktualizuj 'ml_pytorch_mlflow.py'

This commit is contained in:
Sebastian Wałęsa 2022-05-15 22:27:34 +02:00
parent f48aa6eb30
commit d2957497d7

View File

@ -135,6 +135,7 @@ def my_main(epochs):
input_, target = val_ds[i] input_, target = val_ds[i]
expected.append(float(target)) expected.append(float(target))
predicted.append(float(prediction(input_, model))) predicted.append(float(prediction(input_, model)))
input_ = pd.array(input_)
inputs.append(input_.numpy()) inputs.append(input_.numpy())
inputs = pd.DataFrame(inputs) inputs = pd.DataFrame(inputs)