Merge pull request #2322 from MengzhangLI/fix_basesegdataset_typo

[Fix] Fix typo of BaseSegDataset docstring
This commit is contained in:
Miao Zheng 2022-11-19 15:57:18 +08:00 committed by GitHub
commit 2f15bfe795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ class BaseSegDataset(BaseDataset):
instantiation. In some cases, such as visualization, only the meta instantiation. In some cases, such as visualization, only the meta
information of the dataset is needed, which is not necessary to information of the dataset is needed, which is not necessary to
load annotation file. ``Basedataset`` can skip load annotations to load annotation file. ``Basedataset`` can skip load annotations to
save time by set ``lazy_init=False``. Defaults to False. save time by set ``lazy_init=True``. Defaults to False.
max_refetch (int, optional): If ``Basedataset.prepare_data`` get a max_refetch (int, optional): If ``Basedataset.prepare_data`` get a
None img. The maximum extra number of cycles to get a valid None img. The maximum extra number of cycles to get a valid
image. Defaults to 1000. image. Defaults to 1000.