-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Evaluator cannot return the expected metrics. #2078
Comments
Could we fix this bug by making Just print to stderr is really a bad design in Paddle. If an |
I also think |
@reyoung I think the problem is we should disable some evaluators that only to print, and formalize evaluators that do not store their results in Arguments, so that they can work with v2 API better. |
@pkuyym will fix this bug. |
@lcy-seso @reyoung |
In V2 API, by default, the following codes print a certain metric calculated by an evaluator.
In the C++ implementation, an evaluator stores the evaluation results in
Argument
, and there are also some evaluators that store nothing but just print to stderr.The above code can only print the evaluated stored in Argument.value. If any of the following two situations happens, the evaluator cannot return a right result.
For the fist case, there should be some documentations to explain how each evaluator stores its results.
For the second case, the original C++ codes need to be modified.
Does anyone test that in V2 API every evaluator returns the right results?
The text was updated successfully, but these errors were encountered: