nfmcclure/tensorflow_cookbook

how to add model persistance to this spam filter using pickle

vanipolnedi opened this issue · 2 comments

can anyone please suggest me how to add pickling (model persistance) to this spam filter. thanks in advance :)

Hi @vanipolnedi ,
Thanks for the request, I think we should be able to add this. Were you set on using pickle? Pickle tends to be very very sensitive to python versions and pickle versions (and object versions). I think it would be better to create some TensorFlow model objects for loading after training. I can get started on that this weekend. Are you set on pickle? I think the TensorFlow saving operation is a bit better.

@nfmcclure thank you for the reply. it will be very useful for us if u add pickling to the spam filter ( which uses rnn)