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

Perform Instance Segmentation on a single .ply file. #67

Closed
athanzxyt opened this issue Jul 9, 2024 · 5 comments
Closed

Perform Instance Segmentation on a single .ply file. #67

athanzxyt opened this issue Jul 9, 2024 · 5 comments

Comments

@athanzxyt
Copy link

Hi!

I'm a bit confused with the readme and not sure how to proceed. I'm trying to use this model for a school project, how can I adapt this repository to perform semantic instance segmentation on a single .ply file.

@oneformer3d-contributor
Copy link
Collaborator

oneformer3d-contributor commented Jul 9, 2024

Unfortunately we do not provide script for it. Please looks at #9, #57.

@athanzxyt
Copy link
Author

I'm still confused after reading through those previous issues. Are you saying its not possible to perform inference using the model weights you've already provided?

I don't want to train or test the model extensively, I only need to perform small inference.

@oneformer3d-contributor
Copy link
Collaborator

oneformer3d-contributor commented Jul 9, 2024

It is possible. You can simply do smth like build_model(config).predict(dict(points=pcd)). Where pcd is an array of n_points, 6 for (x, y, z, r, g, b). Just copy the S3DISOneFormer3D model part from our s3dis config and be sure that input point cloud is normalised in the same way as in our s3dis config.

@athanzxyt
Copy link
Author

Where does build_model come from, I don't see it in either this or the mmdetection repos

@oneformer3d-contributor
Copy link
Collaborator

oneformer3d-contributor commented Jul 10, 2024

mmengine.registry.build_functions.build_model_from_cfg

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