Closed pengsida closed 4 years ago
Hi,
I realized that voxelized_pointcloud_sampling creates an occupancy indexed by x, y, z, namely occupancy[x, y, z]: https://github.com/jchibane/if-net/blob/master/data_processing/voxelized_pointcloud_sampling.py#L60 However, this behavior is different from that of F.grid_sample, which indexes the occupancy using occupancy[z, y, x]. Have you noticed this problem?
voxelized_pointcloud_sampling
x, y, z
occupancy[x, y, z]
F.grid_sample
occupancy[z, y, x]
I found that when an occupancy is indexed by x, y, z, the input to F.grid_sample should be z, y, x. So the implementation is correct. Thank you!
z, y, x
Hi,
I realized that
voxelized_pointcloud_sampling
creates an occupancy indexed byx, y, z
, namelyoccupancy[x, y, z]
: https://github.com/jchibane/if-net/blob/master/data_processing/voxelized_pointcloud_sampling.py#L60 However, this behavior is different from that ofF.grid_sample
, which indexes the occupancy usingoccupancy[z, y, x]
. Have you noticed this problem?