dennybritz / cnn-text-classification-tf

Convolutional Neural Network for Text Classification in Tensorflow
Apache License 2.0
5.65k stars 2.77k forks source link

AttributeError: _parse_flags on running eval.py #170

Open sierra1bravo opened 5 years ago

sierra1bravo commented 5 years ago

I'm using python 2.7. I finished the training process without error. On running eval.py, I'm getting the following error:

$ ./eval.py --eval_train --checkpoint_dir="./runs/1546858759/checkpoints/"

Traceback (most recent call last): File "./eval.py", line 31, in FLAGS._parse_flags() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/flags.py", line 85, in getattr return wrapped.getattr(name) File "/usr/local/lib/python2.7/dist-packages/absl/flags/_flagvalues.py", line 472, in getattr raise AttributeError(name) AttributeError: _parse_flags

Any information would be appreciated. Thanks in advance!

modway commented 5 years ago

I am getting the same problem as you!

BinHeRunning commented 5 years ago

your problem has been solved in #158 @sierra1bravo @modway