Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The program that generates data gets stuck in the first loop #31

Open
Jinbo-Zuo opened this issue Sep 20, 2023 · 2 comments
Open

The program that generates data gets stuck in the first loop #31

Jinbo-Zuo opened this issue Sep 20, 2023 · 2 comments

Comments

@Jinbo-Zuo
Copy link

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.
@AlchemicRonin
Copy link

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

@eric895888
Copy link

eric895888 commented Apr 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants