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

crf=False is coded as string therefore it does not work #88

Open
gungor2 opened this issue Sep 6, 2020 · 0 comments
Open

crf=False is coded as string therefore it does not work #88

gungor2 opened this issue Sep 6, 2020 · 0 comments

Comments

@gungor2
Copy link

gungor2 commented Sep 6, 2020

Crf flag is defined like this:

flags.DEFINE_string("crf", "True", "use crf!")

Later, in create_model function, the if statement is defined like this:

if FLAGS.crf

Because crf flag is defined as string, this if statement is always true.

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