Structure programming versus Object-oriented programming in Deep Learning

Structured programming (SP) is a subset of object-oriented programming (OOP). Therefore, OOP can help in developing much larger and complex programs than structured programming. Traditional procedural programming is far less dogmatic. You have data. You have functions. You apply the functions to the data. If you want to organize your program somehow, that’s your problem, and the language isn’t going to help you. In my working experiences, if you want to try some models quickly, you could use SP step-by-step. But when working with a system with multiple modules, you should use OOP for Deep Learning because of its encapsulation, inheritance property. Besides that, OOP makes your Deep Learning program more brightly and concisely.

Read More

Upside and downside of Spatial Pyramid Pooling

Spatial Pyramid Pooling (SPP) [1] is an excellent idea that does not need to resize an image before feeding to the neural network. In other words, it uses multi-level pooling to adapts multiple image’s sizes and keep the original features of them. SPP is inspired from:

Read More