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

gcp ai platform jupyterlab+ explainable-ai-sdk + witwidget can not display what-if tools widget #181

Open
fenglin-ssb opened this issue Sep 29, 2021 · 6 comments

Comments

@fenglin-ssb
Copy link

fenglin-ssb commented Sep 29, 2021

Description

  1. create a notebook on gcp ai platform, choose python 3 customized with CUDA and choose to use GPU (NEVIDA Tesla 4).
  2. follow the instruction on https://cloud.google.com/ai-platform/prediction/docs/using-what-if-tool/ to install plugins.
    !pip install witwidget-gpu
    !jupyter labextension install wit-widget
    !jupyter labextension install @jupyter-widgets/jupyterlab-manager
  3. run a example to use witwidget, sample ipynb file can be provided by asking.

i have come the step that the the following witwidget can be shown:
image
but the data is empty.

Reproduce

Expected behavior

i expect the data can be loaded into the widget.

Context

  • ipywidgets version
  • Operating System and version:
  • Browser and version:

Paste the output from your command line running jupyter lab (or jupyter notebook if you use notebook) here, use --debug if possible.

image
image

If using JupyterLab

  • JupyterLab version:
Installed Labextensions
Paste the output from your command line running `jupyter labextension list`.
[W 2021-09-29 12:56:47.989 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
JupyterLab v3.1.13
/opt/conda/share/jupyter/labextensions
        nbdime-jupyterlab v2.1.0 enabled OK
        jupyterlab-jupytext v1.3.5 enabled OK (python, jupytext)
        @jupyter-widgets/jupyterlab-manager v3.0.1 enabled OK (python, jupyterlab_widgets)
        @jupyterlab/server-proxy v3.1.0 enabled OK
        @jupyterlab/git v0.32.4 enabled OK (python, jupyterlab-git)

Other labextensions (built into JupyterLab)
app dir: /opt/conda/share/jupyter/lab
beatrix_jupyterlab v3.1.1 disabled OK
jupyterlab-plotly v5.3.1 enabled OK
plotlywidget v4.14.3 enabled OK
wit-widget v1.8.0 enabled OK
xai_image_widget v0.1.0 enabled OK
xai_tabular_widget v0.1.0 enabled OK

@jameswex
Copy link
Collaborator

What data did you pass into the witwidget? Can you provide a notebook that can reproduce the issue? Thanks.

@fenglin-ssb
Copy link
Author

@jameswex how can i give you the sample ipynb file?

@fenglin-ssb
Copy link
Author

do you have some slack workspace/channel?

@jameswex
Copy link
Collaborator

Feel free to attach to this bug, or email to jwexler [at] google.com

@fenglin-ssb
Copy link
Author

i use this example https://colab.research.google.com/github/pair-code/what-if-tool/blob/master/xgboost_caip.ipynb and a customized file is send to you with email.

@fenglin-ssb
Copy link
Author

it is wired after some "cooling down" period, it works now. i think we can close this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants