提交 c53dc94c 编写于 作者: K Kentaro Wada

Add version entry to the output json file

上级 05d2bace
......@@ -3,6 +3,8 @@ import json
import os.path
import sys
from ._version import __version__
PY2 = sys.version_info[0] == 2
......@@ -85,6 +87,7 @@ class LabelFile(object):
if flags is None:
flags = []
data = dict(
version=__version__,
flags=flags,
shapes=shapes,
lineColor=lineColor,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册