code: def train(group, prefix, idx, gpuid):
      assert idx >= 0
      cmd = (
          "CUDA_VISIBLE_DEVICES='%d' PORT=%d bash ./tools/dist_train.sh ./configs/%s/%s_%d.py 1 --no-validate"
          % (gpuid, 29100 + idx, group, prefix, idx)
      )
      print(cmd)
      os.system(cmd)
  
label_desc: Use image node_id 1 for calling a global function with example usage: train(group, prefix, idx, gpuid) without return types