-
The default command is as follows:
python train.py ${CONFIG_FILE}
-
The default command is as follows:
bash dist_train.sh ${CONFIG_FILE} ${GPU_NUM}
-
The default command is as follows:
python test.py ${CONFIG_FILE} ${CHECKPOINT_FILE}
-
The default command is as follows:
bash dist_test.sh ${CONFIG_FILE} ${CHECKPOINT_FILE} ${GPU_NUM}
Note: If you want to test the model with TTA (test time augmentation), you need to add --tta argument, such as:
bash dist_test.sh ${CONFIG_FILE} ${CHECKPOINT_FILE} ${GPU_NUM} --tta