Zaktualizuj 'train-mlflow.py'
This commit is contained in:
parent
7c45c9b09b
commit
9626387f5d
@ -75,7 +75,7 @@ model = Model()
|
||||
criterion = nn.BCELoss()
|
||||
optimizer = torch.optim.SGD(model.parameters(), lr=0.01)
|
||||
|
||||
epochs = EPOCHS
|
||||
epochs = int(sys.argv[1]) if len(sys.argv) > 1 else 20
|
||||
|
||||
def my_main(epochs):
|
||||
# Trening
|
||||
|
Loading…
Reference in New Issue
Block a user