Skip to content

Model overfitting when finetuned on smaller data #20

@diksham-flwls

Description

@diksham-flwls

Hi
I am trying to finetune the model on a smaller dataset of 450 samples of greyhead renders that look like this
Screenshot 2024-02-06 at 10 42 08 AM

My training loss seems to be converging but the validation loss is diverging.
I am freezing everything but the final layers but otherwise using the exact same code as the repo.
Screenshot 2024-02-07 at 7 41 56 PM
Screenshot 2024-02-07 at 7 42 06 PM
When I plot the euclidean distance of the FC layer outputs I find that the distribution is pretty overlapping for matched (green) and unmatched pairs (red).
matched_and_unmatched_pair_dist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions