Closed Bingoang closed 3 years ago
Hi @Bingoang ,
will look into this after deadline (23.11) ! Thanks and best, Julian
Thanks a lot! Wish you all the best!
Hi @Bingoang ,
the preprocessing you are looking at is designed for meshes with triangles, not for point clouds - this is why you get the error.
Please have a look at my answer to your question in Issue #27 .
Best, Julian
Hi,Julian
I know you've been really busy in recent days, sorry to bother you! I found something strange when running the 2 commands: (1)python data_processing/convert_to_scaled_off.py (2)python data_processing/voxelized_pointcloud_sampling.py -res 256 -num_points 3000
When I use the ShapeNet models, the above 2 commands go correctly, and do generate the correct files, such as isosurf.off, isosurf_scaled.off, and voxelized_point_cloud_256res_3000points.npz.
BUT, when I use your release test models(e.g. BMan0201-HD2-O04P05-S_3DSV_H250_W250_res256.off) or my own single-view human point cloud models, (I've already change their name to "isosurf.off" to run the commands), the above 2 commands go wrong:
(1)when running: python data_processing/convert_to_scaled_off.py, the errors are:
PS: I add 2 lines of codes in "convert_to_scaled_off.py" to print sth, the screenshot is as follows. '111' can be printed, so it proves the file "isosurf.off" is already loaded, but mesh.bounds[0] cannot be printed, so I guess sth goes wrong from there.
![2020-11-14 19-53-31-Error](https://user-images.githubusercontent.com/11469479/99147096-f0c1c200-26b8-11eb-8e06-0c941ddb5b54.png)
(2)when running: python data_processing/voxelized_pointcloud_sampling.py -res 256 -num_points 3000,the errors are:
I've been searching the related information on the google, but still cannot find ways to solve them. So I need your advice. Sorry again to bother you! Thanks a lot!
Best Wishes!