Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'verbosity' #380

Open
vincent880908 opened this issue Nov 20, 2021 · 0 comments
Open

KeyError: 'verbosity' #380

vincent880908 opened this issue Nov 20, 2021 · 0 comments

Comments

@vincent880908
Copy link


KeyError Traceback (most recent call last)
~\Downloads\123123-dependabot-pip-pillow-8.3.2\eval.py in
200
201 if name == 'main':
--> 202 tf.compat.v1.app.run()

D:\download\anaconda\envs\py-lenet\lib\site-packages\tensorflow\python\platform\app.py in run(main, argv)
38 main = main or _sys.modules['main'].main
39
---> 40 _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)

D:\download\anaconda\envs\py-lenet\lib\site-packages\absl\app.py in run(main, argv, flags_parser)
302 """
303 try:
--> 304 args = _run_init(
305 sys.argv if argv is None else argv,
306 flags_parser,

D:\download\anaconda\envs\py-lenet\lib\site-packages\absl\app.py in _run_init(argv, flags_parser)
370 command_name.make_process_name_useful()
371 # Set up absl logging handler.
--> 372 logging.use_absl_handler()
373 args = _register_and_parse_flags_with_usage(
374 argv=argv,

D:\download\anaconda\envs\py-lenet\lib\site-packages\absl\logging_init_.py in use_absl_handler()
1233 if absl_handler not in logging.root.handlers:
1234 logging.root.addHandler(absl_handler)
-> 1235 FLAGS['verbosity']._update_logging_levels() # pylint: disable=protected-access
1236 FLAGS['logger_levels']._update_logger_levels() # pylint: disable=protected-access
1237

D:\download\anaconda\envs\py-lenet\lib\site-packages\absl\flags_flagvalues.py in getitem(self, name)
469 def getitem(self, name):
470 """Returns the Flag object for the flag --name."""
--> 471 return self._flags()[name]
472
473 def _hide_flag(self, name):

KeyError: 'verbosity'
Could someone help me solve this problem. thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant