Simple torch.nn.module implementation of Alias-Free-GAN style filter and resample
Simple torch module implementation of Alias-Free GAN.
This repository including
Alias-Free GAN style lowpass sinc filter @filter.py
Alias-Free GAN style up/downsample @resample.py
Alias-Free activation @act.py
and test codes @./test
Note: Since this repository is unofficial, filter and upsample could be different with official implementation.
Still working! If you notice some error or typo, please open new issue!
v0.0.6 is TESTED
UPDATE: You can download alias-free-torch from pip
python -m pip install alias-free-torch
Due to torch.kaiser_window
and torch.i0
are implemeted after 1.7.0
, our repository need torch>=1.7.0
.
For custom torch users, pip
will not check torch version.
Filter sine | Filter noise |
---|---|
upsample | downsample |
---|---|
Filter L1 norm sine | Filter noise |
---|---|
upsample | downsample |
---|---|
This work is done at MINDsLab Inc.
Thanks to teammates at MINDsLab Inc.