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
What is the pair_id for each items ? #4
Comments
Please note that we do not provide data in pairs. In training dataset, images are organized with continuous 'pair_id' including images from consumers and images from shops. (For example: 000001.jpg(pair_id:1; from consumer), 000002.jpg(pair_id:1; from shop),000003.jpg(pair_id:2; from consumer),000004.jpg(pair_id:2; from consumer),000005.jpg(pair_id:2; from consumer), 000006.jpg(pair_id:2; from consumer),000007.jpg(pair_id:2; from shop),000008.jpg(pair_id:2; from shop)...) A clothing item from shop images and a clothing item from consumer image are positive commercial-consumer pair if they have the same style number which is greater than 0 and they are from images with the same pair id, otherwise they are negative pairs. In this way, you can consruct training positive pairs and negative pairs in instance-level. As is shown in the figure below, the first three images are from consumers and the last two images are from shops. These five images have the same 'pair_id'. Clothing items in orange bounding box have the same 'style':1. Clothing items in green bounding box have the same 'style': 2. 'Style' of other clothing items whose bouding boxes are not drawn in the figure is 0 and they can not construct positive commercial-consumer pairs. One positive commercial-consumer pair is the annotated short sleeve top in the first image and the annotated short sleeve top in the last image. Our dataset makes it possbile to construct instance-level pairs in a flexible way. Hope the above explanation will be helpful. |
'pair_id' and 'style' makes it convenient to construct instance-level pairs. 'pair_id' is an image-level label and 'style' is an instance-level label. All items in an image share the same 'pair_id'. |
Thank you @geyuying for the clarification. If anyone wanna create |
I'm trying to work with the dataset, let's say I have this annotation file
Which
pair_id
will belong to which items? There are many cases when I saw 5,6 item in an image, it's really confusing to find the correctpair_id
with the correctitem
.Hope you can clarify this for me. Thanks
The text was updated successfully, but these errors were encountered: