This was a repo of demonstration code for Invariant Representations Without Adversarial Training, a paper in NIPS 2018.
Please excuse the structure and composition of this code; it's just a demo.
I have since written a tutorial in Keras, held in this other repo, and a corresponding blog post held here. In my opinion, this other repository is much cleaner.