#!/bin/bash echo "Export params ..." export HIP_VISIBLE_DEVICES=0,1,2,3 # 自行修改为训练的卡号和数量 export HSA_FORCE_FINE_GRAIN_PCIE=1 export USE_MIOPEN_BATCHNORM=1 echo "Training start ..." # Train examples # python tools/train_net.py --config-file configs/R_50/CTW1500/pretrain_96voc_50maxlen.yaml --num-gpus 4 python tools/train_net.py --config-file configs/simple/train_simple.yaml --num-gpus 4 # Fine-tune examples # python tools/train_net.py --config-file configs/R_50/CTW1500/finetune_96voc_50maxlen.yaml --num-gpus 4