Unverified 提交 92c9b728 authored 作者: Glenn Jocher's avatar Glenn Jocher 提交者: GitHub

Matplotlib AGG backend (#1413)

上级 548a98a3
......@@ -19,6 +19,9 @@ from scipy.signal import butter, filtfilt
from utils.general import xywh2xyxy, xyxy2xywh
from utils.metrics import fitness
# Settings
matplotlib.use('Agg') # for writing to files only
def color_list():
# Return first 10 plt colors as (r,g,b) https://stackoverflow.com/questions/51350872/python-from-color-name-to-rgb
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论