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?
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!! :)
Over the past year, my teammates and I have worked with a select beta community of over a hundred machine learning engineers to make a free, open-source Python library called Streamlit. We wanted the process of coding beautiful, interactive ML tools to feel like training a neural net or performing an ad-hoc analysis in Jupyter. We think we've achieved this, and I'm really excited to share it with all of you!
We’d love to hear your thoughts and ideas. I’ll be here to answer any questions you might have!