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] Fix two bugs in dataset preparer #1513

Merged
merged 2 commits into from
Nov 7, 2022

Conversation

xinke-wang
Copy link
Collaborator

  1. a redundant blank in automatically generated dataset config
  2. when using TextRecogCropConverter, the packed sample list contains multiple instances, which should be flattened:
//  before fix bug2
data_list = [
[dict(), dict(), dict()], [dict()], [dict()]
]

// after fix bug2
data_list = [
dict(),
dict(),
dict(),
dict(),
dict()
]

@gaotongxiao gaotongxiao merged commit 0afbb70 into open-mmlab:dev-1.x Nov 7, 2022
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