Browse Source

updates

5.0
Glenn Jocher 4 years ago
parent
commit
f129cdda9f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/yolo.py

+ 1
- 1
models/yolo.py View File

@@ -170,7 +170,7 @@ def parse_model(md, ch): # model_dict, input_channels(3)

if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--cfg', type=str, default='yolov5s_csp.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 = glob.glob('./**/' + opt.cfg, recursive=True)[0] # find file

Loading…
Cancel
Save