Blog

Popular loss functions

In this post I will note some popular loss function using for training neural network. The last part reviews some loss functions presented in popular papers for object detection.

1. What is the loss function?

Loss function (or objective function) decide how well the output of a neural network. Rely on loss function, optimizer does the corresponding way to train the weight factors, or together with other parameters (as learng rate, batch size, weight initialization, data preprocessing, etc) it know somehow to adjust weight factors to get the optimized values to reach the designed target.

Continue reading

Visual Studio 2015 and opencv 3.3.1

[this blog was written right after moving coding from python to c++ with VS]

This post note a way to use opencv in Visual studio 2015. Opencv is an power tool to deal with image, video.

1. Download opencv 3.3.1

OpenCV is an useful, well-known library to programmer/student, who are interested in image processing. It is open, free and very easy to use on both Windows or Linux environment.

You guys can download the source code and build library to fit with your working environment or simply download an available pre-built package. In this post, I download a version of opencv fromĀ sourceforge, then use it directly as a library in my VSC++ program.

Continue reading