Closed LordLiang closed 3 years ago
Hi LordLiang,
this is the coordinate system which is needed for the 'grid_sample' function, see for example
https://github.com/jchibane/if-net/blob/master/models/local_model.py#L141
The grid sample function is used for trilinear interpolation when doing feature extraction from discrete deep feature grids at continuously sampled point coordinates.
Best, Julian
Hi, thank you for your excellent work! I have 2 questions about boundary_sampling, can you help me?
grid_coords[:, 0]
andgrid_coords[:, 2]
? Do you want to rotategrid_coords
?grid_coords = 2 * grid_coords
before this you normalize the range to [-0.5, 0.5] while you generateisosurf_scaled.off
, now why do you change it to [-1, 1]