williamSYSU / TextGAN-PyTorch

TextGAN is a PyTorch framework for Generative Adversarial Networks (GANs) based text generation models.
MIT License
892 stars 205 forks source link

Better Exception handling and Added preprocessing step #76

Open Hetens opened 4 months ago

Hetens commented 4 months ago

The error stemming from the CATGAN instructor for real data when the token size generated is of length 0 leads to error train_data is not an attribute of CatGAN instructor and test_data is not an attribute of CatGAN instructor.