cnn-text-classification-tf icon indicating copy to clipboard operation
cnn-text-classification-tf copied to clipboard

AttributeError: _parse_flags on running eval.py

Open sierra1bravo opened this issue 6 years ago • 2 comments
trafficstars

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!

sierra1bravo avatar Jan 07 '19 14:01 sierra1bravo

I am getting the same problem as you!

modway avatar Apr 07 '19 08:04 modway

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

BinHeRunning avatar Apr 08 '19 07:04 BinHeRunning