Zaktualizuj 'ml_pytroch_sacred.py'
This commit is contained in:
parent
d425c6b0ee
commit
391c7e5d59
@ -123,3 +123,5 @@ def my_main(epochs):
|
|||||||
for i in range(0, len(val_ds), 1):
|
for i in range(0, len(val_ds), 1):
|
||||||
input_, target = val_ds[i]
|
input_, target = val_ds[i]
|
||||||
file.write(str(predict_single(input_, target, model)))
|
file.write(str(predict_single(input_, target, model)))
|
||||||
|
|
||||||
|
torch.save(model, "Model_xPosition.pkl")
|
Loading…
Reference in New Issue
Block a user