Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
local_train.sh 291 Bytes
Copy Edit Raw Blame History
wjxzju authored 2021-07-05 17:08 . Update local_train.sh
#!/bin/bash
if [ ! -d "logs" ]; then
mkdir logs
fi
if [ ! -d "ckpt" ]; then
mkdir ckpt
fi
export CUDA_VISIBLE_DEVICES='0,1,2,3,4,5,6,7'
nohup python -u -m torch.distributed.launch --nproc_per_node=8 --nnodes=1 ./tasks/distfc/train_distfc.py > logs/$(date +%F-%H-%M-%S).log 2>&1 &
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化