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

Support skipping labels #18

Merged
merged 1 commit into from
Feb 4, 2023
Merged

Support skipping labels #18

merged 1 commit into from
Feb 4, 2023

Conversation

Dexterp37
Copy link

I found this helpful, so I'm sharing it with the others.

This allows to skip one or more labels from the annotations, leaving them out from the resulting COCO-friendly JSON.

Usage example:

labelme2coco path/to/labelme/dir --train_split_rate 0.85 --skip_labels "test1","test2"

@fcakyon would you consider opening the "Issues" on this repository to file bugs? (e.g. unit tests are broken)

@fcakyon
Copy link
Owner

fcakyon commented Feb 4, 2023

Thanks a lot for your contribution!

You can share any issues/bugs on discussions page: https://github.com/fcakyon/labelme2coco/discussions

@fcakyon fcakyon merged commit 37eca36 into fcakyon:master Feb 4, 2023
@Dexterp37 Dexterp37 deleted the skip-labels branch February 4, 2023 18:15
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.

2 participants