This script traverses a project directory generated by a Keras Tuner tuner and creates a CSV file that can directly be consumed by HiPlot for visualization of results. Inspired by this post.
You will need to have HiPlot installed (python 3.6 or above)
pip install hiplot
For easy of use you can install the script in ~/bin/
or /usr/local/bin/
.
cp keras-tuner-hiplot/kt2hip.py ~/bin/
-
Navigate to your project folder and issue
kt2hip.py
, or directlykt2hip.py /path/to/keras-tuner/project
This will create a
hiplot.csv
file in that folder and print its path to stdout. -
hiplot
on a terminal. Leave it running. -
Open a web browser and go to
http://127.0.0.1:5005/
(or alternative location used by HiPlot server).Paste the path to the
hiplot.csv
file in the text box on top of the webpage and press enter.