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

Is 4_make_auxiliary_dat_file.ipynb supposed to generate the same formatted dat files as the ones in the gdrive of shapenet? #108

Open
ValentinKlamka opened this issue Sep 17, 2022 · 2 comments

Comments

@ValentinKlamka
Copy link

My issue is, I picked a random dat file in gdrive https://drive.google.com/file/d/1gD-dk-XrAa5mfrgdZSunjaS6pUUWsZgU/view and the shape is (13332, 6). Whereas if I generate something from an .obj file with 4_make_auxiliary_dat_file.ipynb and try to print the shape, there is at first the following error:
AttributeError: 'tuple' object has no attribute 'shape'
and after trying to resolve it with datfile=np.array(datfile), datfile.shape gives me (8,). That also happens with the ellipsoid in Data/ellipsoid/info_ellipsoid.dat.
Is this script supposed to generate the same datfiles as on the gdrive of shapenet?
If not, what went wrong here? If that is not supposed to be the same format, what is this scrpt used for and, how can I generate dat files like the ones on the gdrive?

@Michael-H1302
Copy link

Did you figure it out ? I think I am stuck at the same problem.
Additionaly I do not understand the difference between executing the generate_data.py file and executing the 1_sample_points.txt, 2_generate_normal.py, 3_camera_tranform.py files step by step.
Both ways seem to generate .xyz and _prj.png files in the rendering folder . Do you know if there is any difference between those two ways of creating the data ?

@Michaelwjh
Copy link

Did you figure it out ? I think I am stuck at the same problem. Additionaly I do not understand the difference between executing the generate_data.py file and executing the 1_sample_points.txt, 2_generate_normal.py, 3_camera_tranform.py files step by step. Both ways seem to generate .xyz and _prj.png files in the rendering folder . Do you know if there is any difference between those two ways of creating the data ?

Did you solve the second problem? I also want to know what is the difference between them。

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

3 participants