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

coordinate_map.visualization in render_scene gets stuck every time it's run #6

Open
qixuanwang-233 opened this issue Dec 24, 2023 · 0 comments

Comments

@qixuanwang-233
Copy link

Hello, every time I run the code coordinate_map.visualization program in render_scene gets stuck. Do you know what is going on? Can you help me solve it? Here's my Settings' OKAY 'that helped me figure out where I got stuck.

def render_scene(save_path, exemplar, coordinate_map, trajectory_path, vis_mapping_field=False, extract_mesh=False,
mesh_path=None, sdf_thres=0.0, fps=8):
scene = coordinate_map.create_scene(exemplar, use_grid_data=True)
scene.visualization(f"{save_path}/scene", trajectory_path, fps=fps)
print("all OKAY1")
if vis_mapping_field:
if extract_mesh:
print("all OKAY2")
mesh_path = f"{save_path}/mesh.obj"
print("all OKAY3")
scene.extract_mesh(mesh_path, floodfill=False)
print("all OKAY4")
print("all OKAY5")
coordinate_map.visualization(f"{save_path}/coordinate_map", trajectory_path, mesh_path, sdf_thres, fps=fps)
print("all OKAY6")
del scene
print("all OKAY7")

In the terminal, it goes to OKAY5 and stays there.
all OKAY1
all OKAY2
all OKAY3
Extracting mesh and save to ./outputs/default/DevilsTower/rescale_bounds1.0_1.0_1.0+16_21_28_38_51_68_91/s402173+sANNF5+gaussian0.5+geo_tsdf3+app_pca3+w_app0.5+alpha0.01+ps5+citers10+jonce_True/ANNF_reso68_68_39+itrs1/mesh.obj.
all OKAY4
all OKAY5

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

1 participant