hqucv / siamban

Siamese Box Adaptive Network for Visual Tracking
Apache License 2.0
280 stars 52 forks source link

training problem #41

Open Tangzhaotz opened 3 years ago

Tangzhaotz commented 3 years ago

raise KeyError(key) from None KeyError: 'RANK'

zeduchen commented 3 years ago

Can you provide a more detailed description and experiment log?

Tangzhaotz commented 3 years ago

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'

zeduchen commented 3 years ago

Do you run the code directly in the IDE? We run the code in the Linux terminal.

FMZCY commented 3 years ago

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...

FMZCY commented 3 years ago

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....

894986710 commented 3 years ago

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.... 兄弟你解决这个问题了么

xiaobai111111223 commented 2 years ago

遇到了相同的问题,求教怎样解决

xiaobai111111223 commented 2 years ago

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...

您好,这个问题您解决了吗?怎样解决的可以说一下吗

xiaobai111111223 commented 2 years ago

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.... 兄弟你解决这个问题了么

您好,这个问题您解决了吗