Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions slide2vec/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ def forward(self, x):

class Midnight12k(FeatureExtractor):
def __init__(self):
self.features_dim = 1536
self.features_dim = 3072
super(Midnight12k, self).__init__()

def build_encoder(self):
Expand Down Expand Up @@ -749,7 +749,7 @@ def build_encoder(self):

def get_transforms(self):
return AutoImageProcessor.from_pretrained(
"histai/hibou-L", trust_remote_code=True
f"histai/{self.arch}", trust_remote_code=True
)

def forward(self, x):
Expand Down
Loading