-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Unable to run TensorBoard after TF v1.4 upgrade #764
Comments
This should only impact |
Thank you @jart! Nice improvement on the nightly build :) |
UnparsedFlagAccessError: Trying to access flag --preserve_unused_tokens before flags were parsed. |
After running this codes below: Tokenised sample of the first training set observation looks likeprint(tokenizer.tokenize(train_InputExamples.iloc[0].text_a)) Here is the output error:UnparsedFlagAccessError Traceback (most recent call last) /opt/conda/lib/python3.7/site-packages/bert/tokenization.py in tokenize(self, text) /opt/conda/lib/python3.7/site-packages/bert/tokenization.py in tokenize(self, text) /opt/conda/lib/python3.7/site-packages/bert/tokenization.py in preserve_token(token, vocab) /opt/conda/lib/python3.7/site-packages/absl/flags/_flagvalues.py in getattr(self, name) UnparsedFlagAccessError: Trying to access flag --preserve_unused_tokens before flags were parsed. |
@Adeyinka-hub thanks for posting the error output. Based on the trace, it looks like the error you are seeing is more related to the 'bert' package than 'tensorboard'. You may wish to follow google-research/bert#1133, which seems similar to the issue you report. |
Python 3.6
OS High Sierra
TensorFlow v1.4
As reported here and in this SO question Tensorboard gives the following error when it's ran:
The text was updated successfully, but these errors were encountered: