indiejoseph / cnn-text-classification-tf-chinese

CNN for Chinese Text Classification in Tensorflow
235 stars 108 forks source link

Added vocab dump/restore function. #6

Closed winnerineast closed 7 years ago

winnerineast commented 7 years ago

In order to enable evaluation function, I saved vocabulary in training procedure and restore it when evaluation kicks off. At the same time, I removed hardcoded filename and CNN parameters with configurable TF FLAGS parameters.