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: feature extraction #253

Open
Salvatore-tech opened this issue Oct 3, 2022 · 1 comment
Open

Transfer learning: feature extraction #253

Salvatore-tech opened this issue Oct 3, 2022 · 1 comment
Assignees

Comments

@Salvatore-tech
Copy link
Contributor

Describe the bug
Good evening, i was wondering if some high level functions are provided to perform feature extraction on a model as RAFT.
I'd like to load the pretrained model on Things3d+Chairs and update only the final layer of it.

@Zachary-66
Copy link
Collaborator

Zachary-66 commented Oct 10, 2022

I don't clearly understand what you mean, there may be several understandings:

  1. The final layer is a singel layer, such as a Conv layer. For now, we don't have such high level function.
  2. You want to update the parameters of a complete submodule and freeze the other submodule. For example, when training FlowNet2CS, which is composed of flownetC and flownetS1, we only want to update flownetS1. By referring to the config, just set the freeze_net of flownetC to 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

2 participants