vandit15 / Self-Supervised-Gans-Pytorch

Ready to train Pytorch implementation of the CVPR'19 paper "Self-Supervised GANs via Auxiliary Rotation Loss"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Self-Supervised-Gans-Pytorch

Pytorch implementation of the CVPR'19 paper "Self-Supervised GANs via Auxiliary Rotation Loss"

Ting Chen, Xiaohua Zhai(Google Brain), Marvin Ritter(Google Brain), Mario Lucic(Google Brain), Neil Houlsby(Google Brain)

Dependencies

  • Python (>=3.6)
  • Pytorch (>=1.2.0)

Review article of the paper

Medium Article

Training

python main.py

How it works

The paper presents a method to combine adverserial training with self-supervised learning. It uses the concept of Auxilliary Rotation Loss. The main idea behind self-supervision is to train a model on a pretext task like predicting rotation angle and then extracting representations from the resulting networks. The discriminator also tries to predict the rotatory angle(0, 90, 180, 270) along with the normal prediction of fake vs real.

alt-text

References

About

Ready to train Pytorch implementation of the CVPR'19 paper "Self-Supervised GANs via Auxiliary Rotation Loss"

License:MIT License


Languages

Language:Python 100.0%