Open Tangzhaotz opened 3 years ago
Can you provide a more detailed description and experiment log?
Traceback (most recent call last):
File "/home/tz/code_siamban/siamban_源码/tools/train.py", line 310, in
Do you run the code directly in the IDE? We run the code in the Linux terminal.
Do you run the code directly in the IDE? We run the code in the Linux terminal.
I run the code in the Linux terminal,but I still have the same problem...
Traceback (most recent call last): File "/home/tz/code_siamban/siamban_源码/tools/train.py", line 310, in main() File "/home/tz/code_siamban/siamban_源码/tools/train.py", line 249, in main rank, world_size = dist_init() File "/home/tz/code_siamban/siamban_源码/siamban/utils/distributed.py", line 104, in dist_init rank, world_size = _dist_init() File "/home/tz/code_siamban/siamban_源码/siamban/utils/distributed.py", line 83, in _dist_init rank = int(os.environ['RANK']) File "/home/tz/.conda/envs/siamban/lib/python3.7/os.py", line 681, in getitem raise KeyError(key) from None KeyError: 'RANK'
Have you solved the problem yet?If so, could you please tell me the solution....
Traceback (most recent call last): File "/home/tz/code_siamban/siamban_源码/tools/train.py", line 310, in main() File "/home/tz/code_siamban/siamban_源码/tools/train.py", line 249, in main rank, world_size = dist_init() File "/home/tz/code_siamban/siamban_源码/siamban/utils/distributed.py", line 104, in dist_init rank, world_size = _dist_init() File "/home/tz/code_siamban/siamban_源码/siamban/utils/distributed.py", line 83, in _dist_init rank = int(os.environ['RANK']) File "/home/tz/.conda/envs/siamban/lib/python3.7/os.py", line 681, in getitem raise KeyError(key) from None KeyError: 'RANK'
Have you solved the problem yet?If so, could you please tell me the solution.... 兄弟你解决这个问题了么
遇到了相同的问题,求教怎样解决
Do you run the code directly in the IDE? We run the code in the Linux terminal.
I run the code in the Linux terminal,but I still have the same problem...
您好,这个问题您解决了吗?怎样解决的可以说一下吗
Traceback (most recent call last): File "/home/tz/code_siamban/siamban_源码/tools/train.py", line 310, in main() File "/home/tz/code_siamban/siamban_源码/tools/train.py", line 249, in main rank, world_size = dist_init() File "/home/tz/code_siamban/siamban_源码/siamban/utils/distributed.py", line 104, in dist_init rank, world_size = _dist_init() File "/home/tz/code_siamban/siamban_源码/siamban/utils/distributed.py", line 83, in _dist_init rank = int(os.environ['RANK']) File "/home/tz/.conda/envs/siamban/lib/python3.7/os.py", line 681, in getitem raise KeyError(key) from None KeyError: 'RANK'
Have you solved the problem yet?If so, could you please tell me the solution.... 兄弟你解决这个问题了么
您好,这个问题您解决了吗
raise KeyError(key) from None KeyError: 'RANK'