Introduction
Lightweight pytorch functions for neural network featuremap sampling.
WARNING: API is not yet stable. API subject to change!
Introduction#
Sampling neural network featuremaps at explicit coordinates has become more and more common with popular developments like:
Learning Continuous Image Representation with Local Implicit Image Function
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
PyTorch provides the tools necessary that to sample coordinates, but they result in a large amount of error-prone code. TorchSample intends to make it simple so you can focus on other parts of the model.