haochenheheda/segment-anything-annotator

Can not load annotation json file from segment-anything!!

Opened this issue · 0 comments

I have successful running amg.py file in segment-anything repo and get a json output file.
When I find this annotation tool in segment-anything repo issue, I successful setup the tool.
I choose image folder is working, but when I choose save folder the program will crash like below. (I put the json file from segment-anything repo in save folder, it's COCO RLE format.)
I can't find key name 'shape' in output json file, it like the json file from segment-anything repo can't use in this tool.

image

If I annotate image file with this tool, can I train successfully with output format file?
Or it can't use in segment-anything repo to train, please help me!!

What method can I run the tool with segment-anything repo successfully?