Closed pengsida closed 4 years ago
I found that multiplying the grid_coords
is for F.grid_sample
, which requires [-1, 1]
.
But I still do not know why you need to reverse the x
and z
axes?
I found that reversing the x
and z
axes is also for F.grid_sample
, corresponding to d, h, w
in F.grid_sample
.
Thank you!
Hi,
exactly, the reason for both is the grid_sample function! :)
Best, Julian
Hi,
I have read carefully the paper and the supplementary material. But I cannot find the relationship between
boundary_points
andgrid_coords
in https://github.com/jchibane/if-net/blob/master/data_processing/boundary_sampling.py#L28 Why do you need to reverse thex
andz
axes ingrid_coords
and then multiply it by 2?