Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 553bcb1

Browse files
committed
undo fancy argparse changes
1 parent f16e9c6 commit 553bcb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/training.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
from wandb.fastai import WandbCallback
1515

1616

17-
def train_model(dataset, config):
17+
def train_model(dataset):
1818
""" Trains a DynamicUnet on the dataset """
1919

20-
epochs = config["epochs"]
21-
lr = config["lr"]
20+
epochs = 15
21+
lr = 1e-4
2222
size = 300
2323
wd = 1e-2
2424
bs = 8 # reduce this if you are running out of GPU memory

0 commit comments

Comments
 (0)