Conversation
jihyeonyi
left a comment
There was a problem hiding this comment.
Most FR researchers usually align and crop faces before the training as a pre-process.
So in the training time, they only use images without the '.csv' file.
So how about generating Lable annotation even if '.csv' file isn't provided.
Or another way to handle this is to create a new extractor for the general FR dataset.
Isn't it exactly |
Technically you're right if ImageNet supports more image formats. |
|
@jihyeonyi, yes, it is strange. Actually, I think, we need to slightly change the structure of |
Good idea. I'm of the same opinion. |
|
@jihyeonyi, it definitely won't be done in this PR, more likely in Q1. |
| label_name = item_id.split('/')[0] | ||
| label = self._categories[AnnotationType.label].find(label_name)[0] | ||
| if label is not None: | ||
| item_id = item_id[len(label_name) + 1:] |
There was a problem hiding this comment.
Why there can be no label directory prefix?
There was a problem hiding this comment.
If for example item.id = a/1 and there is no label
There was a problem hiding this comment.
Maybe add a folder for unlabeled items (like in ImageNet)?
There was a problem hiding this comment.
I think it is a good idea, because otherwise we require labels.txt.
Summary
How to test
Checklist
developbranchLicense
Feel free to contact the maintainers if that's a concern.