We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f6575d commit 1c9d9beCopy full SHA for 1c9d9be
fastembed/common/model_management.py
@@ -407,7 +407,7 @@ def download_model(
407
try:
408
return cls.retrieve_model_gcs(
409
model.model,
410
- url_source,
+ str(url_source),
411
str(cache_dir),
412
local_files_only=local_files_only,
413
)
fastembed/late_interaction_multimodal/colpali.py
@@ -140,7 +140,7 @@ def _post_process_onnx_image_output(
140
Iterable[NumpyArray]: Post-processed output as NumPy arrays.
141
"""
142
return output.model_output.reshape(
143
- output.model_output.shape[0], -1, self.model_description.dim
+ output.model_output.shape[0], -1, int(self.model_description.dim)
144
).astype(np.float32)
145
146
def _post_process_onnx_text_output(
0 commit comments