JeffWang987 / OpenOccupancy

[ICCV 2023] OpenOccupancy: A Large Scale Benchmark for Surrounding Semantic Occupancy Perception
Apache License 2.0
551 stars 49 forks source link

ValueError: Pool not running #8

Closed shenxiaowrj closed 1 year ago

shenxiaowrj commented 1 year ago

After I've been running gen_depth_gt.py for a while, and I've generated some ground truths (maybe not all), I suddenly get the following error: Traceback (most recent call last): File "./tools/gen_data/gen_depth_gt.py", line 137, in <module> po.apply_async(func=worker, args=(info, )) File "/home/re/anaconda3/envs/open-mmlab/lib/python3.8/multiprocessing/pool.py", line 455, in apply_async self._check_running() File "/home/re/anaconda3/envs/open-mmlab/lib/python3.8/multiprocessing/pool.py", line 350, in _check_running raise ValueError("Pool not running") ValueError: Pool not running

What is causing this problem? Is my CPU performance insufficient or is there some bug in the project code? I sincerely hope that you could help.Thank you!

qihao-plus commented 1 year ago

git pull latest code. ref https://github.com/JeffWang987/OpenOccupancy/issues/2

shenxiaowrj commented 1 year ago

Thanks,I'll try it now.

shenxiaowrj commented 1 year ago

git pull latest code. ref #2

I use the latest version of the code and then rerun it, but I get the same error, the error message and the key code snippet are shown in the figure below: 0d896c3a185bd1cbafccc9dca8e5777

promesse commented 1 year ago

i meet the same problrm

JeffWang987 commented 1 year ago

Use the code below to localize the error. image

promesse commented 1 year ago

git pull latest code. ref #2

I use the latest version of the code and then rerun it, but I get the same error, the error message and the key code snippet are shown in the figure below: 0d896c3a185bd1cbafccc9dca8e5777

Hi brother I fixed it by set a new po. I think maybe the same instance po can't be closed and then used. 截图

shenxiaowrj commented 1 year ago

git pull latest code. ref #2

I use the latest version of the code and then rerun it, but I get the same error, the error message and the key code snippet are shown in the figure below: 0d896c3a185bd1cbafccc9dca8e5777

Hi brother I fixed it by set a new po. I think maybe the same instance po can't be closed and then used. 截图

Thanks! I also offer my methodology. I split the generation of the ground truth for TRAIN and Val into two phases. In this way, no errors are encountered. ba0ac9cebb9e5361a713575266cabb9

shenxiaowrj commented 1 year ago

Use the code below to localize the error. image

Thanks!