tensorflow / model-analysis

Model analysis tools for TensorFlow
Apache License 2.0
1.26k stars 277 forks source link

Cannot read property 'SlicingMetricsModel' of undefined #72

Open schmidt-jake opened 4 years ago

schmidt-jake commented 4 years ago

System information

Describe the problem

I'm running tfma inside a docker container to get around any issues with the tfma extension not being available in my conda environment. Everything looks good, I just can't display the interactive charts. When I call tfma.view.render_slicing_metrics(result), I get the following error in the browser console. Chrome version 83.0.4103.106.

Source code / logs

Screen Shot 2020-06-28 at 7 01 57 PM
catherinenelson1 commented 4 years ago

I get the same error, running locally. Occasionally if I hit some combination of page refreshes and runs of this command, the visualization will show up, but it is not reliable.

Chrome version 83.0.4103.116

aadithya93 commented 4 years ago

I get the same error when running locally. Chrome version 85.0.4183.83

dabrinkofabreakthrough commented 4 years ago

I also experience the same issue. However, for me, opening the same notebook (without rerunning any cells or restarting the kernel) in a different tab or browser renders the plot.

cao-lele commented 4 years ago

Same problem for me. I am using Chrome (MAC) Version 85.0.4183.102 (Official Build) (64-bit) And the extension status (running jupyter nbextension list) looks fine:

notebook section jupyter-js-widgets/extension enabled

  • Validating: OK tensorflow_model_analysis/extension enabled
  • Validating: OK

I also tired open the same notebook in a different tab or browser, nothing works.

anenbergb commented 3 years ago

Same issue over here.

jupyter nbextension list looks ok:

    notebook section
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
      tensorflow_model_analysis/extension  enabled 
      - Validating: OK