Skip to content

This is a simple PyTorch implementation of Fourier Feature Networks.

Notifications You must be signed in to change notification settings

leoshine/fourier-feature-networks.pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fourier Feature Networks | Pytorch

This is a simple PyTorch implementation of Fourier Feature Networks, translated from the officially released code.

For more information, please refer to:

Tancik et al. Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains, NeurIPS 2020. (Paper|Project)

Visualization of results

This code takes image coordinate (x,y)​ as input, and regresses/outputs the corresponding RGB pixel values.

The following 5 methods are compared:

  • none: Standard linear regression network (no mapping of input coordinate (x,y)​).
  • basic: Basic Fourier feature mappings of (x,y​).
  • gauss_1: Gaussian Fourier feature mappings of (x,y)​ with scale=1.
  • gauss_10: Gaussian Fourier feature mappings of (x,y)​ with scale=10.
  • gauss_100: Gaussian Fourier feature mappings of (x,y)​ with scale=100.
Original image none basic
fox none basic
gauss_1 gauss_10 gauss_100
none none none

Learning curves

fox

About

This is a simple PyTorch implementation of Fourier Feature Networks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages