Skip to content

Reusing weights when training on dataset with different number of classes #77

Open
@ajuric

Description

@ajuric

I have the following scenario.

I train the model on some dataset and save the weights of the trained model. Later, I would like to reuse those weights as a good starting point for training on another dataset which has a different number of classes.

Is there an option to load weights but ignore only weights in the last layer (because the models for those two datasets differ only in the last layer)? If no, is there a plan to add it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionInformation request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions