This post is written for documentation purpose. It covers the following topics of matplotlib:
Here is an example of the usage of this function:
Flask is a light web framework written in Python. It’s easy to learn and use and it’s a perfect tool to build website prototypes. For example: in this website
most of the content is static and with the help of Jinja library, it only takes a couple of lines to generate the table. The website does need to store the thumbs-up and thumbs-down data but for a prototype it’s not a big deal and we don’t really need a database.
Models such as VGG-16 have huge number of parameters and it is not practical to train those models on a home computer. However, it’s a known fact that using pre-trained model can help improve the performance. A natural idea is to reduce a large pre-trained model to a reasonable size so that it becomes possible to train it on an ordinary computer.
In Fully-adaptive Feature Sharing in Multi-Task Networks with Applications in Person Attribute Classification, the authors proposed a method to build a thin network from a pre-trained network model.
First, we can have a unified way…
The objective of transfer learning is to transfer the learning experience from one domain to another and it usually involve at least two tasks. The task the allow us to get learn experience is called source task and the task that we want to apply the learned experience to is called target task.
A learning task consists of four components:
This post explains the usage of
is_authenticated in the Flask-login User model.
The explanation of
is_authenticated in the official Flask-login documentation is confusing. It gives an impression that it indicates if a user is authenticated/validated/logged in. Following this direction, a natural question is when a user is logged in or logged out, should we set
is_authenticated dynamically and do we need a database to save the value?
In the following section, we try to clarify the notion a little bit.
Let’s ask the question in a different way. If
is_authenticated is always set to true when a user…
Disclaim: This post is a collection of information found online.
A Bean can be injected by the following methods:
Text version of this post can be found here.
In this post, we briefly describe some classic geometric transformation in image processing. Most of the content in this post comes from the lecture notes listed in the Related Reading section. The following topics are covered in this post:
Before presenting the topics, we have a quick note on the topic of “projective transformations vs perspective transformation”. Quoted from Projective Transformation:
A transformation that maps lines to lines (but does not…
This post is a brief summary of three algorithms for object detection and segmentation:
All of them are region based algorithm. The following concepts are involved in the discussion and paper
The input of the fast R-CNN are
In Fast R-CNN, the location proposals are calculated using traditional computer vision technique Selective…