/home/shaosen/miniconda3/envs/swinseg/lib/python3.7/site-packages/torch/distributed/launch.py:164: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
  "The module torch.distributed.launch is deprecated "
The module torch.distributed.launch is deprecated and going to be removed in future.Migrate to 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. 
*****************************************
WARNING:torch.distributed.run:--use_env is deprecated and will be removed in future releases.
 Please read local_rank from `os.environ('LOCAL_RANK')` instead.
INFO:torch.distributed.launcher.api:Starting elastic_operator with launch configs:
  entrypoint       : tools/test.py
  min_nodes        : 1
  max_nodes        : 1
  nproc_per_node   : 2
  run_id           : none
  rdzv_backend     : static
  rdzv_endpoint    : 127.0.0.1:29500
  rdzv_configs     : {'rank': 0, 'timeout': 900}
  max_restarts     : 3
  monitor_interval : 5
  log_dir          : None
  metrics_cfg      : {}

INFO:torch.distributed.elastic.agent.server.local_elastic_agent:log directory set to: /tmp/torchelastic_d2p9os5r/none_kdo37i98
INFO:torch.distributed.elastic.agent.server.api:[default] starting workers for entrypoint: python
INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous'ing worker group
/home/shaosen/miniconda3/envs/swinseg/lib/python3.7/site-packages/torch/distributed/elastic/utils/store.py:53: FutureWarning: This is an experimental API and will be changed in future.
  "This is an experimental API and will be changed in future.", FutureWarning
INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous complete for workers. Result:
  restart_count=0
  master_addr=127.0.0.1
  master_port=29500
  group_rank=0
  group_world_size=1
  local_ranks=[0, 1]
  role_ranks=[0, 1]
  global_ranks=[0, 1]
  role_world_sizes=[2, 2]
  global_world_sizes=[2, 2]

INFO:torch.distributed.elastic.agent.server.api:[default] Starting worker group
INFO:torch.distributed.elastic.multiprocessing:Setting worker0 reply file to: /tmp/torchelastic_d2p9os5r/none_kdo37i98/attempt_0/0/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker1 reply file to: /tmp/torchelastic_d2p9os5r/none_kdo37i98/attempt_0/1/error.json
2023-12-15 23:52:49,477 - mmseg - INFO - Loaded 2000 images
Use load_from_local loader
Use load_from_local loader
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 2000/2000, 1.6 task/s, elapsed: 1213s, ETA:     0sper class results:

+---------------------+-------+-------+
| Class               | IoU   | Acc   |
+---------------------+-------+-------+
| wall                | 75.74 | 88.37 |
| building            | 81.59 | 91.84 |
| sky                 | 94.26 | 97.39 |
| floor               | 79.96 | 89.91 |
| tree                | 73.96 | 87.19 |
| ceiling             | 82.83 | 90.2  |
| road                | 83.54 | 90.39 |
| bed                 | 88.02 | 96.17 |
| windowpane          | 60.64 | 77.52 |
| grass               | 66.94 | 82.0  |
| cabinet             | 60.73 | 75.06 |
| sidewalk            | 64.99 | 80.2  |
| person              | 78.91 | 92.33 |
| earth               | 34.33 | 47.85 |
| door                | 41.37 | 52.22 |
| table               | 57.64 | 73.39 |
| mountain            | 56.4  | 70.05 |
| plant               | 52.53 | 66.27 |
| curtain             | 71.75 | 84.26 |
| chair               | 54.66 | 68.82 |
| car                 | 83.83 | 92.25 |
| water               | 54.82 | 68.42 |
| painting            | 71.69 | 86.28 |
| sofa                | 61.66 | 81.63 |
| shelf               | 39.43 | 60.62 |
| house               | 44.35 | 67.76 |
| sea                 | 58.8  | 83.19 |
| mirror              | 57.98 | 65.26 |
| rug                 | 55.05 | 64.65 |
| field               | 29.09 | 45.98 |
| armchair            | 38.17 | 54.55 |
| seat                | 58.09 | 81.17 |
| fence               | 40.51 | 52.73 |
| desk                | 45.97 | 64.94 |
| rock                | 44.63 | 73.56 |
| wardrobe            | 48.94 | 66.0  |
| lamp                | 60.51 | 72.77 |
| bathtub             | 71.32 | 78.04 |
| railing             | 33.22 | 46.86 |
| cushion             | 54.54 | 66.14 |
| base                | 28.23 | 37.79 |
| box                 | 22.24 | 26.68 |
| column              | 40.17 | 50.04 |
| signboard           | 36.32 | 49.13 |
| chest of drawers    | 38.16 | 50.64 |
| counter             | 31.93 | 40.12 |
| sand                | 36.73 | 55.67 |
| sink                | 67.55 | 77.21 |
| skyscraper          | 55.65 | 70.53 |
| fireplace           | 71.61 | 85.1  |
| refrigerator        | 71.34 | 81.9  |
| grandstand          | 38.94 | 66.01 |
| path                | 21.15 | 30.01 |
| stairs              | 31.72 | 37.01 |
| runway              | 63.8  | 85.14 |
| case                | 39.65 | 59.36 |
| pool table          | 92.1  | 96.78 |
| pillow              | 52.87 | 60.97 |
| screen door         | 61.32 | 70.89 |
| stairway            | 27.41 | 34.75 |
| river               | 9.28  | 17.08 |
| bridge              | 57.56 | 65.72 |
| bookcase            | 33.1  | 47.47 |
| blind               | 41.28 | 46.98 |
| coffee table        | 55.24 | 79.4  |
| toilet              | 81.77 | 88.96 |
| flower              | 43.0  | 58.52 |
| book                | 48.99 | 72.1  |
| hill                | 7.3   | 9.89  |
| bench               | 38.54 | 50.16 |
| countertop          | 57.08 | 76.04 |
| stove               | 71.55 | 77.62 |
| palm                | 50.9  | 77.25 |
| kitchen island      | 38.05 | 64.31 |
| computer            | 54.78 | 67.96 |
| swivel chair        | 46.82 | 62.71 |
| boat                | 62.26 | 79.1  |
| bar                 | 28.21 | 34.54 |
| arcade machine      | 51.85 | 57.58 |
| hovel               | 35.32 | 37.39 |
| bus                 | 82.02 | 96.11 |
| towel               | 62.72 | 73.88 |
| light               | 55.19 | 61.87 |
| truck               | 35.46 | 47.21 |
| tower               | 33.6  | 42.33 |
| chandelier          | 66.26 | 78.01 |
| awning              | 25.54 | 29.4  |
| streetlight         | 21.9  | 26.47 |
| booth               | 65.86 | 70.55 |
| television receiver | 66.34 | 76.35 |
| airplane            | 62.27 | 71.6  |
| dirt track          | 5.62  | 11.34 |
| apparel             | 32.66 | 46.59 |
| pole                | 16.61 | 20.83 |
| land                | 4.13  | 5.04  |
| bannister           | 9.52  | 11.39 |
| escalator           | 30.3  | 37.43 |
| ottoman             | 46.74 | 52.83 |
| bottle              | 36.42 | 57.93 |
| buffet              | 33.53 | 37.88 |
| poster              | 34.13 | 43.56 |
| stage               | 16.22 | 22.9  |
| van                 | 39.73 | 47.29 |
| ship                | 16.24 | 19.32 |
| fountain            | 28.93 | 32.0  |
| conveyer belt       | 61.93 | 88.59 |
| canopy              | 18.43 | 21.73 |
| washer              | 67.12 | 71.46 |
| plaything           | 22.18 | 35.05 |
| swimming pool       | 49.1  | 73.2  |
| stool               | 37.95 | 50.32 |
| barrel              | 48.44 | 64.67 |
| basket              | 31.32 | 43.0  |
| waterfall           | 71.62 | 83.43 |
| tent                | 92.36 | 97.88 |
| bag                 | 14.67 | 17.09 |
| minibike            | 71.07 | 81.86 |
| cradle              | 75.63 | 91.42 |
| oven                | 23.44 | 57.51 |
| ball                | 39.82 | 44.78 |
| food                | 49.52 | 60.03 |
| step                | 15.1  | 18.58 |
| tank                | 53.59 | 57.59 |
| trade name          | 26.63 | 31.82 |
| microwave           | 44.37 | 50.06 |
| pot                 | 34.39 | 40.06 |
| animal              | 57.73 | 60.47 |
| bicycle             | 55.91 | 73.74 |
| lake                | 51.99 | 64.49 |
| dishwasher          | 55.67 | 67.29 |
| screen              | 57.03 | 76.02 |
| blanket             | 8.97  | 10.17 |
| sculpture           | 54.55 | 63.56 |
| hood                | 56.58 | 60.4  |
| sconce              | 41.68 | 51.28 |
| vase                | 36.32 | 46.95 |
| traffic light       | 28.29 | 45.54 |
| tray                | 4.4   | 5.88  |
| ashcan              | 41.94 | 52.91 |
| fan                 | 58.53 | 68.61 |
| pier                | 64.38 | 77.24 |
| crt screen          | 2.77  | 7.6   |
| plate               | 54.49 | 66.54 |
| monitor             | 7.97  | 14.56 |
| bulletin board      | 45.19 | 57.79 |
| shower              | 0.0   | 0.0   |
| radiator            | 53.1  | 58.11 |
| glass               | 10.11 | 10.86 |
| clock               | 30.71 | 34.54 |
| flag                | 34.19 | 36.22 |
+---------------------+-------+-------+
Summary:

+--------+-------+-------+-------+
| Scope  | mIoU  | mAcc  | aAcc  |
+--------+-------+-------+-------+
| global | 46.96 | 58.15 | 82.08 |
+--------+-------+-------+-------+
INFO:torch.distributed.elastic.agent.server.api:[default] worker group successfully finished. Waiting 300 seconds for other agents to finish.
INFO:torch.distributed.elastic.agent.server.api:Local worker group finished (SUCCEEDED). Waiting 300 seconds for other agents to finish
/home/shaosen/miniconda3/envs/swinseg/lib/python3.7/site-packages/torch/distributed/elastic/utils/store.py:71: FutureWarning: This is an experimental API and will be changed in future.
  "This is an experimental API and will be changed in future.", FutureWarning
INFO:torch.distributed.elastic.agent.server.api:Done waiting for other agents. Elapsed: 0.00036525726318359375 seconds
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "WORKER", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": 0, "group_rank": 0, "worker_id": "636997", "role": "default", "hostname": "shaosen", "state": "SUCCEEDED", "total_run_time": 1281, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\", \"local_rank\": [0], \"role_rank\": [0], \"role_world_size\": [2]}", "agent_restarts": 0}}
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "WORKER", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": 1, "group_rank": 0, "worker_id": "636998", "role": "default", "hostname": "shaosen", "state": "SUCCEEDED", "total_run_time": 1281, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\", \"local_rank\": [1], \"role_rank\": [1], \"role_world_size\": [2]}", "agent_restarts": 0}}
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "AGENT", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": null, "group_rank": 0, "worker_id": null, "role": "default", "hostname": "shaosen", "state": "SUCCEEDED", "total_run_time": 1281, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\"}", "agent_restarts": 0}}



/home/shaosen/miniconda3/envs/swinseg/lib/python3.7/site-packages/torch/distributed/launch.py:164: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
  "The module torch.distributed.launch is deprecated "
The module torch.distributed.launch is deprecated and going to be removed in future.Migrate to 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. 
*****************************************
WARNING:torch.distributed.run:--use_env is deprecated and will be removed in future releases.
 Please read local_rank from `os.environ('LOCAL_RANK')` instead.
INFO:torch.distributed.launcher.api:Starting elastic_operator with launch configs:
  entrypoint       : tools/test.py
  min_nodes        : 1
  max_nodes        : 1
  nproc_per_node   : 2
  run_id           : none
  rdzv_backend     : static
  rdzv_endpoint    : 127.0.0.1:29500
  rdzv_configs     : {'rank': 0, 'timeout': 900}
  max_restarts     : 3
  monitor_interval : 5
  log_dir          : None
  metrics_cfg      : {}

INFO:torch.distributed.elastic.agent.server.local_elastic_agent:log directory set to: /tmp/torchelastic_yv9nrvxq/none_zf2xyt1g
INFO:torch.distributed.elastic.agent.server.api:[default] starting workers for entrypoint: python
INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous'ing worker group
/home/shaosen/miniconda3/envs/swinseg/lib/python3.7/site-packages/torch/distributed/elastic/utils/store.py:53: FutureWarning: This is an experimental API and will be changed in future.
  "This is an experimental API and will be changed in future.", FutureWarning
INFO:torch.distributed.elastic.agent.server.api:[default] Rendezvous complete for workers. Result:
  restart_count=0
  master_addr=127.0.0.1
  master_port=29500
  group_rank=0
  group_world_size=1
  local_ranks=[0, 1]
  role_ranks=[0, 1]
  global_ranks=[0, 1]
  role_world_sizes=[2, 2]
  global_world_sizes=[2, 2]

INFO:torch.distributed.elastic.agent.server.api:[default] Starting worker group
INFO:torch.distributed.elastic.multiprocessing:Setting worker0 reply file to: /tmp/torchelastic_yv9nrvxq/none_zf2xyt1g/attempt_0/0/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker1 reply file to: /tmp/torchelastic_yv9nrvxq/none_zf2xyt1g/attempt_0/1/error.json
2024-01-14 21:14:35,292 - mmseg - INFO - Loaded 2000 images
Use load_from_local loader
Use load_from_local loader
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 2000/2000, 14.9 task/s, elapsed: 134s, ETA:     0sper class results:

