Skip to content

Unlabeled json creator#194

Open
PeterVennerstrom wants to merge 3 commits intomicrosoft:mainfrom
PeterVennerstrom:unlabeled
Open

Unlabeled json creator#194
PeterVennerstrom wants to merge 3 commits intomicrosoft:mainfrom
PeterVennerstrom:unlabeled

Conversation

@PeterVennerstrom
Copy link

Thanks for your great work!!!

Added an unlabeled json creator to tools/datasets. This creates the minimum necessary coco json to train from a folder of unlabeled images.

Added an assertion to semi_sampler.py. When either the train or unlabeled set contains only images of one aspect ratio group h > w or w > h it would otherwise throw the semi_sampler.py line 187: assert len(indices) == len(self) assertion error.

From reading the issues it appears there are multiple causes and solutions to the semi_sampler.py line 187: assert len(indices) == len(self) assertion error. This new assertion isolates errors related to aspect ratio groups.

@ghost
Copy link

ghost commented Apr 13, 2022

CLA assistant check
All CLA requirements met.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant