• Stars
    star
    258
  • Rank 157,296 (Top 4 %)
  • Language
    Python
  • Created about 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A implementation of SeqGAN in PyTorch, following the implementation in tensorflow.

SeqGAN-PyTorch

A implementation of SeqGAN in PyTorch, following the implementation in tensorflow.

Tested with:

  • PyTorch v1 Stable
  • Python 3.6
  • CUDA at least 8.0 (For GPU)

Origin

The idea is from paper SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient

The code is rewrited in PyTorch with the structure largely from Tensorflow Implementation

Runing

$ python main.py

After runing this file, the results will be printed on terminal. You can change the parameters in the main.py.