+---------------------+-------+-------+
| Class               | IoU   | Acc   |
+---------------------+-------+-------+
| wall                | 74.6  | 87.21 |
| building            | 81.04 | 90.89 |
| sky                 | 94.03 | 97.23 |
| floor               | 78.81 | 89.62 |
| tree                | 72.82 | 86.24 |
| ceiling             | 81.89 | 90.24 |
| road                | 82.14 | 88.97 |
| bed                 | 87.21 | 95.15 |
| windowpane          | 59.2  | 76.08 |
| grass               | 65.8  | 80.47 |
| cabinet             | 59.36 | 73.75 |
| sidewalk            | 63.16 | 80.82 |
| person              | 77.13 | 90.2  |
| earth               | 34.11 | 46.38 |
| door                | 39.6  | 53.12 |
| table               | 55.16 | 71.8  |
| mountain            | 57.76 | 71.59 |
| plant               | 52.14 | 64.6  |
| curtain             | 68.66 | 82.06 |
| chair               | 52.57 | 67.13 |
| car                 | 82.59 | 91.39 |
| water               | 53.32 | 66.53 |
| painting            | 70.39 | 85.05 |
| sofa                | 61.22 | 79.87 |
| shelf               | 37.64 | 57.62 |
| house               | 42.4  | 65.86 |
| sea                 | 58.16 | 81.0  |
| mirror              | 56.33 | 63.77 |
| rug                 | 53.83 | 63.03 |
| field               | 25.48 | 45.12 |
| armchair            | 38.82 | 56.86 |
| seat                | 56.55 | 81.09 |
| fence               | 37.51 | 50.6  |
| desk                | 42.81 | 62.94 |
| rock                | 44.12 | 69.09 |
| wardrobe            | 47.82 | 64.0  |
| lamp                | 56.9  | 70.68 |
| bathtub             | 69.59 | 77.29 |
| railing             | 32.46 | 45.17 |
| cushion             | 52.23 | 65.22 |
| base                | 23.22 | 31.23 |
| box                 | 20.35 | 26.05 |
| column              | 38.1  | 49.01 |
| signboard           | 35.31 | 51.2  |
| chest of drawers    | 38.79 | 52.49 |
| counter             | 28.65 | 36.19 |
| sand                | 35.77 | 56.08 |
| sink                | 62.96 | 73.8  |
| skyscraper          | 61.9  | 82.26 |
| fireplace           | 68.77 | 82.8  |
| refrigerator        | 71.98 | 82.86 |
| grandstand          | 44.41 | 66.3  |
| path                | 20.11 | 28.78 |
| stairs              | 30.54 | 38.15 |
| runway              | 62.55 | 84.05 |
| case                | 41.34 | 63.07 |
| pool table          | 90.87 | 95.85 |
| pillow              | 50.02 | 59.34 |
| screen door         | 55.88 | 68.08 |
| stairway            | 27.96 | 33.63 |
| river               | 7.18  | 16.09 |
| bridge              | 50.18 | 61.63 |
| bookcase            | 32.26 | 46.91 |
| blind               | 42.28 | 48.49 |
| coffee table        | 54.11 | 78.6  |
| toilet              | 80.12 | 87.55 |
| flower              | 41.75 | 57.25 |
| book                | 46.89 | 71.42 |
| hill                | 8.03  | 11.7  |
| bench               | 37.2  | 48.92 |
| countertop          | 55.88 | 75.76 |
| stove               | 69.39 | 76.47 |
| palm                | 50.17 | 80.27 |
| kitchen island      | 34.65 | 58.98 |
| computer            | 56.11 | 69.9  |
| swivel chair        | 42.25 | 56.68 |
| boat                | 67.69 | 86.48 |
| bar                 | 26.27 | 33.29 |
| arcade machine      | 52.72 | 59.66 |
| hovel               | 30.95 | 34.42 |
| bus                 | 76.41 | 93.71 |
| towel               | 58.9  | 68.44 |
| light               | 53.55 | 61.71 |
| truck               | 28.12 | 39.21 |
| tower               | 34.52 | 44.04 |
| chandelier          | 64.02 | 78.63 |
| awning              | 25.49 | 29.71 |
| streetlight         | 21.04 | 26.8  |
| booth               | 61.89 | 73.67 |
| television receiver | 63.45 | 76.44 |
| airplane            | 59.34 | 65.81 |
| dirt track          | 5.89  | 13.56 |
| apparel             | 31.65 | 46.63 |
| pole                | 17.76 | 24.27 |
| land                | 4.59  | 5.54  |
| bannister           | 10.51 | 13.88 |
| escalator           | 31.46 | 39.01 |
| ottoman             | 45.71 | 54.61 |
| bottle              | 36.01 | 57.15 |
| buffet              | 35.44 | 41.38 |
| poster              | 28.58 | 42.19 |
| stage               | 13.14 | 18.31 |
| van                 | 41.33 | 52.85 |
| ship                | 53.91 | 59.04 |
| fountain            | 30.2  | 32.56 |
| conveyer belt       | 64.82 | 87.89 |
| canopy              | 11.27 | 13.56 |
| washer              | 65.62 | 70.89 |
| plaything           | 18.97 | 30.22 |
| swimming pool       | 46.35 | 66.34 |
| stool               | 36.04 | 51.68 |
| barrel              | 33.31 | 64.66 |
| basket              | 30.2  | 44.71 |
| waterfall           | 72.96 | 81.88 |
| tent                | 94.26 | 97.95 |
| bag                 | 13.14 | 15.67 |
| minibike            | 67.32 | 79.5  |
| cradle              | 74.85 | 92.07 |
| oven                | 21.71 | 54.26 |
| ball                | 33.76 | 37.07 |
| food                | 49.14 | 57.22 |
| step                | 15.32 | 19.02 |
| tank                | 48.99 | 54.43 |
| trade name          | 24.09 | 31.07 |
| microwave           | 41.7  | 47.59 |
| pot                 | 38.89 | 46.41 |
| animal              | 56.83 | 60.39 |
| bicycle             | 54.32 | 71.49 |
| lake                | 51.85 | 67.71 |
| dishwasher          | 52.33 | 67.85 |
| screen              | 50.88 | 71.4  |
| blanket             | 8.26  | 9.55  |
| sculpture           | 51.03 | 59.38 |
| hood                | 57.05 | 63.19 |
| sconce              | 38.79 | 48.26 |
| vase                | 32.52 | 45.44 |
| traffic light       | 27.21 | 44.38 |
| tray                | 4.18  | 6.18  |
| ashcan              | 37.38 | 50.16 |
| fan                 | 57.09 | 68.16 |
| pier                | 63.68 | 80.72 |
| crt screen          | 1.78  | 5.19  |
| plate               | 50.92 | 64.33 |
| monitor             | 8.46  | 15.76 |
| bulletin board      | 40.97 | 56.56 |
| shower              | 0.0   | 0.0   |
| radiator            | 46.31 | 52.78 |
| glass               | 9.94  | 10.67 |
| clock               | 33.87 | 39.03 |
| flag                | 34.63 | 38.67 |
+---------------------+-------+-------+
Summary:

