Dogscats ensemble method - mismatching layer weights

I’ll admit to having had some pain using the methods learned on new datasets or applying the methods taught in the lectures.

In this workbook I tried using the dogscats ensemble methods on the Kaggle Invasive species dataset. Was happy to work through debugging methods to expose and check mismatched layers, currently stumped at this layer where
a layer from fc_model.layers has weights of shape [(4096, 4096), (4096,)]
a layer from fc_layers has weights of shape [(4096, 2), (2,)]

(refer def train_dense_layers)

Taking a step back to redo some fundamentals. Broader question of work method to debug code in Keras remains.