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

checkpoint Key not found #1

Open
suntao2012 opened this issue Apr 16, 2020 · 1 comment
Open

checkpoint Key not found #1

suntao2012 opened this issue Apr 16, 2020 · 1 comment

Comments

@suntao2012
Copy link

  1. which checkpoint should I use, you mentioned download this one, but export with another one.
    uncased_L-24_H-1024_A-16.zip
    export BERT_BASE_DIR=/path/to/bert/uncased_L-12_H-768_A-12
  2. neither of them passed, got error like this, and I didn't see any key called "cls/squad/output_bias" in checkpoint model, how could I fix this?
    OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key cls/squad/output_bias not found in checkpoint
@suntao2012
Copy link
Author

it passed when I changed key from "cls/squad/output_" to "cls/seq_relationship/output_", does it ok? @TrojanXu

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