An On-Demand High-Powered Jupyter Notebook Server

This is a cross-post from the Harry’s Engineering blog. Introduction Here on the Analytics team at Harry’s, we frequently found ourselves training machine learning models on data coming from the entirety of Harry’s existence (4+ years and counting!) in Jupyter notebooks on our laptops. While perhaps this was a feasible workflow in the earlier days…… Continue reading An On-Demand High-Powered Jupyter Notebook Server

From content streaming to worker queues

For the last week, I’ve been working on deploying Style Transfer Playground, the Flask app that I built that blends the content of one user-uploaded image with the style of another, letting the user see the algorithmically generated hybrid image one iteration at a time in the web browser. The biggest technical challenge when I built…… Continue reading From content streaming to worker queues

Intro to Flask contexts

As I’ve continued building my web app in Flask, there are two error messages that I’ve been encountering repeatedly: RuntimeError: working outside of application context and RuntimeError: working outside of request context I decided to dig a little deeper into what these messages were telling me about Flask’s internals and came across this great Stack Overflow thread (finding…… Continue reading Intro to Flask contexts

Streaming algorithmically-generated images with Flask

I’m working on building a web application with Flask that will algorithmically generate a neural artwork image based on user-uploaded input images and allow the user to see the images generated at intermediate stages of the computation. For the purpose of this post, all you need to know about my project is that I have a large…… Continue reading Streaming algorithmically-generated images with Flask

Picasso “styles” visualized with t-SNE

In an earlier blog post I explained how I came to discover that “style,” as described in the Gatys, et al style transfer paper, has little correlation with what humans think of when they think of a particular artist’s style, and instead really has more to do with color and texture. In this sense, a particular artist…… Continue reading Picasso “styles” visualized with t-SNE