Skip to content

stjordanis/relativistic-f-divergences

 
 

Repository files navigation

Relativistic f-divergences

Code to replicate all analyses from the paper On Relativistic f-divergences

Discussion at https://ajolicoeur.wordpress.com/relativistic-f-divergences.

This basically the same code as https://github.com/AlexiaJM/RelativisticGAN, but with more options.

To replicate analyses from the paper

Needed

To do beforehand

  • Change all folders locations in fid_script.sh, experiments.sh, and GAN.py
  • Make sure that there are existing folders at the locations you used
  • Open an run each necessary lines of setting_up_script.sh in same folder as preprocess_cat_dataset.py (It will automatically download the cat datasets, if this doesn't work well download it from http://academictorrents.com/details/c501571c29d16d7f41d159d699d0e7fb37092cbd)

To run

  • To run models
    • Use GAN.py
  • To replicate the paper
    • Open experiments.sh and run the lines you want

About

Code from paper "On Relativistic f-divergences" (http://arxiv.org/abs/1901.02474)

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.7%
  • Shell 45.0%
  • R 2.3%