glenn-jocher commited on
Commit
9a9c4f1
1 Parent(s): 227aa73

update yolo.py default --cfg

Browse files
Files changed (1) hide show
  1. models/yolo.py +1 -1
models/yolo.py CHANGED
@@ -207,7 +207,7 @@ def parse_model(md, ch): # model_dict, input_channels(3)
207
 
208
  if __name__ == '__main__':
209
  parser = argparse.ArgumentParser()
210
- parser.add_argument('--cfg', type=str, default='yolov5m-p6.yaml', help='model.yaml')
211
  parser.add_argument('--device', default='', help='cuda device, i.e. 0 or 0,1,2,3 or cpu')
212
  opt = parser.parse_args()
213
  opt.cfg = check_file(opt.cfg) # check file
 
207
 
208
  if __name__ == '__main__':
209
  parser = argparse.ArgumentParser()
210
+ parser.add_argument('--cfg', type=str, default='yolov5s.yaml', help='model.yaml')
211
  parser.add_argument('--device', default='', help='cuda device, i.e. 0 or 0,1,2,3 or cpu')
212
  opt = parser.parse_args()
213
  opt.cfg = check_file(opt.cfg) # check file