@chenyuntc Thank you. But this still does not answer the my problem as the solution either makes the entire block trainable or frozen. I would like enter the block and keep only the classification layer, the average pooling layer and last the convolution layer in the last block trainable.