-
Notifications
You must be signed in to change notification settings - Fork 67
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' #17
Comments
I wonder if you are training with Windows environment. The code is only tested on Ubuntu 18.04. The error shows that absl logging environment maybe inconsistent for Windows and Linux Tensorflow built. |
I did run it on Windows 10. |
I encountered the same situation as you. Have you finally solved it? |
No, I have now given up using TensorFlow, Pytorch (or MONAI) may be a better option. |
well, thanks
张昆
***@***.***
…---Original---
From: ***@***.***>
Date: Thu, Mar 10, 2022 08:50 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [jackyko1991/vnet-tensorflow] KeyError: 'verbosity' (#17)
No, I have now given up using TensorFlow, Pytorch (or MONAI) may be a better option.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: ***@***.***>
|
when i run train.py ,something went wrong:KeyError: 'verbosity'
2020-06-14 16:28:44.548595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
Traceback (most recent call last):
File "D:/vnet-tensorflow-master/train.py", line 625, in
tf.compat.v1.app.run()
File "E:\Ana\envs\py374\lib\site-packages\tensorflow_core\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "E:\Ana\envs\py374\lib\site-packages\absl\app.py", line 293, in run
flags_parser,
File "E:\Ana\envs\py374\lib\site-packages\absl\app.py", line 359, in run_init
logging.use_absl_handler()
File "E:\Ana\envs\py374\lib\site-packages\absl\logging_init.py", line 1148, in use_absl_handler
FLAGS['verbosity']._update_logging_levels() # pylint: disable=protected-access
File "E:\Ana\envs\py374\lib\site-packages\absl\flags_flagvalues.py", line 463, in getitem
return self._flags()[name]
KeyError: 'verbosity'
How can I solve this problem? (my python version is 3.7.4,tensorflow-gpu==1.14.0,Anaconda environment is ok. )
Any help would be appreciate.
The text was updated successfully, but these errors were encountered: