Pytorch for deep learning professional certificate C3_M1 Programming assignment

Problem with The MobileNetBackbone class from the programming assignment .

I filled the code in the MobileNetBackbone class where it was required but it does not work and It’s been a week that I fail to find the problem in the code. The error message says the following:

RuntimeError: The size of tensor a (4) must match the size of tensor b (16) at non-singleton dimension 3

Has anybody came accross the same problem??

Hi @THEO-A,

I’m going to send you a DM regarding this.

Best,
Mubsi

In Ex 1, Theodore was setting up the stride in “expansion phase” and “projection phase”, which was neither needed nor part of the exercise implementation.

Removing those passed the tests.