Re:Show HN: Streamlit – Turn Python Scripts into Beautiful M...
by srynot on Tuesday October 01, 2019 @11:52AM
(#21126782)
This is pretty cool, it's kind of between a script and a notebook. How well does this work with TensorFlow?
[ Parent
| on HN ]
Re:Show HN: Streamlit – Turn Python Scripts into Beautiful M...
by adrien-treuille on Tuesday October 01, 2019 @12:11PM
(#21127079)
You can see an example of using Streamlit to do realtime inference on a Tensorflow model in this blog post:
https://towardsdatascience.com/coding-ml-tools-like-you-code...
(About 90% through the article there's an animation.) We'll post the code on how we did this soon.
Re:Show HN: Streamlit – Turn Python Scripts into Beautiful M...
by adrien-treuille on Tuesday October 01, 2019 @12:05PM
(#21126993)
The secret is to use @st.cache(ignore_hash=True) to store Tensorflow state. If more questions / issues come up, please post them here or in our forums discuss.streamlit.io.
Re:Show HN: Streamlit – Turn Python Scripts into Beautiful M...
by adrien-treuille on Tuesday October 01, 2019 @12:05PM
(#21126983)
Streamlit and Tensorflow work perfectly together. Actually, Streamlit is a great way to explore Tensorflow models in realtime.
Re:Show HN: Streamlit – Turn Python Scripts into Beautiful M...
by adrien-treuille on Tuesday October 01, 2019 @12:06PM
(#21127006)
..and thanks Srynot!! :)