Today we are going to use deep learning to create a face unlock algorithm. To complete our puzzle, we need three main pieces.
First of all, we need a way to find a face inside an image. We can use an end-end approach called MTCNN (Multi-task Cascaded Convolutional Networks).
Just a little bit of technical background, it is called Cascaded because it is composed of multiple stages, each stage has its neural network. …
All the code used in this article is here
Recently, PyTorch has introduced its new production framework to properly serve models, called
torchserve.So, without further due, let’s present today’s roadmap:
To showcase torchserve, we will serve a fully trained ResNet34 to perform image classification.
Official doc here
The best way to install torchserve is with docker. You just need to pull the image.
You can use the following command to save the latest image.
docker pull pytorch/torchserve:latest
All the tags are available here
Today we are going to build a semantic browser using deep learning to search in more than 50k papers about the recent COVID-19 disease.
The key idea is to encode each paper in a vector representing its semantic content and then search using cosine similarity between a query and all the encoded documents. This is the same process used by image browsers (e.g. Google Images) to search for similar images.
So, our puzzle is composed of three pieces: data, a mapping from papers to vectors and a way to search. …