C2W3_layers in the pre-trained model non-trainable

Hi all,
@gent.spah
@balaji.ambresh

For the pre trained model , I have set Trainable layer as False, still in the output it captures the Trainable params. Appreciate any assistance pls…

image

If this link on trainable layers / model doesn’t help, please click my name and message your notebook as an attachment.

1 Like

Please pay attention to indentation. The statement return pre_trained_model is indented to 4 spaces whereas the rest of your code is indented to 2 spaces.

1 Like

Hi @balaji.ambresh
many thanks for this solution, worked like magic. Much appreciated.

@balaji.ambresh

Thanks again , just passed C2W3

Appreciate if you may please assist me on C2W1 as well, I’m stuck on splitting data issue since a week…