Possible bug and difference between scale and resolution?
Guptajakala opened this issue · comments
torch-ngp/gridencoder/src/gridencoder.cu
Line 138 in b6e0804
What's the difference between scale
and resolution
? Shouldn't they both refer to the number of voxels along one dimension?
And here you are trying to get the voxel center, why do you add 0.5 when align_corners is false?
torch-ngp/gridencoder/src/gridencoder.cu
Line 148 in b6e0804
@Guptajakala Hi, scale is float and resolution is int, it follows the original implementation's notation.
For the second one, you may refer to this.