mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
[Fix] Fix basedataset typo about lazy initialization (#733)
This commit is contained in:
parent
f9158e233e
commit
e98d262415
@ -174,7 +174,7 @@ class BaseDataset(Dataset):
|
|||||||
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user