Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer Learning, freezing layers #92

Open
mazatov opened this issue Feb 28, 2020 · 0 comments
Open

Transfer Learning, freezing layers #92

mazatov opened this issue Feb 28, 2020 · 0 comments

Comments

@mazatov
Copy link

mazatov commented Feb 28, 2020

I'm trying to do a transfer learning for my dataset. I have only ~30 persons, but I do have a lot of images per person (~500 - 2000) . I wanted to freeze the initial layers of the model and just train the head as I'm worried about overfitting.

Would I only need to change is_training = False on this line of code?

endpoints, body_prefix = model.endpoints(images, is_training=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant