add torch.save model

This commit is contained in:
Sebastian Wałęsa 2022-05-06 19:23:57 +02:00
parent a955ecc7da
commit 8d5658d672

View File

@ -156,4 +156,4 @@ with open("result.txt", "w+") as file:
input_, target = val_ds[i]
file.write(str(predict_single(input_, target, model)))
torch.save(model, "Model_xPosition.pkl")