@ -20,8 +20,7 @@ if [ ${seed} != 0 ]; then
export FLAGS_cudnn_deterministic=True
fi
python3 -u ${BIN_DIR}/train.py \
--ngpu ${ngpu} \
python3 -m paddle.distributed.launch --gpus=${CUDA_VISIBLE_DEVICES} ${BIN_DIR}/train.py \
--config ${config_path} \
--output exp/${ckpt_name} \
--model_type ${model_type} \
@ -27,9 +27,8 @@ ckpt_name=$2
mkdir -p exp
--seed ${seed} \
--profiler-options "${profiler_options}" \
@ -21,8 +21,7 @@ if [ ${seed} != 0 ]; then
--seed ${seed}
@ -22,8 +22,7 @@ fi
# export FLAGS_cudnn_exhaustive_search=true
# export FLAGS_conv_workspace_size_limit=4000
@ -19,9 +19,8 @@ if [ ${seed} != 0 ]; then
--model-name u2_kaldi \
@ -19,8 +19,7 @@ if [ ${seed} != 0 ]; then
@ -26,8 +26,7 @@ model_type=$3
@ -27,9 +27,6 @@ def main_sp(config, args):
def main(config, args):
if args.ngpu > 1:
dist.spawn(main_sp, args=(config, args), nprocs=args.ngpu)
else:
main_sp(config, args)
@ -32,9 +32,6 @@ def main_sp(config, args):
@ -36,9 +36,6 @@ def main_sp(config, args):
@ -30,9 +30,6 @@ def main_sp(config, args):