Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
  • Loading branch information
Joao-L-S-Almeida committed Jan 6, 2025
1 parent 336cdde commit 01a60a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion terratorch/models/backbones/select_patch_embed_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def select_patch_embed_weights(
state_dict[patch_embed_proj_weight_key] = temp_weight

# extract the single element from the set
#(patch_embed_proj_weight_key,) = patch_embed_proj_weight_key
patch_embed_weight = state_dict[patch_embed_proj_weight_key]

temp_weight = model.state_dict()[patch_embed_proj_weight_key].clone()
Expand Down

0 comments on commit 01a60a5

Please sign in to comment.