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

How to generate mesh file when run on a custom dataset #3

Open
YuzhongHuangCS opened this issue Nov 5, 2024 · 3 comments
Open

How to generate mesh file when run on a custom dataset #3

YuzhongHuangCS opened this issue Nov 5, 2024 · 3 comments

Comments

@YuzhongHuangCS
Copy link

YuzhongHuangCS commented Nov 5, 2024

I am trying to run point2building on a custom dataset. When running test_models.py, the dataloader will read a mesh file and I wonder if there is a script to inference and generate that mesh file.

The line to read mesh file is: Link

Below is the error message I get:

  File "~/point2building/src/modules/data_modules.py", line 55, in __getitem__
    vertices, faces = data_utils.load_obj(mesh_file)
  File "~/point2building/src/utils/data_utils.py", line 14, in load_obj
    with open(poly_file) as f:
FileNotFoundError: [Errno 2] No such file or directory
@YuzhongHuangCS
Copy link
Author

YuzhongHuangCS commented Nov 8, 2024

I realize I need to provide GT mesh here and was able to get the code running. Is there a way to run inference without GT mesh?

@oyoyogg
Copy link

oyoyogg commented Nov 19, 2024

I realize I need to provide GT mesh here and was able to get the code running. Is there a way to run inference without GT mesh?

Hello,do you realize it now?

@ShuaibZyx
Copy link

The DataSet method loads all data by default, including point cloud and GTMesh, and only point cloud data was used during testing. If you do not have GTMesh data, you can organize the point cloud data in the same way that the point cloud data is loaded in this class, so that its input meets the requirements. @YuzhongHuangCS @oyoyogg

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