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,
C++ of string of compare usage MySQL Basics Commonly used sentence ( Add / delete / modify query )C Language of a Gobang game implementation QT5.9 Use of learning notes QSqlQuery Method of Qt Getting Started tutorial 【 Basic controls 】QCalendarWidget calendar control java Polymorphic array of web Front end signature plug-in _signature_pad Plug in implements electronic signature function centos7 install RabbitMqspringboot use redis Experiment 4 Automated test tools - software test