CSPNeXt ImageNet Pre-training
In this folder, we provide the imagenet pre-training config of RTMDet's backbone CSPNeXt.
Requirements
To train with these configs, please install MMClassification 1.x first.
Install by MIM:
mim install mmcls>=1.0.0rc0
or install by pip:
pip install mmcls>=1.0.0rc0
Prepare Dataset
To pre-train on ImageNet, you need to prepare the dataset first. Please refer to the guide.
How to Train
You can use the classification config in the same way as the detection config.
For single-GPU training, run:
python tools/train.py \
${CONFIG_FILE} \
[optional arguments]
For multi-GPU training, run:
bash ./tools/dist_train.sh \
${CONFIG_FILE} \
${GPU_NUM} \
[optional arguments]
More details can be found in user guides.