Files
insightface/recognition/partial_fc/pytorch/run.sh
anxiang 3279b7b58f Update configs
Fix bugs
2021-01-02 19:19:50 +08:00

5 lines
270 B
Bash

# /usr/bin/
export OMP_NUM_THREADS=4
python -m torch.distributed.launch --nproc_per_node=8 --nnodes=1 --node_rank=0 --master_addr="127.0.0.1" --master_port=1234 partial_fc.py | tee hist.log
ps -ef | grep "partial_fc" | grep -v grep | awk '{print "kill -9 "$2}' | sh