-
Notifications
You must be signed in to change notification settings - Fork 209
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
discussion, plugin, pipboard: support image/table display when evaluating models #358
Comments
@WenheLI our current evaluating result is a JSON string, which depends on the model-evaluate plugin. Before we start working on Pipboard, is there possible to have a protocol design on |
@yorkie - If we render those maps in the Another solution is to render the data in the frontend and in this case, we might need some data structures like: {
numericalData: Number
renderedData: ArrayLike<Number>,
type: 'ConfusionMatrix' | 'Image' | ...
} This solution adds up complexity but gives flexibility when exploring data & model. |
How does Pipboard know how to render the data? Does that mean we will have some hard code to read these URLs and display? By the way, I like 2nd one though its complexity to implement. |
We need to tell switch _type {
case 'ConfusionMatrix':
renderCM(renderedData)
break;
case 'Image':
renderImage(renderedData)
break;
.......
} |
I see, does this add a new protocol to tell model-evaluate plugin how to write |
This is the previous design: export interface EvaluateResult {
pass?: boolean;
[key: string]: any;
} Maybe we can change it into: export interface EvaluateResult {
pass?: boolean;
requireRender: boolean;
renderData?: ArrayLike<Number>,
[key: string]: any;
} |
This definition just looks like an interface in And I think |
BTW it's useful to add accuracy, recall rate, and losses, too :p |
Currently,
pipboard
can display numerical data(accuracy, recall rate, and losses).However, most model evaluation process requires images (I.E. generated image in GAN model) or tables (I.E. Confusion Matrix in Classification Task) for better parameter tuning.
Therefore, I think it is necessary to support an image/table display both on the
pipboard
andeval plugin protocol
.Discussions on how to implement it and the protocol design are very welcome.
The text was updated successfully, but these errors were encountered: