Running into NotImplementedError while trying to implement DenseNet

The error comes from the Transition blocks. TransitionBlock is what I wrote up myself, and TransitionBlock_test is using code form another implementation of the same network. I even modified the variables to be the same between both, but I still get an error in my code while the other one runs fine.

You have typo in the first Transition Block definition. You wrote foward instead of forward. So it can’t find the forward function :wink:

Source: Personal experience :smiley:

oh my god thank you. i thought i was losing it