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

Feature/sg 953 add XML/VOC datasets #117

Merged
merged 26 commits into from
Jul 4, 2023

Conversation

Louis-Dupont
Copy link
Contributor

@Louis-Dupont Louis-Dupont commented Jun 28, 2023

I added 2 datasets:

  • 1 similar to YoloFormatDetectionDataset but for VOC format: VOCFormatDetectionDataset
  • 1 which requires the exact same folder structure and name as PascalVOC. This is way more restrictive VOCDetectionDataset

I think we may need both because VOCDetectionDataset structure is very heavy, and I have seen at least once in the past a dataset written in xml similarly to VOC, but with a folder naming than the PascalVOC original dataset.
At the same time, I feel like it is better if we can still provide a plug-and-play class for PascalVOC where the user won't need to dig into the dataset structure.
For this reason I kept both classes. What do you think ? Is it confusing?

@Louis-Dupont Louis-Dupont changed the title Feature/sg 953 add pascalvoc Feature/sg 953 add XML datasets Jun 28, 2023
@Louis-Dupont Louis-Dupont marked this pull request as ready for review June 29, 2023 09:21
@Louis-Dupont Louis-Dupont changed the title Feature/sg 953 add XML datasets Feature/sg 953 add XML/VOC datasets Jun 29, 2023
src/data_gradients/datasets/FolderProcessor.py Outdated Show resolved Hide resolved
src/data_gradients/datasets/FolderProcessor.py Outdated Show resolved Hide resolved
src/data_gradients/datasets/FolderProcessor.py Outdated Show resolved Hide resolved
src/data_gradients/datasets/FolderProcessor.py Outdated Show resolved Hide resolved
src/data_gradients/datasets/FolderProcessor.py Outdated Show resolved Hide resolved
Copy link
Contributor

@shaydeci shaydeci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Louis-Dupont Louis-Dupont merged commit 8940293 into master Jul 4, 2023
@Louis-Dupont Louis-Dupont deleted the feature/SG-953-add_pascalvoc branch July 4, 2023 06:49
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