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

run_classifier_predict_online.py #16

Open
bihui9968 opened this issue Nov 28, 2018 · 4 comments
Open

run_classifier_predict_online.py #16

bihui9968 opened this issue Nov 28, 2018 · 4 comments

Comments

@bihui9968
Copy link

modeling.BertConfig
modeling.BertModel

error

@brightmart
Copy link
Owner

brightmart commented Nov 28, 2018

what's error?

@bihui9968
Copy link
Author

there is no modeling.py
and in train_bert_fine_tuning.py , line 175、179、180 cannot run,
because compute_confuse_matrix_batch、 compute_micro_macro 、compute_micro_macro not be defined.

@yzho0907
Copy link

@bihui9968 modeling.py and tokennizaton.py these two files u could cope them from bert core, which is: https://github.com/google-research/bert.

@hongsong2021
Copy link

In saver.restore(), error happened:
NotFoundError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint.

what should I do?

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

4 participants