Simple torch module implementation of Alias-Free GAN

Simple torch module implementation of Alias-Free GAN.
This repository including
Note: Since this repository is unofficial, filter and upsample could be different with official implementation.
Note: 2d lowpass filter is applying sinc instead of jinc (first order Bessel function of the first kind) in paper
Requirements
Due to torch.kaiser_window
and torch.i0
are implemeted after 1.7.0
, our repository need torch>=1.7.0
.
TODO
- [x] 2d sinc filter
- [x] 2d resample
- [x] devide 1d and 2d modules
- [ ] pip packaging
Test results 1d
Filter sine | Filter noise |
---|---|
![]() |
![]() |
Test results 2d
Filter L1 norm sine | Filter noise |
---|---|
![]() |
![]() |
Activation |
---|
![]() |
References
- Alias-Free GAN
- adefossez/julius
- A. V. Oppenheim and