Skip to content

Easy to understand from scratch Implementation of 2D positional encoding

Notifications You must be signed in to change notification settings

HrushikeshBudhale/Fourier_feature_positional_encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fourier_feature_positional_encoding

This is a minimalistic implementation of paper Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains for the purpose of understanding and experimenting with fourier feature encoding in 2D which is main invention behind NeRF's success.

Result

Input Learned (L=256,M=10)
origin recon

Experiments

For positional encoding we can experiment with number of frequencies and multiplier to choose the best values for highest psnr. L defining number of frequencies and M being frequency multiplier. Best result was achieved using L=256 and M=10

With L=16 & M=10 With L=64 & M=10
With L=256 & M=1 With L=256 & M=50

About

Easy to understand from scratch Implementation of 2D positional encoding

Topics

Resources

Stars

Watchers

Forks

Languages