LantaoYu / SeqGAN

Implementation of Sequence Generative Adversarial Nets with Policy Gradient
2.09k stars 711 forks source link

target_params.pkl encode #13

Closed jianqiaoc closed 7 years ago

jianqiaoc commented 7 years ago

Thanks for you project, It is very useful to me. But the code of 'target_params.pkl' is not support in python3, how can I modify it ? Thanks very much!

LantaoYu commented 7 years ago

In python3, we use pickle instead of cPickle. So just use import pickle instead of import cPickle. The save and load operation is similar.