farizrahman4u / seq2seq

Sequence to Sequence Learning with Keras
GNU General Public License v2.0
3.17k stars 845 forks source link

predict error #213

Closed Annztt closed 7 years ago

Annztt commented 7 years ago

I saved model: model.save_weights('model/s2s_model.h5') and i can load it: model = model.load_weights('model/s2s_model.h5') but have error in predict: AttributeError: 'NoneType' object has no attribute 'predict' how can i fix that?