#!/usr/bin/env bash
export HIP_VISIBLE_DEVICES=0,1,2,3 # 自行修改为训练的卡号和数量, 单卡可设置一张卡，下面的参数对应调整
export HSA_FORCE_FINE_GRAIN_PCIE=1
export USE_MIOPEN_BATCHNORM=1

# coco_path是训练数据集地址，数据是coco format

GPUS_PER_NODE=4 ./tools/run_dist_launch.sh 4 <config path> \
    --coco_path <coco path> \
    --resume <checkpoint path> \
    --eval
