I am trying to use tensorflow (2.2) data validation (TFDV version: 0.22.2) to visualize data on databricks GPU cluster.
From databricks notebook, I am running the code at : https://nbviewer.jupyter.org/github/tensorflow/tfx/blob/master/docs/tutorials/data_validation/tfdv_basic.ipynb
But, when I run
tfdv.visualize_statistics(train_stats)
I got:
<IPython.core.display.HTML object>
no html webpage shown.
I have tried to update matlibplot but it does not work.
I have also tried https://python-forum.io/Thread-How-to-display-IPython-core-display-HTML-object and How to embed HTML into IPython output?
but still no html shown.
Could anybody help me about this ?
thanks
UPDATE
I have tried :
html = tfdv.visualize_statistics(train_stats).data
got:
<IPython.core.display.HTML object>
AttributeError: 'NoneType' object has no attribute 'data'
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<command-2488671> in <module>
----> 1 html = tfdv.visualize_statistics(train_stats).data
AttributeError: 'NoneType' object has no attribute 'data'