提交 83dfab0e 编写于 作者: K Kentaro Wada

Update examples/tutorial

上级 e305c510
因为 它太大了无法显示 source diff 。你可以改为 查看blob
label_names:
- _background_
- shelf
- highland_6539_self_stick_notes
- mead_index_cards
- kong_air_dog_squeakair_tennis_ball
_background_
shelf
highland_6539_self_stick_notes
mead_index_cards
kong_air_dog_squeakair_tennis_ball
mead_index_cards
shelf
......@@ -6,7 +6,6 @@ import os.path as osp
import imgviz
import PIL.Image
import yaml
from labelme.logger import logger
from labelme import utils
......@@ -69,11 +68,6 @@ def main():
for lbl_name in label_names:
f.write(lbl_name + '\n')
logger.warning('info.yaml is being replaced by label_names.txt')
info = dict(label_names=label_names)
with open(osp.join(out_dir, 'info.yaml'), 'w') as f:
yaml.safe_dump(info, f, default_flow_style=False)
logger.info('Saved to: {}'.format(out_dir))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册