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

LeakGAN_G #17

Closed saeedEnte closed 4 years ago

saeedEnte commented 4 years ago

This class doesn't have any function init_param(). I think it can't inherit from LSTMGenerator as its initialization gets other params

williamSYSU commented 4 years ago

You're right. The LeakGAN_G can't inherit the init_param() from LSTMGenerator. So the initialization function of LeakGAN_G should be implemented in its own class.

saeedEnte commented 4 years ago

I have just copy the init_param from other functions and now everything is fine. TNX

williamSYSU commented 4 years ago

I have fixed that mistake and updated the codes. :)