Yang7879/3D-RecGAN-extended

Format of Data

casawa opened this issue · 2 comments

What format is the training data in?

I see, for example in Data_sample/P1_02828884_bench/train_3d_vox256/ 10b43623dbc8ab25ad5067eac75a07f7_0_0_1.npz, a numpy array of shape (144, 254, 67, 1),
but I'm not clear on what these dimensions correspond to -- any insight would be appreciated.

Thank you for releasing this and thank you for your time!

@casawa The array (144, 254, 67, 1) is a voxel grid (x, y, z, channel), the value of the channel is either 1 or 0, indicating occupied or not. This voxel grid will be centered within a (256,256,256,1) voxel grid for training and testing.

In "tools.py" file, please check out the functions "load_single_voxel_grid()", "voxel_grid_padding()", and "plotFromVoxels()".

Hi @Yang7879 Could you guide me for my output as .obj rather than .npz or .mat, so that I can have better visualization of your output. Please guide through this#15