Skip to content

Commit

Permalink
Update quantized model
Browse files Browse the repository at this point in the history
  • Loading branch information
sooahleex committed Oct 6, 2024
1 parent 9a01f9b commit 1fef4b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/datumaro/components/algorithms/hash_key_inference/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ def __init__(self, *datasets: Sequence[Dataset]) -> None:
@property
def model(self):
if self._model is None:
self._model = explorer.ExplorerLauncher(model_name="clip_visual_vit_l_14_336px")
self._model = explorer.ExplorerLauncher(model_name="clip_visual_vit_l_14_336px_int8")
return self._model

@property
def text_model(self):
if self._text_model is None:
self._text_model = explorer.ExplorerLauncher(model_name="clip_text_vit_l_14_336px")
self._text_model = explorer.ExplorerLauncher(model_name="clip_text_vit_l_14_336px_int8")
return self._text_model

def _compute_hash_key(self, datasets, datasets_to_infer):
Expand Down
4 changes: 2 additions & 2 deletions src/datumaro/plugins/openvino_plugin/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class BuiltinOpenvinoModelInfo(OpenvinoModelInfo):
downloadable_models = {
"clip_text_ViT-B_32",
"clip_visual_ViT-B_32",
"clip_visual_vit_l_14_336px",
"clip_text_vit_l_14_336px",
"clip_visual_vit_l_14_336px_int8",
"clip_text_vit_l_14_336px_int8",
"googlenet-v4-tf",
}

Expand Down

0 comments on commit 1fef4b3

Please sign in to comment.