4 ms·
This is pretty cool, it's kind of between a script and a notebook. How well does this work with TensorFlow?
by srynot 7y ago
This is pretty cool, it's kind of between a script and a notebook. How well does this work with TensorFlow?
- adrien-treuille 7y agoStreamlit and Tensorflow work perfectly together. Actually, Streamlit is a great way to explore Tensorflow models in realtime.
- adrien-treuille 7y agoThe 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.
- adrien-treuille 7y ago..and thanks Srynot!! :)
- adrien-treuille 7y agoYou 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-ml-models-ddba3357eace 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.