(py37)Traceback (most recent call last):
File "main.py", line 415, in
opt = get_opt()
File "main.py", line 72, in get_opt
opt.dist_rank = int(os.environ["OMPI_COMM_WORLD_RANK"])
File "/home/wuming/anaconda3/envs/action/lib/python3.7/os.py", line 681, in getitem
raise KeyError(key) from None
KeyError: 'OMPI_COMM_WORLD_RANK'
Could you please tell us how to run distributed training? I met same error with you,but replace PIM_RANK not work for me.....@byrsongyuxin Thank you very much!
(py37)Traceback (most recent call last): File "main.py", line 415, in
opt = get_opt()
File "main.py", line 72, in get_opt
opt.dist_rank = int(os.environ["OMPI_COMM_WORLD_RANK"])
File "/home/wuming/anaconda3/envs/action/lib/python3.7/os.py", line 681, in getitem
raise KeyError(key) from None
KeyError: 'OMPI_COMM_WORLD_RANK'