Skip to content

kazemSafari/convrf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

convrf

Implementation of Receptive Field convolutional layer in pytorch. This idea was originally presented in Structured Receptive Fields paper. To run the code:

  1. download and install using pip install -e convrf
  2. Take a look at example.py for an example of convrf convolutional layer usage.
  3. Choose the fitlerbank: "nn_bank" or "frame" or "pframe". It is not recommended to use "nn_bank" as it almost always produces inferior results.
  4. play around with "kernel_drop_rate" parameter to see what value fits best to your application. kernel_drop_rate = 0 uses all the filters in the family.
  5. You can play around with "gain" parameter which enlarges or shrinks the support of the weight coefficients initialization kaiming uniform distribution if you feel like it, not it is not necessary.

In case you use this project in your research please cite these two respositories in your code:

kazemSafari/convrf

nkarantzas/dynamic

and cite these three papers as well: Structured Receptive Fields, On the design of multi-dimensional compactly supported parseval framelets with directional characteristics, and the main paper which I will share the link shortly.

About

Receptive Field Convolutional Layer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages