We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f21dd commit 50f55c2Copy full SHA for 50f55c2
mmocr/datasets/ocr_dataset.py
@@ -49,8 +49,8 @@ class OCRDataset(BaseDataset):
49
information. Defaults to None.
50
data_root (str, optional): The root directory for ``data_prefix`` and
51
``ann_file``. Defaults to None.
52
- data_prefix (dict, optional): Prefix for training data. Defaults to
53
- dict(img=None, ann=None).
+ data_prefix (dict): Prefix for training data. Defaults to
+ dict(img_path='').
54
filter_cfg (dict, optional): Config for filter data. Defaults to None.
55
indices (int or Sequence[int], optional): Support using first few
56
data in annotation file to facilitate training/testing on a smaller
0 commit comments