Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Set trainable layers while doing transfer learning #1728

@behzad1380

Description

@behzad1380

Description

I am using t2t-trainer to train an image classifier. I have set the followings:
--hparams_set=resnet_50 --model=resnet --hparams='batch_size=4'
and no hidden layers on top of resnet_50. My impression is that, it trains the entire resnet from scratch. I couldn't find the parameters to set trainable layers or freeze layers?
...

Environment information

OS: <your answer here>

$ pip freeze | grep tensor
# your output here

$ python -V
# your output here

For bugs: reproduction and error logs

# Steps to reproduce:
...
# Error logs:
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions