Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Fix] Fix two bugs in dataset preparer#1513

Merged
gaotongxiao merged 2 commits intoopen-mmlab:dev-1.xfrom
xinke-wang:fix
Nov 7, 2022
Merged

[Fix] Fix two bugs in dataset preparer#1513
gaotongxiao merged 2 commits intoopen-mmlab:dev-1.xfrom
xinke-wang:fix

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