Skip to content

Commit d26f4b5

Browse files
author
yixu.cui
committed
Independent plotting
1 parent d1b31bc commit d26f4b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

utils/plots.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,3 +431,9 @@ def plot_results(start=0, stop=0, bucket='', id=(), labels=(), save_dir=''):
431431

432432
ax[1].legend()
433433
fig.savefig(Path(save_dir) / 'results.png', dpi=200)
434+
435+
436+
if __name__ == '__main__':
437+
# plot resluts
438+
to_plot_dir = 'runs/train/yolov7-w6-custom-0308-MOT20-train-4gpu-32w-16b-30epochs-sync-bn'
439+
plot_results(save_dir=to_plot_dir)

0 commit comments

Comments
 (0)