Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Fix NER CE job bug #57

Closed
wants to merge 1 commit into from

Conversation

reyoung
Copy link
Contributor

@reyoung reyoung commented Jun 21, 2018

No description provided.

@reyoung reyoung requested a review from guochaorong June 21, 2018 09:27
@@ -66,7 +68,7 @@ def main(train_data_file, test_data_file, vocab_file, target_file, emb_file,

inference_program = fluid.default_main_program().clone()
with fluid.program_guard(inference_program):
test_target = chunk_evaluator.metrics + chunk_evaluator.states
test_target = chunk_evaluator.metrics
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

于老师, 我看咱们警告是说 这个evaluator.py 不用啦? 这一行需要一块改掉么?

/usr/local/lib/python2.7/dist-packages/paddle/fluid/evaluator.py:69: Warning: The ChunkEvaluator is deprecated, because maintain a modified program inside evaluator cause bug easily, please use fluid.metrics.ChunkEvaluator instead.

@kolinwei kolinwei closed this Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants