johko / computer-vision-course

This repo is the homebase of a community driven course on Computer Vision with Neural Networks. Feel free to join us on the Hugging Face discord: hf.co/join/discord
MIT License
365 stars 121 forks source link

Fix bug in VGG19 implementation #303

Open frankl1 opened 1 month ago

frankl1 commented 1 month ago

The implementation of the VGG19 had a bug due to missing convolutional layers, making the classifier input volume shape to be 14x14x512 instead of 7x7x512.

The implemented architecture could be called VGG15 by setting the classifier input layer to nn.Linear(14x14x512, 4096).

I have changed the code to make VGG19 w.r.t the original paper.