News for hackers. Stuff that matters.
Re:Show HN: Streamlit – Turn Python Scripts into Beautiful M... by adrien-treuille on Tuesday October 01, 2019 @11:31AM (#21126484)
Hi. :) I’m Adrien, co-founder of Streamlit. This project started with my personal frustration trying to build high-quality machine learning tools to visualize datasets and models. As a researcher and engineer, I’ve seen how poor tooling slows down machine learning projects. I wondered if we could make building beautiful, interactive tools as easy as writing simple Python scripts.

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!

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!! :)
Re:Show HN: Streamlit – Turn Python Scripts into Beautiful M... by adrien-treuille on Tuesday October 01, 2019 @11:38AM (#21126586)
Re:Show HN: Streamlit – Turn Python Scripts into Beautiful M... by breck on Friday October 04, 2019 @10:24AM (#21158005)
Cool stuff! Architecture makes sense. I may try this next model I build.