Zaktualizuj 'train-sacred.py'

This commit is contained in:
Kornelia Girejko 2022-05-08 19:25:22 +02:00
parent 0a91ce58df
commit 8c362daa7f

View File

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