updates
This commit is contained in:
1 parent
1b97392801
commit
f129cdda9f
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user