浏览代码

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))

正在加载...
取消
保存