add int
This commit is contained in:
parent
3033b4db86
commit
87fe38d3d1
@ -149,7 +149,7 @@ def fit(epochs, lr, model, train_loader, val_loader, opt_func=torch.optim.SGD):
|
||||
# In[12]:
|
||||
|
||||
|
||||
epochs = sys.argv[1]
|
||||
epochs = int(sys.argv[1])
|
||||
lr = 1e-6
|
||||
history5 = fit(epochs, lr, model, train_loader, val_loader)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user