Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add flag for output labelme label file in image_demo #288

Merged
merged 16 commits into from
Nov 20, 2022

Conversation

PeterH0323
Copy link
Collaborator

@PeterH0323 PeterH0323 commented Nov 17, 2022

Motivation

Add flag for output labelme label file in image_demo

Modification

demo/image_demo.py

Demo

python demo/image_demo.py \ 
    ./data/cat \
    configs/yolov5/yolov5_s-v61_syncbn_fast_8xb16-300e_coco.py \
    work_dirs/yolov5_s-v61_syncbn_fast_8xb16-300e_coco_20220918_084700-86e02187.pth \
    --out-dir ./data/cat_label \
    --to-labelme
  • Json file
    image

  • labelme UI
    image

@PeterH0323 PeterH0323 removed the WIP label Nov 17, 2022
demo/image_demo.py Outdated Show resolved Hide resolved
mmyolo/utils/labelme_utils.py Outdated Show resolved Hide resolved
mmyolo/utils/labelme_utils.py Outdated Show resolved Hide resolved
mmyolo/utils/labelme_utils.py Outdated Show resolved Hide resolved
demo/image_demo.py Outdated Show resolved Hide resolved
demo/image_demo.py Show resolved Hide resolved
@hhaAndroid hhaAndroid merged commit 5e0599c into open-mmlab:dev Nov 20, 2022
@PeterH0323 PeterH0323 deleted the hin/infer_to_labelme branch November 21, 2022 01:22
@PeterH0323 PeterH0323 mentioned this pull request Nov 21, 2022
32 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants