Zaktualizuj 'train-sacred.py'

This commit is contained in:
Kornelia Girejko 2022-05-08 19:27:06 +02:00
parent d6a01d0b4c
commit 51428cd44e

View File

@ -77,7 +77,7 @@ optimizer = torch.optim.SGD(model.parameters(), lr=0.01)
@ex.automain
def my_main(epochs):
# Trening
epochs = EPOCHS
epochs = EPOCHS
for epochs in range(epochs):
y_predicted = model(X_training)
loss = criterion(y_predicted,y_training)