MMSelfSup supports multiple datasets. Please follow the corresponding guidelines for data preparation. It is recommended to symlink your dataset root to $MMSELFSUP/data
. If your folder structure is different, you may need to change the corresponding paths in config files.
mmselfsup
├── mmselfsup
├── tools
├── configs
├── docs
├── data
│ ├── imagenet
│ │ ├── meta
│ │ ├── train
│ │ ├── val
│ ├── places205
│ │ ├── meta
│ │ ├── train
│ │ ├── val
│ ├── inaturalist2018
│ │ ├── meta
│ │ ├── train
│ │ ├── val
│ ├── VOCdevkit
│ │ ├── VOC2007
│ ├── cifar
│ │ ├── cifar-10-batches-py
For ImageNet, it has multiple versions, but the most commonly used one is ILSVRC 2012. It can be accessed with the following steps:
For Places205, you need to:
For iNaturalist2018, you need to:
tools/data_converters/convert_inaturalist.py
Assuming that you usually store datasets in $YOUR_DATA_ROOT
. The following command will automatically download PASCAL VOC 2007 into $YOUR_DATA_ROOT
, prepare the required files, create a folder data
under $MMSELFSUP
and make a symlink VOCdevkit
.
bash tools/data_converters/prepare_voc07_cls.sh $YOUR_DATA_ROOT
CIFAR10 will be downloaded automatically if it is not found. In addition, dataset
implemented by MMSelfSup
will also automatically structure CIFAR10 to the appropriate format.
To prepare COCO, VOC2007 and VOC2012 for detection, you can refer to mmdet.
To prepare VOC2012AUG and Cityscapes for segmentation, you can refer to mmseg
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )