Fun without Servers, Part 1

Patrick Rodriguez  |  Posted on Thu 16 February 2017 in programming • Tagged with python, lambda, zappa, aws, javascript

Secure 'Serverless' File Uploads with AWS Lambda, S3, and Zappa

Deploy a Python-based Zappa microservice onto AWS Lambda to facilitate direct browser to S3 file uploads. A React-based Fine Uploader component is hosted on S3. All traffic is encrypted (for free) with HTTPS/SSL!


Continue reading

AI Tool Building

Patrick Rodriguez  |  Posted on Wed 01 February 2017 in programming • Tagged with python, deep learning, keras

Accelerating Deep Learning with Multiprocess Image Augmentation in Keras

By adding multiprocessing support to Keras ImageDataGenerator, benchmarking on a 6-core i7-6850K and 12GB TITAN X Pascal: 3.5x speedup of training with image augmentation on in memory datasets, 3.9x speedup of training with image augmentation on datasets streamed from disk.


Continue reading

Deep Learning, Applied. Project #1

Patrick Rodriguez  |  Posted on Sun 22 January 2017 in programming • Tagged with python, deep learning, keras

Food Classification with Deep Learning in Keras / Tensorflow

Work with a moderately-sized dataset of ~100,000 images and train a Convolutional Neural Network to classify the images into one of 101 possible food classes. Side excursions into accelerating image augmentation with multiprocessing, as well as visualizing the performance of our classifier.


Continue reading