Skip to content

Commit 298e133

Browse files
authored
fix: Fixed bug when apply yolo model (#22)
#21
1 parent 397e5f4 commit 298e133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yolo/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import argparse
33

44
def main(opt):
5-
model = YOLO()
5+
model = YOLO(opt.model)
66
model.train(cfg='./custom.yaml', **vars(opt))
77

88
def parse_opt():

0 commit comments

Comments
 (0)