Recently used bert Process for entity recognition , After taking over the code, the test passed , But put the code in the jupyter Try to run , The result is wrong :

UnrecognizedFlagError: Unknown command line flag 'f' ( Please refer to the end of the article for all error information )

terms of settlement : to TensorFlow Initialize a f , Or designated f label , Before project error report ( It's better to start ) Add the following code to the location :'f', '', 'kernel')

All wrong information :

UnrecognizedFlagError                     Traceback (most recent call last)
<ipython-input-8-608fc881813d> in <module>()
----> 1 bert_config =

in __getattr__(self, name)
     82     # a flag.
     83     if not wrapped.is_parsed():
---> 84       wrapped(_sys.argv)
     85     return wrapped.__getattr__(name)

in __call__(self, argv, known_only)
    631       suggestions = _helpers.get_flag_suggestions(name, list(self))
    632       raise _exceptions.UnrecognizedFlagError(
--> 633           name, value, suggestions=suggestions)
    635     self.mark_as_parsed()

UnrecognizedFlagError: Unknown command line flag 'f'

©2019-2020 Toolsou All rights reserved,
The 11th Blue Bridge Cup python The real topic of the University Group National Games JavaSwing To achieve a simple Lianliankan games 【Spring Source code analysis 】42-@Conditional Detailed explanation element-ui Step on pit record 2019PHP Interview questions ( Continuously updated )PHPJava Misunderstanding —— Method overloading is a manifestation of polymorphism ? First issue 500 100 million , Set up a new Department , What is Tencent going to do ? Google chrome The browser can't open the web page , But what if other browsers can open it ? Regression of dependent variable order categories (R language )【Golang Basic series 10 】Go language On conditional sentences if