+--------+-------+-------+-------+
| Scope  | mIoU  | mAcc  | aAcc  |
+--------+-------+-------+-------+
| global | 45.73 | 57.65 | 81.24 |
+--------+-------+-------+-------+
INFO:torch.distributed.elastic.agent.server.api:[default] worker group successfully finished. Waiting 300 seconds for other agents to finish.
INFO:torch.distributed.elastic.agent.server.api:Local worker group finished (SUCCEEDED). Waiting 300 seconds for other agents to finish
/home/shaosen/miniconda3/envs/swinseg/lib/python3.7/site-packages/torch/distributed/elastic/utils/store.py:71: FutureWarning: This is an experimental API and will be changed in future.
  "This is an experimental API and will be changed in future.", FutureWarning
INFO:torch.distributed.elastic.agent.server.api:Done waiting for other agents. Elapsed: 0.0001900196075439453 seconds
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "WORKER", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": 0, "group_rank": 0, "worker_id": "3612203", "role": "default", "hostname": "shaosen", "state": "SUCCEEDED", "total_run_time": 170, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\", \"local_rank\": [0], \"role_rank\": [0], \"role_world_size\": [2]}", "agent_restarts": 0}}
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "WORKER", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": 1, "group_rank": 0, "worker_id": "3612204", "role": "default", "hostname": "shaosen", "state": "SUCCEEDED", "total_run_time": 170, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\", \"local_rank\": [1], \"role_rank\": [1], \"role_world_size\": [2]}", "agent_restarts": 0}}
{"name": "torchelastic.worker.status.SUCCEEDED", "source": "AGENT", "timestamp": 0, "metadata": {"run_id": "none", "global_rank": null, "group_rank": 0, "worker_id": null, "role": "default", "hostname": "shaosen", "state": "SUCCEEDED", "total_run_time": 170, "rdzv_backend": "static", "raw_error": null, "metadata": "{\"group_world_size\": 1, \"entry_point\": \"python\"}", "agent_restarts": 0}}