Thanks for creating this great work. The recently released MinkowskiEngine V0.5.4 definitely improves the overall usage and brings some useful functions to us. However, it would be great if the newest release (v0.5.4) could have some additional improvements, detailed below.
descriptions
I find the newest version (v0.5.4) seems to have some bugs for other kernel types. Although the exposed API allows user to specify the kernel type (i.e. HYPER_CUBE, HYPER_CROSS, and CUSTOM), the internal implementation only expectedly calculate the cubic kernel for the kernel_map. For example, the cross-shaped kernel will generate a wrong kernel_map.
to reproduce
this code is to reproduce this limitation for ME v0.5.4 (only tested for HYPER_CROSS):
NOTE: the code is tested for the current latest commit (f3c5544ce)
This shows that the version updates may possibly change this unexpectedly.
expected behavior
the latest version v0.5.4 has different kernel_map behavior compared to the old version v0.4.3. the printed message of v0.5.4 should have center = 0.0
possible solutions
It seems that the coordinate_at function defined here only implements cubic kernels. maybe we can add supports to other kernel types similarly following the previous implementations, but I am not sure.
It would be great if some efforts are on it. If there is something wrong, please let me know. Looking forward to this bug fix.
Thanks for creating this great work. The recently released MinkowskiEngine V0.5.4 definitely improves the overall usage and brings some useful functions to us. However, it would be great if the newest release (v0.5.4) could have some additional improvements, detailed below.
descriptions I find the newest version (v0.5.4) seems to have some bugs for other kernel types. Although the exposed API allows user to specify the kernel type (i.e. HYPER_CUBE, HYPER_CROSS, and CUSTOM), the internal implementation only expectedly calculate the cubic kernel for the kernel_map. For example, the cross-shaped kernel will generate a wrong kernel_map.
to reproduce this code is to reproduce this limitation for ME v0.5.4 (only tested for HYPER_CROSS): NOTE: the code is tested for the current latest commit (f3c5544ce)
the above codes print:
and I also compile codes for a previous ME, another code is written for ME v0.4.3 (only tested for HYPER_CROSS):
however, the older version (v0.4.3) prints message expectedly:
This shows that the version updates may possibly change this unexpectedly.
expected behavior the latest version v0.5.4 has different kernel_map behavior compared to the old version v0.4.3. the printed message of v0.5.4 should have
center = 0.0
possible solutions It seems that the
coordinate_at
function defined here only implements cubic kernels. maybe we can add supports to other kernel types similarly following the previous implementations, but I am not sure.It would be great if some efforts are on it. If there is something wrong, please let me know. Looking forward to this bug fix.