Question about group ID #1138
-
I'm labeling for a instances segmentation project. The number of my class is one. And the class is cow. I notice that there is a new option group ID. I know I need to fill the object label with cow-1, cow-2... But the group ID of them should be the same or not? |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments
-
Now you don't need to use cow-X. You can use group ID instead for the "X". In the latest |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
-
Does I got it right: Am I right, that the json file will always save single polygons/circle/.. as a single instance, no matter if I work with group IDs or not? Thanks so far for ur great work and sharing this tool!! |
Beta Was this translation helpful? Give feedback.
-
It WILL produce instances for each label (or each polygon).
EACH polygon/circle/.. is saved as a single instance. |
Beta Was this translation helpful? Give feedback.
-
If i wish to classify human faces for gender and age (bounding boxes around the face), then is it a good idea to place the gender class in the label, and the age in the "Group ID", such as the example below (20-30 is the age range) |
Beta Was this translation helpful? Give feedback.
-
I would do Male-2030 in this case.
On Wed, 1 Apr 2020 at 22:10, Joeostr ***@***.***> wrote:
If i wish to classify human faces for gender and age (bounding boxes
around the face), then is it a good idea to place the gender class in the
label, and the age in the "Group ID", such as the example below (20-30 is
the age range)
[image: Labelme]
<https://user-images.githubusercontent.com/31250068/78186936-903c8800-743b-11ea-9127-0d78c72fba24.png>
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#633 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABA4LEYHYNX33KQYXB7RVTLRKOUUHANCNFSM4LUIPV4A>
.
--
Kentaro Wada / 和田 健太郎
https://wkentaro.com <http://wkentaro.com>
|
Beta Was this translation helpful? Give feedback.
-
You mean not to use the GroupID? |
Beta Was this translation helpful? Give feedback.
-
Yeah. Because Group-Id is not meant to be used for age annotation.
On Thu, 2 Apr 2020 at 17:41, Joeostr ***@***.***> wrote:
You mean not to use the GroupID?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#633 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABA4LE76AJEBHKA6WGBDB4DRKS52XANCNFSM4LUIPV4A>
.
--
Kentaro Wada / 和田 健太郎
https://wkentaro.com <http://wkentaro.com>
|
Beta Was this translation helpful? Give feedback.
-
@wkentaro I use cat-0, cat-1, cat-2 for annotation, and use labelme2coco to convert annotations.json, where the annotation is [], what's the matter? |
Beta Was this translation helpful? Give feedback.
-
How to label a single category with labelme and instance segmentation? There are cat, cat, cat, cat0, cat1, cat2 or cat-0, cat-1, cat-2, etc. which annotation method is used?thank you! I use cat-0, cat-1, cat-2 for annotation, and use labelme2coco to convert annotations.json, where the annotation is [], what's the matter? |
Beta Was this translation helpful? Give feedback.
-
I'm labeling for instance segmentation. And I'm curious about the 'group id'. For example, I have three classes such as 'car'. 'person', 'traffic light'. And the other (not divided into mutiple parts) cars just annotated with 'car' and do not fill group id? I'm so confused. Thank you. |
Beta Was this translation helpful? Give feedback.
-
It’s completely up to you and how you parse labelme json file during training. In my original use case, group id with None (or empty string) value means they are different instances. |
Beta Was this translation helpful? Give feedback.
-
So if you use labelme2voc.py Polygons with the same group id are grouped (recognized) as the same instance. |
Beta Was this translation helpful? Give feedback.
-
But there are other possibilities of using group id to have correspondence between people and objects.
This use-case is not included in the |
Beta Was this translation helpful? Give feedback.
-
Ahha I get it. Thank you so much ! |
Beta Was this translation helpful? Give feedback.
Now you don't need to use cow-X. You can use group ID instead for the "X".
See the latest example: https://github.com/wkentaro/labelme/tree/master/examples/instance_segmentation
In the latest
labelme2voc.py
andlabelme2coco.py
, it assumes that each polygon represents instance except there is nogroupID
specified.