This is a PyTorch implementation for the framework presented in the following paper: Generative Fourier-based Auto-Encoders: Preliminary Results paper
torch==1.5.0torchaudio==0.5.0scikit-learn==0.22.2.post1numpy==1.12.0
Use requirements.txt to install all the dependencies. Tested only with Python 3.6
Download the dataset used from here and place it in data.
- check if all the path are corrects in the settings of the various scripts
- to test the likelihood of the models run
likelihood/run_likelihood.py - to obtain the Fig.2a use
likelihood/print_likelihood.py - with the number of components obtain from the previous script, run
ppca/experiment_ppca.py - with the data saved from the previous script, run
ppca/plot_generation.pyto obtain Fig.2b