Skip to content
forked from gablg1/ORGAN

Objective-Reinforced Generative Adversarial Networks (ORGAN) for Sequence Generation Models

Notifications You must be signed in to change notification settings

chaoshangcs/ORGAN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Objective-Reinforced GANs (ORGAN)

  • Want the diversity and interestingness that you get with samples from an adversarial process (GAN)?

  • Want the directed focus you can give algorithms with Reinforcement Learning? (RL)

  • Working with discrete sequence data (text, molecular SMILES, abc musical notation ,etc.)?

Then ORGAN if for you, define simple reward functions and alternate between adversarial and reinforced training.

Based on work from [](arxiv link here)

How to train

In order to train the model, cd into model and run

python train_ogan.py exp.json

where exp.json is a experiment configuration file.

A GPU is recommended since it can take several days to run, depending on dataset and sequence extension, algorithm is not parallelized for multiple GPUs.

How to sample

Requirements to run

  • Tensorflow 1.0
  • Python 2 or 3
  • rdkit for molecular purposes

Make your own experiment

Dockerfile

About

Objective-Reinforced Generative Adversarial Networks (ORGAN) for Sequence Generation Models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.4%
  • Jupyter Notebook 9.3%
  • Shell 1.3%