Image for post
Image for post
Photo by Marvin Meyer on Unsplash

In this story we’ll see how you can deploy your tensorflow model on an Android device using Tflite. Ok, but why do you want to run your models on Android ? For fun ? or testing you model on REAL data ?
Well, for me it’s both.


Image for post
Image for post
Photo by Alvaro Reyes on Unsplash

It’s fun to build apps as personal projects, but what if you want it to deploy it and showcase it to others? And not only that it should be able to handle multiple requests simultaneously. Well, in this article we’ll do this. Create Django apps, use PostgreSQL as a database and use Apache2 for handling multiple requests and some tips for logging and debugging errors.

Setup EC2 instance


Image for post
Image for post
Photo by Florian Olivo on Unsplash

Back in 2018, I wrote an article “Django + Angular 4 = A powerful web application” which has over 15k reads. Out of curiosity, I tried Angular 4 and Django. Continuing the series, here is a new article helping you to build amazing apps using - “Vuejs” and “Golang”.

Background

Golang


Image for post
Image for post
Photo by Steve Johnson on Unsplash

In the previous part we saw what is Image Processing, how it works and some basics of Matlab/Octave. In this part we’ll see color model, some additional functions in Matlab/Octave and how to do basic image enhancement.

What is Color Model ?


Image for post
Image for post
The F1-race classic

Really ? an AI to play F1 race game ? Well kind of. This story is more over as a helper guide rather than a tutorial to build the whole system.

The F1-race game


Image for post
Image for post

You know how to use Django to make web apps and also, you know how to build beautiful frontends using Angular but you were probably wondering how to integrate them with each other to build a single web app that has benefits of both?


Image for post
Image for post

We saw in the previous article about how to solve the FrozenLake environment available in OpenAI gym toolkit using Q-learning. In this article, we’ll solve it using the SARSA algorithm.

SARSA


Image for post
Image for post
Talk is cheap. Show me the code — Linus Torvalds

In the previous part, we saw what an MDP is and what is Q-learning. Now in this part, we’ll see how to solve a finite MDP using Q-learning and code it.

OpenAI gym

Installation


Image for post
Image for post
Photo by Blake Connally on Unsplash

Step 1

Step 2

xcode-select --install

Step 3


Image for post
Image for post

Want your terminal look cool like the above one ? Yeah ? So lets start !

1. First we will install zsh using Homebrew.

xcode-select --installruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2. Now install zsh

brew install zsh

3. Install Oh My Zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

4. Install iTerm2

Adesh Gautam

Machine/Deep Learning, Amateur Photographer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store