Skip to content

Commit

Permalink
fixed encoder_num_channels for SAM2 (not used anyway)
Browse files Browse the repository at this point in the history
  • Loading branch information
mese79 committed Jan 13, 2025
1 parent a2314db commit fc7ad05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/featureforest/models/SAM2/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
self.name = name
# we need sam2 image encoder part
self.encoder = image_encoder
self.encoder_num_channels = 256
self.encoder_num_channels = 256 * 3
self._set_patch_size()
self.device = device

Expand Down

0 comments on commit fc7ad05

Please sign in to comment.