Skip to content

Finetuning the SAM2 features model #59

@anwai98

Description

@anwai98

Hi @bentaculum, @C-Achard, @maweigert,

Is it possible to train a model with SAM2 features?

For context: I was trying to train a trackastra model with SAM2 features, taking inspiration from your train_config.yaml file for it. I realized that the backbone needs a couple of changes to make it work for the new training design.

My question here would be:

  1. Are you planning to incorporate trackastra finetuning with SAM2 features?

If not, I have a super minimalistic pipeline change with which I could make the training work! (thanks to @C-Achard's repo which I took hints from ;))

[nim00007] u12090@glogin10 trackastra $ git diff --stat
 scripts/train.py          | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 trackastra/data/data.py   | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------
 trackastra/data/wrfeat.py |  3 ++-
 3 files changed, 131 insertions(+), 20 deletions(-)
[nim00007] u12090@glogin10 trackastra $ 

cc: @constantinpape

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