deepinsight / deepinsight/insightface
I run on 2 machines use arcface_torch,but I maybe make mistake and the code not running。
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
i run on 2 machines use arcface_torch. The following prompt is displayed:
/home/lzdx/.virtualenvs/torchenv/lib/python3.8/site-packages/torch/distributed/launch.py:178: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects `--local_rank` argument to be set, please
change it to read from `os.environ['LOCAL_RANK']` instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
warnings.warn(
WARNING:torch.distributed.run:
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
*****************************************
my run code:
node1:
python -m torch.distributed.launch --nproc_per_node=8 --nnodes=2 --node_rank=0 --master_addr="192.168.1.3" --master_port=12581 my_train.py configs/faces_glintasia > run_log/run_ip_node1.log 2>&1 &
node2:
python -m torch.distributed.launch --nproc_per_node=8 --nnodes=2 --node_rank=1 --master_addr="192.168.1.2" --master_port=12581 my_train.py configs/faces_glintasia > run_log/run_ip_node2.log 2>&1 &
i am sorry that how to modify it and the code run. can u help me!!!Thanks!!!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.