rcmalli / keras-vggface

VGGFace implementation with Keras Framework
MIT License
928 stars 417 forks source link

How to finetune last layers in keras vggface? #36

Closed ZER-0-NE closed 5 years ago

ZER-0-NE commented 6 years ago

print(tf.version) 1.8.0 print(keras.version) 2.1.6 print(keras_vggface.version) 0.5

rcmalli commented 5 years ago

There are really good blog posts about this.

jpgard commented 4 years ago

Which of these blog posts shows how to fine-tune a pre-trained keras-vggface model? I don't see that in any of them.

sherlockchou86 commented 4 years ago

you can set layer.trainable=False expect the last layers, and then re-train the last layers.