brightmart / text_classification

all kinds of text classification models and more with deep learning
MIT License
7.87k stars 2.57k forks source link

Are you sure the latest code of this project is working properly? #138

Open liaooo opened 4 years ago

liaooo commented 4 years ago

My environment: Python3.6+TensorFlow1.9 When i open the project with Visual Studio Code and run it, the console throws many errors, including syntax errors.

brightmart commented 4 years ago

you can use Pycharm.

brightmart commented 4 years ago

Environment: python 2.7+ tensorflow 1.8

(tensorflow 1.1 to 1.13 should also works; most of models should also work fine in other tensorflow version, since we

use very few features bond to certain version.

if you use python3, it will be fine as long as you change print/try catch function in case you meet any error.

TextCNN model is already transfomed to python 3.6