updates
This commit is contained in:
parent
d25190e15b
commit
469dede6d1
2
train.py
2
train.py
|
@ -66,7 +66,7 @@ def train(
|
||||||
# Configure run
|
# Configure run
|
||||||
data_cfg = parse_data_cfg(data_cfg)
|
data_cfg = parse_data_cfg(data_cfg)
|
||||||
train_path = data_cfg['train']
|
train_path = data_cfg['train']
|
||||||
nc = data_cfg['classes'] # number of classes
|
nc = int(data_cfg['classes']) # number of classes
|
||||||
|
|
||||||
# Initialize model
|
# Initialize model
|
||||||
model = Darknet(cfg, img_size).to(device)
|
model = Darknet(cfg, img_size).to(device)
|
||||||
|
|
Loading…
Reference in New Issue