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] Add ignore_key in voc dataset to fix error #9058

Merged
merged 6 commits into from
Nov 4, 2022

Conversation

BIGWangYuDong
Copy link
Collaborator

@BIGWangYuDong BIGWangYuDong commented Oct 18, 2022

Motivation

VOCDataset has DATASET_TYPE key in metainfo which is different in VOC2007 and VOC2012. This will get an error when using ConcatDataset. Hence, we add an ignore_key in ConcatDataset to fix this error.

Modification

add an ignore_key in ConcatDataset to fix this error.

This PR should be merged after open-mmlab/mmengine#556 has been merged in MMEngine.

Before merging this PR, #8847 can be temporarily fixed VOC ConcatDataset error.

NOTE

This PR change the minimum version of mmengine to 0.3.0.

RangiLyu
RangiLyu previously approved these changes Nov 1, 2022
@ZwwWayne ZwwWayne added this to the 3.0.0rc3 milestone Nov 2, 2022
@BIGWangYuDong
Copy link
Collaborator Author

The mmengine_minimum_version should be updated to 0.3.0 to avoid bc breaking

@ZwwWayne ZwwWayne merged commit 5621b97 into open-mmlab:dev-3.x Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants