-
Notifications
You must be signed in to change notification settings - Fork 29
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 run code on other dataset #27
Comments
Hi @vedantpatel41, RoomFormer was trained on Structured3D, a synthetic dataset of residential apartment scenes. We also had a variant of model trained on SceneCAD, a dataset of single-room scenes. Due to domain gap with your dataset, they may not work well, just as you show. Regarding the density map generation, did you follow the code for Structured3D or SceneCAD? Please observe which dataset is most similar to yours and use the corresponding model and density map preprocessing procedure. To train the model on your dataset, you need to prepare the training pairs: density map + annotation. The density map can be obtained by projecting 3D point clouds to 2D using our code. The annotation is a list of polygons (which in turn are a list of ordered vertices), which needs to be collected by hand. I had no experience for annotating this. But one potential way to do that is to load point clouds to CouldCompare (or other PC viewer), check the coordinates of room corners and read them out sequentially. |
@ywyue @vedantpatel41 Sorry to bother you, I want to make inferences on my own data, how should I proceed? Thank you |
Hi @zxbzhineng, to make inferences on your own data using the pretrained network, you need to first convert your 3D scan to density map. Here is the code for preprocessing: https://github.com/ywyue/RoomFormer/tree/main/data_preprocess If your scan looks more similar with Structured3D, please follow the preprocessing step of Structured3D, otherwise SceneCAD. The inference code is here: Line 205 in 33ad087
You need to modify the code a bit to adapt it to your dataset. |
hello there, i am interested in applying this model on my dataset. i have point cloud data of an building floor. how can i run this model on it?
can you elaborate how can i do this.
The text was updated successfully, but these errors were encountered: