Skip to content

Add timm encoder and DINOv3 config#156

Open
pierreadorni wants to merge 2 commits into
VMarsocci:mainfrom
pierreadorni:timm-dinov3
Open

Add timm encoder and DINOv3 config#156
pierreadorni wants to merge 2 commits into
VMarsocci:mainfrom
pierreadorni:timm-dinov3

Conversation

@pierreadorni
Copy link
Copy Markdown
Contributor

This PR adds a TimmEncoder class that allows the usage of any encoder in the timm library. As an example, a config file for the DINOv3 ViT-L/16 model pretrained on sat493m is added.

@kshitijrajsharma
Copy link
Copy Markdown

Any update on this PR to get it in upstream ?

@mxgbr
Copy link
Copy Markdown

mxgbr commented Apr 21, 2026

Would it make sense to use the config output_layers for the out_indices kwarg in timm.create_model? Same for the config for the sum of input bands and the in_chans kwarg?

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

Successfully merging this pull request may close these issues.

3 participants