Closed lim0606 closed 7 years ago
merged, thanks
@jj0mst This needs to be done, the reason for the performance drop is likely due to how you handle out of FOV? Also, you can play with the learning rates of STN, they are known to be difficult to train.
I don't use the entire network, but only the bilinear sampler.
I have sampling grids at different scales as output of a part of my network (which is not related to stn), so i just use the bilinear sampler for sampling from an input image.
Since there's no learnable parameter in the portion i use, i ran some simple tests to check that it does what i need and everything seems correct.
I just wanted to be sure that this change was correct.
Thank you both for your work.
@jj0mst your use case is similar to mine, I did similar tests and things seem to work fine. Thanks for your feedback.
I made a critical mistake in my_lib_cuda_kernel.cu, and fixed it.
I apologize for my mistake!
Best,
Jae Hyun Lim