Skip to content

Commit

Permalink
refactor imagenet dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
zzc98 committed Apr 28, 2023
1 parent f80293d commit b770e09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmpretrain/datasets/imagenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ class ImageNet(CustomDataset):
``ann_file``. Defaults to ''.
split (str): The dataset split, supports "train" and "val".
Default to ''.
data_prefix (str | dict): Prefix for training data. Defaults to ''.
ann_file (str): Annotation file path. Defaults to ''.
metainfo (dict, optional): Meta information for dataset, such as class
information. Defaults to None.
**kwargs: Other keyword arguments in :class:`CustomDataset` and
Expand Down

0 comments on commit b770e09

Please sign in to comment.