-
Notifications
You must be signed in to change notification settings - Fork 32
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 apply the network on my own dataset using test code #9
Comments
Yes, some script like this should work. Btw, TD3D uses mmdet3d version 1.0, and for OneFormer3D it is 1.1. And there were a lot of changes between these two versions. |
I also want to train my own data, my data only has two semantic categories, how can I change the code in the configuration file (https://github.com/filaPro/oneformer3d/blob/main/configs/oneformer3d_1xb2_s3dis-area-5.py)? -- (L200) stuff_cls=[0, 1, 2, 3, 4, 5, 6, 12], |
These |
@filaPro Thank you for the reply, To run the test demo code, I tried first to install required libararies and run it. But I got this error:
The error seems to be related to CUDA version, so I checked my GPU CUDA version, can you tell me if I can install this model or what shall I do to install formerone3d network model (where I got 2 versions of CUDA) ?
|
|
@filaPro thank you so much for this amazing work. I tried to play around with a solution similar to what @mostafa501 posted above, which is what mmdet3d suggests, but I encountered some issues related to some internal mmdet structure. I believe the code is trying to find the ground-truth for the provided pointcloud. I've seen that you encountered and solved a similar issue here, and similar errors are happening to me as well. Could you please provide a working example that runs the method on a custom input pointcloud without any labels available? I think it would be a great addition to the repository, as e.g. Mask3D proposes, so everyone will be able to play with the method and see how it works on their own data. |
Unfortunately don't have much time now as switching to a new job in a new country. Don't quite understand why smth like demo.ipynb shouldn't work. For sure it doesn't need annotations. In our test pileline for S3DIS dataset we return only point. You can use the same pipeline, just remove the |
I have deleted the panoptic segmentation call by commenting line no. 137 to 140 and
|
Have you solved it now? |
@Lizhinwafu
With this, I was able to train on my custom dataset! |
Many thanks.
…------------------ Original ------------------
From: Prathamesh Dinkar ***@***.***>
Date: Thu,Jul 25,2024 5:07 AM
To: oneformer3d/oneformer3d ***@***.***>
Cc: Lizhi Jiang ***@***.***>, Mention ***@***.***>
Subject: Re: [oneformer3d/oneformer3d] How to apply the network on my owndataset using test code (Issue #9)
@Lizhinwafu
Yes, I was able to solve it!
Modify the classes ids in mmdetection3d/tools/dataset_converters/s3dis_data_utils.py based on the your dataset. Modification are to be done at line no. 28, 180, and 181.
Modify the class names in mmdetection3d/tools/dataset_converters/update_infos_to_v2.py at line 538.
Modify the METAINFO in oneformer3d/s3dis_dataset.py by changing the class names and count
Modify configs/oneformer3d_1xb4_scannet.py by changing the num_instance_classes, num_semantic_classes, class_names, etc. There are many changes required in this file (doing this is quite intuitive though)
With this, I was able to train on my custom dataset!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi, thank you so much for publishing this work, we want to use this network for better accuracy. So we ask how to test our own collected data as we did before in TD3D network.
This is the demo test used in TD3D, is it available to use a snippet like this or not:
Thank you so much for the continuous help.
The text was updated successfully, but these errors were encountered: