A flexible and extensible framework for gait recognition. You can focus on designing your own models and comparing with state-of-the-arts easily with the help of OpenGait.
665
stars
154
forks
source link
test.sh - RuntimeError: unmatched '}' in format string #162
[2023-10-19 12:36:02,385] torch.distributed.elastic.multiprocessing.redirects: [WARNING] NOTE: Redirects are currently not supported in Windows or MacOs.
C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launch.py:181: 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(
[2023-10-19 12:36:02,426] torch.distributed.run: [WARNING]
[2023-10-19 12:36:02,426] torch.distributed.run: [WARNING]
[2023-10-19 12:36:02,426] torch.distributed.run: [WARNING] 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.
[2023-10-19 12:36:02,426] torch.distributed.run: [WARNING]
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launch.py", line 196, in
main()
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launch.py", line 192, in main
launch(args)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launch.py", line 177, in launch
run(args)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\run.py", line 797, in run
elastic_launch(
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launcher\api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launcher\api.py", line 255, in launch_agent
result = agent.run()
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 124, in wrapper
result = f(*args, kwargs)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 736, in run
result = self._invoke_run(role)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 871, in _invoke_run
self._initialize_workers(self._worker_group)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 124, in wrapper
result = f(*args, *kwargs)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 705, in _initialize_workers
self._rendezvous(worker_group)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 124, in wrapper
result = f(args, kwargs)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 546, in _rendezvous
store, group_rank, group_world_size = spec.rdzv_handler.next_rendezvous()
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\rendezvous\static_tcp_rendezvous.py", line 54, in next_rendezvous
self._store = TCPStore( # type: ignore[call-arg]
RuntimeError: unmatched '}' in format string
[2023-10-19 12:36:02,385] torch.distributed.elastic.multiprocessing.redirects: [WARNING] NOTE: Redirects are currently not supported in Windows or MacOs. C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launch.py:181: 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 fromos.environ['LOCAL_RANK']
instead. See https://pytorch.org/docs/stable/distributed.html#launch-utility for further instructionswarnings.warn( [2023-10-19 12:36:02,426] torch.distributed.run: [WARNING] [2023-10-19 12:36:02,426] torch.distributed.run: [WARNING] [2023-10-19 12:36:02,426] torch.distributed.run: [WARNING] 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. [2023-10-19 12:36:02,426] torch.distributed.run: [WARNING] Traceback (most recent call last): File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launch.py", line 196, in
main()
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launch.py", line 192, in main
launch(args)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launch.py", line 177, in launch
run(args)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\run.py", line 797, in run
elastic_launch(
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launcher\api.py", line 134, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\launcher\api.py", line 255, in launch_agent
result = agent.run()
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 124, in wrapper
result = f(*args, kwargs)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 736, in run
result = self._invoke_run(role)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 871, in _invoke_run
self._initialize_workers(self._worker_group)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 124, in wrapper
result = f(*args, *kwargs)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 705, in _initialize_workers
self._rendezvous(worker_group)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 124, in wrapper
result = f(args, kwargs)
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 546, in _rendezvous
store, group_rank, group_world_size = spec.rdzv_handler.next_rendezvous()
File "C:\Users\callm\Documents\OpenGait\venv\lib\site-packages\torch\distributed\elastic\rendezvous\static_tcp_rendezvous.py", line 54, in next_rendezvous
self._store = TCPStore( # type: ignore[call-arg]
RuntimeError: unmatched '}' in format string
Problem when I run test.sh