Labelme2Coco icon indicating copy to clipboard operation
Labelme2Coco copied to clipboard

No attribute 'convert'

Open amyou2005 opened this issue 5 years ago • 2 comments

Hi, thank you for this tool but i got an issue.

with this command

# convert labelme annotations to coco
labelme2coco.convert(labelme_folder, save_json_path)

I got AttributeError: module 'labelme2coco' has no attribute 'convert'

amyou2005 avatar Aug 22 '20 16:08 amyou2005

If you want to use this tool, you should modify the labelme_json path at https://github.com/XCRobert/Labelme2Coco/blob/55436b276a303efae2e72ab75fd2a21db71b89ab/lableme2coco.py#L160 and save_json_path , and then just run commandpython lableme2coco.py. Please read lableme2coco.py for more details.

XCRobert avatar Aug 24 '20 13:08 XCRobert

thank you

On Mon, Aug 24, 2020, 20:54 XCRobert [email protected] wrote:

If you want to use this tool, you should modify the labelme_json path at https://github.com/XCRobert/Labelme2Coco/blob/55436b276a303efae2e72ab75fd2a21db71b89ab/lableme2coco.py#L160 and save_json_path , and then just run commandpython lableme2coco.py. Please read lableme2coco.py for more details.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/XCRobert/Labelme2Coco/issues/2#issuecomment-679140342, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGLCELPHMXTL4DM5W6YPJTSCJWJ7ANCNFSM4QIFFAHA .

amyou2005 avatar Aug 25 '20 08:08 amyou2005