Is dropout layer still active in a freezed Keras model (i.e. trainable=False)?
问题 I have two trained models ( model_A and model_B ), and both of them have dropout layers. I have freezed model_A and model_B and merged them with a new dense layer to get model_AB (but I have not removed model_A 's and model_B 's dropout layers). model_AB 's weights will be non-trainable, except for the added dense layer. Now my question is: are the dropout layers in model_A and model_B active (i.e. drop neurons) when I am training model_AB ? 回答1: Short answer: The dropout layers will continue