Skip to content

Commit

Permalink
update yolo.py default --cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jun 25, 2020
1 parent 227aa73 commit 9a9c4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def parse_model(md, ch): # model_dict, input_channels(3)

if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--cfg', type=str, default='yolov5m-p6.yaml', help='model.yaml')
parser.add_argument('--cfg', type=str, default='yolov5s.yaml', help='model.yaml')
parser.add_argument('--device', default='', help='cuda device, i.e. 0 or 0,1,2,3 or cpu')
opt = parser.parse_args()
opt.cfg = check_file(opt.cfg) # check file
Expand Down

0 comments on commit 9a9c4f1

Please sign in to comment.