Skip to content
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

Unlabeled json creator #194

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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