when i run gan_lstm.py,a problem happened. AttributeError: 'generator' object has no attribute 'next'