[Day 43] Coding up LeNet, VGG, InceptionNet, UNet from scratch
Hello :) Today is Day 43! Quick summary of today: write LeNet from scratch write VGG from scratch write InceptioNet from scratch write UNet from scratch (again) Wanting to understand the popular models a bit more, I decided to do the above. 1) Let's begin with LeNet . A basic framework developed in the 1990s, basic but set the groundwork for networks like AlexNet, VGG and ResNet. consists of 2 conv layers, each followed by a maxpool, and then ending with 2 fully connected (linear) layer. 2) Next is VGG The paper proposes numerous versions, VGG11, VGG13, VGG16, VGG19 but from a google search VGG16 seems most popular (version D in the pic). It is deeper than the earlier LeNet, consisting of multiple conv+maxpool layers, each increasing the amount of filters, and decreasing the size of the image. instead of 1 version, a general model was created so that it can adapt to the desired VGG architecture below is the implementation. I think this is a nice set-up...