Zaktualizuj 'train-sacred.py'
This commit is contained in:
parent
d6a01d0b4c
commit
51428cd44e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user