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

Other annotation formats than Json for memory efficiency #4437

Closed
chriss2401 opened this issue Jan 12, 2021 · 1 comment
Closed

Other annotation formats than Json for memory efficiency #4437

chriss2401 opened this issue Jan 12, 2021 · 1 comment
Assignees

Comments

@chriss2401
Copy link

Describe the feature
I have successfully trained a mask rcnn network by using mm detection on a relatively small custom dataset. I was wondering whether it is possible to use a custom dataset that is very large without having to write the annotations in a json file, since json in general isn't made for handling such large files.

Motivation
Ex1. It is inconvenient when I need to serialize a large amount of my custom annotations to json. Many times I get out of memory errors when trying to serialize these annotations to a json file (coco format).
Ex2. Json is not made for such large datasets, therefore the resulting annotations can take up a lot of space.

@ZwwWayne
Copy link
Collaborator

ZwwWayne commented Feb 5, 2021

Thanks for your kind suggestion. For now, we use JSON for convenience. If you want to use other formats, you may consider re-implement the logic of the dataset. We will consider the efficiency issue in the future.

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

No branches or pull requests

3 participants