Hey everyone

I was doing one of the programming assignments of week 2 on the CNN course and I was trying to get to the output volume of stage 1 of the ResNet50.

On the programming assignment I get this volume:

And I was trying to get the output volume of conv2d_142 but I keep getting 32.5 instead of 32?

I am using this formula:

Shouldn’t it be:

((64 + 2 * 3 - 7)/(2))+1, where 64 is the input H/W, 3 is the padding and 7 is the kernel size? Or am I using the formula wrong? How do we get to the 32 on the conv2d_142? The 64 channels I get since we’re using 64 filters,but not sure how we get to the 32

Thanks!