ChineseNER icon indicating copy to clipboard operation
ChineseNER copied to clipboard

请教一下, 报错absl.flags._exceptions.UnparsedFlagAccessError: Trying to access flag --clip before flags were parsed.

Open ufo5 opened this issue 6 years ago • 2 comments

File "/home/PycharmProjects/NER/ChineseNER-master/main.py", line 54, in assert FLAGS.clip < 5.1, "gradient clip should't be too much" File "/usr/local/lib/python3.5/dist-packages/absl/flags/_flagvalues.py", line 488, in getattr raise _exceptions.UnparsedFlagAccessError(error_message) absl.flags._exceptions.UnparsedFlagAccessError: Trying to access flag --clip before flags were parsed.

ufo5 avatar May 03 '18 11:05 ufo5

In this module, the parse function has been updated. So, you can find its function's introduction. I wish to help you, good luck.

LiXuanming avatar Jun 14 '18 09:06 LiXuanming

问题解决了吗,我也遇到这个错误

SunYunyun avatar Dec 06 '18 05:12 SunYunyun