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

[Feature]: Class selector for custom charts #7626

Open
yermandy opened this issue May 10, 2024 · 6 comments
Open

[Feature]: Class selector for custom charts #7626

yermandy opened this issue May 10, 2024 · 6 comments
Labels
a:cli Area: Client c:custom-charts Component: Custom Charts

Comments

@yermandy
Copy link

Description

Can you please add a filter to the class column for custom charts?

When I am logging something like this:

wandb.plot_table(
        "wandb/area-under-curve/v0",
        wandb.Table(dataframe=df),
        {"x": "x", "y": "y", "class": "class"},
        {
            "title": title,
            "x-axis-title": x_axis_title,
            "y-axis-title": y_axis_title,
        },
    )

Suggested Solution

It would be helpful to filter over a specific class in the W&B chart. For instance, to compare how two object detection models perform under some IoU threshold:

Screenshot 2024-05-10 at 11 58 16

We already have the option to turn on the run selector, can we have a class selector also?

Screenshot 2024-05-10 at 12 01 51

Alternatives

No response

Additional Context

No response

@fmamberti-wandb
Copy link

fmamberti-wandb commented May 10, 2024

Hi @yermandy, thanks for reaching out! Would you mind sharing additional information on the Vega Spec of the Custom Chart you are currently using to create this? A URL to the workspace with the panel would also be helpful to investigate if the specs can be amended to fit your use case.

@yermandy
Copy link
Author

@fmamberti-wandb hello, is it going to be enough? See W&B Report

@kptkin kptkin added a:cli Area: Client c:custom-charts Component: Custom Charts labels May 10, 2024
@fmamberti-wandb
Copy link

Thank you for sending these @yermandy - it may be possible to edit the Vega Specs to have a class selector and save them as a new preset. I will have a look to see if I can get a toy example for this and will keep you posted.

This comment was marked as duplicate.

This comment was marked as duplicate.

@thanos-wandb
Copy link
Contributor

thanos-wandb commented May 21, 2024

Hi @yermandy a quick update here, while feasible to do this in Vega using signals https://vega.github.io/vega/docs/signals/ it isn't yet supported in W&B App. We've logged it as a feature request and we'll keep you posted on any updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:cli Area: Client c:custom-charts Component: Custom Charts
Projects
None yet
Development

No branches or pull requests

4 participants