瀏覽代碼

study update

5.0
Glenn Jocher 4 年之前
父節點
當前提交
db898131f9
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      test.py

+ 1
- 1
test.py 查看文件

@@ -279,7 +279,7 @@ if __name__ == '__main__':
elif opt.task == 'study': # run over a range of settings and save/plot
for weights in ['yolov5s.pt', 'yolov5m.pt', 'yolov5l.pt', 'yolov5x.pt']:
f = 'study_%s_%s.txt' % (Path(opt.data).stem, Path(weights).stem) # filename to save to
x = list(range(288, 896, 64)) # x axis
x = list(range(352, 832, 64)) # x axis
y = [] # y axis
for i in x: # img-size
print('\nRunning %s point %s...' % (f, i))

Loading…
取消
儲存