v3.0 Release (#725)
* initial commit * remove yolov3-spp from test.py study * update study --img range * update mAP * cleanup and speed updates * update README plot
This commit is contained in:
1 parent
1ddf692bf8
commit
916d4aad9a
11 files changed
+43
-40
No files matched your search
@@ -280,9 +280,9 @@ if __name__ == '__main__':
|
||||
opt.verbose)
|
||||
|
||||
elif opt.task == 'study': # run over a range of settings and save/plot
|
||||
for weights in ['yolov5s.pt', 'yolov5m.pt', 'yolov5l.pt', 'yolov5x.pt', 'yolov3-spp.pt']:
|
||||
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(352, 832, 64)) # x axis
|
||||
x = list(range(320, 800, 64)) # x axis
|
||||
y = [] # y axis
|
||||
for i in x: # img-size
|
||||
print('\nRunning %s point %s...' % (f, i))
|
||||
@@ -290,4 +290,4 @@ if __name__ == '__main__':
|
||||
y.append(r + t) # results and times
|
||||
np.savetxt(f, y, fmt='%10.4g') # save
|
||||
os.system('zip -r study.zip study_*.txt')
|
||||
# plot_study_txt(f, x) # plot
|
||||
# utils.general.plot_study_txt(f, x) # plot
|
||||
Reference in new issue
Block a user