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

UnrecognizedFlagError: Unknown command line flag 'f' #5

Open
emnajaoua opened this issue Jul 27, 2018 · 0 comments
Open

UnrecognizedFlagError: Unknown command line flag 'f' #5

emnajaoua opened this issue Jul 27, 2018 · 0 comments

Comments

@emnajaoua
Copy link

When I am trying to run the main file in my jupyter notebook. I face this error of unknown flag for gamma althought the gamma flag was defined previously from tf.app.flags.

The error is represented here


UnrecognizedFlagError Traceback (most recent call last)
in ()
----> 1 print(flags.gamma)

/opt/aiml4it/anaconda/3-5.2.0-generic/lib/python3.6/site-packages/tensorflow/python/platform/flags.py in getattr(self, name)
82 # a flag.
83 if not wrapped.is_parsed():
---> 84 wrapped(_sys.argv)
85 return wrapped.getattr(name)
86

/opt/aiml4it/anaconda/3-5.2.0-generic/lib/python3.6/site-packages/absl/flags/_flagvalues.py in call(self, argv, known_only)
628 suggestions = _helpers.get_flag_suggestions(name, list(self))
629 raise _exceptions.UnrecognizedFlagError(
--> 630 name, value, suggestions=suggestions)
631
632 self.mark_as_parsed()

UnrecognizedFlagError: Unknown command line flag 'f'

Any idea why I get this error. I searched in SO but nothing helpful so far

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