You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 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。
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?
The text was updated successfully, but these errors were encountered: