-
Notifications
You must be signed in to change notification settings - Fork 137
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
Open Images: add writing support #315
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
d85d385
open_images_user_manual.md: fix image description file URLs
db35a03
open_images_format: add conversion support
3a711fa
open_images_format: add support for images in subdirectories
44bcc8a
open_images_format: add tests for writing support
f544ce6
open_images_format: add documentation for the writing support
ef41c26
open_images_format: factor out the 'images' constant
c04aaa7
Update the changelog entry for the Open Images support
bf6f82e
open_images_format: rename some members of OpenImagesPath
e8ba7da
open_images_format: fix style errors
5a97e59
open_images_format: handle the case where the exported dataset has no…
f97c48f
open_images_format: make code more idiomatic
fff7936
test_open_images_format: mark tests with the correct requirement
8e7cf54
test_open_images_format: use compare_datasets instead of compare_data…
d350c18
OpenImagesFormatTest.test_can_save_and_load: avoid modifying the sour…
fa29fbc
open_images_format: move the long field lists to OpenImagesPath
47f7d49
open_images_format: add logging in the case where an item being saved…
5a98b1c
OpenImagesConverter: create the label description file lazily
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an enhancement, you can add an optional argument for the format, which will determine the version of the exported dataset. What do you think about it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could, but... is there any reason to do so? It could just be unnecessary flexibility.
(Incidentally, the main reason I used the V5 format for this file is so that I wouldn't need to include the dataset name in the file name. It would be weird if the user could import OIDv5, then export it and end up with
oidv6-class-descriptions.csv
, even though the data is still from v5.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally, can we import and export in one format?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one format; just different versions. We can't use the same version as was used during import, since that information is not preserved anywhere (and the input could be a mishmash of different versions anyway).