cs231n / cs231n.github.io

Public facing notes page
MIT License
10.13k stars 4.06k forks source link

Memory usage calculation for VGGNet #88

Open codebox opened 8 years ago

codebox commented 8 years ago

In the 'VGGNet in detail' section the amount of memory used by the network is shown as follows:

TOTAL memory: 24M * 4 bytes ~= 93MB

however adding up all the memory values for the listed layers produces a total of only ~15MB * 4 bytes. Is the memory usage calculation correct? If the calculation is correct then a quick explanation of how the figure of 24M was derived would be useful.

cfanyyx commented 5 years ago

I also want to know why ~*2 for bwd?