-
Notifications
You must be signed in to change notification settings - Fork 2
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
quit saving evaluate result as file #46
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you answer my question?
option=result.option, | ||
label=label_ios) | ||
# TODO: deprecated. remove metrics from response in the next gRPC spec | ||
metrics = rekcurd_pb2.EvaluationMetrics() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do you get EvaluationMetrics
at the beginning?
To save the evaluation result on dashboard
, we need to get scores from Rekcurd
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at the beginning, EvaluateModel method get & returns EvaluationMetrics to dashboard, and dashboard save the metrics.
This part is just to restore the result of EvaluateModel method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean we don't need to pack EvaluationMetrics
to EvaluationResultResponse
?
I see.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
option=result.option, | ||
label=label_ios) | ||
# TODO: deprecated. remove metrics from response in the next gRPC spec | ||
metrics = rekcurd_pb2.EvaluationMetrics() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean we don't need to pack EvaluationMetrics
to EvaluationResultResponse
?
I see.
What is this PR for?
dashboard saves evaluation result to db (result column of evaluation_result table),
so not need to save as file
This PR includes
What type of PR is it?
fix
What is the issue?
#45
How should this be tested?
python -m unittest