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

Orientation and reconstruction quality #3

Closed
kohlisimranjit opened this issue Nov 7, 2020 · 4 comments
Closed

Orientation and reconstruction quality #3

kohlisimranjit opened this issue Nov 7, 2020 · 4 comments

Comments

@kohlisimranjit
Copy link

Hi,
Thank you for the good work and providing the data and trained models. It helps a lot! tried to test the reconstruction on our dataset with the provided pre-trained model and we get poor results.
image
The left most part is our voxelization of the ground truth mesh (shown on the center). The right most part is the reconstruction.
We have not trained or fine tuned on our dataset. I was wondering what could the potential issue be. Could it be orientation or something else?

@czq142857
Copy link
Owner

Yes. Please make sure the orientation of your data is consistent with our provided data.
The 3D CNN encoder is not invariant to rotation and scale. So you also need to normalize your data correctly before doing voxelization. Please normalize each shape so that the diagonal of its bounding box equals to one. (If you use binvox you are likely to place the shape in a unit cube so that the longest edge in its bounding box is one.)

Best,
Zhiqin

@kohlisimranjit
Copy link
Author

Thanks a ton! And just to confirm so if I have my own mesh I need to run the following command for each file to get the 646464 voxel:
czq142857/IM-NET#10 (comment)

@czq142857
Copy link
Owner

Yes.
binvox -bb -0.5 -0.5 -0.5 0.5 0.5 0.5 -d 64 -e input.obj
"-bb" defines the bounding box.

@kohlisimranjit
Copy link
Author

thanks!

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