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

Question on testing part segmentation on custom data #141

Open
tengyu-liu opened this issue Mar 1, 2021 · 1 comment
Open

Question on testing part segmentation on custom data #141

tengyu-liu opened this issue Mar 1, 2021 · 1 comment

Comments

@tengyu-liu
Copy link

Hi,

Thank you for sharing your code! I'd like to ask how should I approach testing the part segmentation branch on some custom data? I have tried to provide my point clouds to the test_any_model.py script but the TensorFlow dataset is giving me a huge headache.

@HuguesTHOMAS
Copy link
Owner

Hi @tengyu-liu,

In tester.py, follow the execution of the code in the test_cloud_segmentation function.

On the dataset side, what you want to follow are the functions get_batch_gen and get_tf_mapping. The Tensorflow code is pretty complex. The quickest way to achieve what you want with a custom dataset is to follow the structure of an existing dataset class.

For an easier code understanding, I strongly recommend the PyTorch version of KPConv.

Best,
Hugues

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