tensorflow / model-analysis

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

Render_plot is failing #173

Closed siddharthroy closed 1 year ago

siddharthroy commented 1 year ago

System information

Describe the problem

No plot is being rendered. It fails with below error:

TFMA render_plot JS error

I tried to run the tutorial notebook on colab as well, but very first step of TFMA installation itself failed, so I couldn't proceed to generate this error in colab.

Please help. Thanks!!!

singhniraj08 commented 1 year ago

@siddharthroy,

I am able to run the render_plot() successfully in Colab Environment. Ref: screenshot below TFMA installation in colab failed in your case because of Python version mismatch between Python 3.10 installed in colab and python supported version by TFMA. There is a workaround to install TFMA in colab. You can refer to attached gist.

The error you are facing looks like is because of Jupyter extensions missing. Please make sure Jupyter extensions are installed as shown in tutorial and let us know if still you are facing issues. Thank you!

image

singhniraj08 commented 1 year ago

Closing this due to inactivity. Please take a look into the answers provided above, feel free to reopen and post your comments(if you still have queries on this). Thank you!