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

some bugs #12

Open
Felix0805 opened this issue Feb 28, 2018 · 6 comments
Open

some bugs #12

Felix0805 opened this issue Feb 28, 2018 · 6 comments
Labels

Comments

@Felix0805
Copy link

I think there are some bugs about FLAGS

@Felix0805
Copy link
Author

There are many UnrecognizedFlagErrors

@heshenghuan heshenghuan added the bug label Mar 1, 2018
@heshenghuan
Copy link
Owner

@Felix0805
Thank you for reporting the bugs.
Can you please provide some details about the bugs?

@Felix0805
Copy link
Author

When you run the whole project
In main.py line 245-247 have the error:
absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'label2idx'

@heshenghuan
Copy link
Owner

Do you have the Traceback for this bug?

'label2idx' isn't an argument, you don't need to give a 'label2idx' in command line.

@Felix0805
Copy link
Author

yeah,I don't give a 'label2idx' in command line, but 'label2idx' is undefined in Flag

@heshenghuan
Copy link
Owner

OK, I understood. It looks like the API has changed. And it was not recommended to use FLAGS like that.

Thank you for your advice. I think it can be fixed by using a dictionary to store those undefined variables.

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

No branches or pull requests

2 participants