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

fix(back): Check if categories field to export is not null #202

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

cpvannier
Copy link
Member

Issue

Fixes #201

Description

Since the categories field of DatasetInfo is optional, it can be null when using ImageImporter.
COCOExporter should thus check if the field is null before trying to iterate on it.

@cpvannier cpvannier requested a review from jrabary March 1, 2024 11:07
@cpvannier cpvannier merged commit e423f12 into develop Mar 1, 2024
5 checks passed
@cpvannier cpvannier mentioned this pull request Mar 1, 2024
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.

Error when using COCOExporter to export a dataset
3 participants