GIGA icon indicating copy to clipboard operation
GIGA copied to clipboard

The program that generates data gets stuck in the first loop

Open Jinbo-Zuo opened this issue 2 years ago • 2 comments

When I run the program that generate-data as instructed in the Readme.md, it got stuck on the first loop. Then I added print to locate where the program was stuck, and found it at the following location:

generate_data.py -- "tsdf = create_tsdf(..." perception.py -- "tsdf.integrate(depth_img[i], instrinsic, extrinsic)"

Furthermore, in the integrate function,

"self._volume.integrate(rgbd, intrinsic, extrinsic)"

I don't know why I'm stuck here, has anyone else encountered this problem?

Replenish:

  1. My running environment is Ubuntu18.04+python3.8
  2. This section is very similar to vgn, but vgn is not stuck, even if their input parameters at 'create_tsdf' are the same.

Jinbo-Zuo avatar Sep 20 '23 11:09 Jinbo-Zuo

Same problem, but still no idea how to fix it.

AlchemicRonin avatar Oct 15 '23 19:10 AlchemicRonin

I have the same problem. I tried adding multiprocessing.set_start_method('spawn') at the beginning to specify the spawn mode to establish multiprocessing. Although it is slower, it works for me. I think self._volume.integrate(rgbd , intrinsic, extrinsic) in open3d has an unknown interference with multiprocessing

eric895888 avatar Apr 25 '24 22:04 eric895888