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

Visualization of the results #24

Closed
pbonazzi opened this issue Jul 21, 2022 · 2 comments
Closed

Visualization of the results #24

pbonazzi opened this issue Jul 21, 2022 · 2 comments

Comments

@pbonazzi
Copy link

pbonazzi commented Jul 21, 2022

Hi , I have a couple of questions on the results I am getting during training .

  1. The directory val contains best.ply which if visualized with open3d with the following code, is showing an empty view.
import open3d as o3d
path="best.ply"
textured_mesh = o3d.io.read_point_cloud(path)
o3d.visualization.draw_geometries([textured_mesh])
  1. I can see how the model trains using tensorboard . And I have noticed there are points surrounding the point cloud , is this expected ?

  2. The directory vis is empty. Why ?

  3. In addition, how can I get the final mesh (the grey one you show in the paper) ?

  4. Finally, does the model handle texture in some way ?

@lxxue
Copy link
Collaborator

lxxue commented Jul 21, 2022

  1. The optimized points are saved in best.ply. I can visualize the point cloud in meshlab. Probably you need to check how open3d visualizes a point cloud.

  2. This is quite common to me. Some points will be pushed to the empty space and stay there.

  3. The visualization is put in tensorboard now. You can check trainer.visualize function for more details and tweak yourself if you want to visualize other stuff.

  4. I am not sure how the mesh was generated in the paper. I think you can use the screened Poisson reconstruction method to get a mesh from the point cloud and the normals.

  5. I think you can render textured images by changing some codes here:

    textures = Textures(verts_rgb=torch.ones(
    1, verts.shape[0], 3)).to(device=device)

@pbonazzi
Copy link
Author

pbonazzi commented Aug 4, 2022

Amazing support thanks !

@pbonazzi pbonazzi closed this as completed Aug 4, 2022
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

2 participants