Skip to content

Commit

Permalink
add debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbrandreth committed Aug 28, 2024
1 parent d89ff7f commit 8d06c62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/miade/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def _load_model_factory(self, custom_annotators: Optional[List[Annotator]] = Non
# get model {id: cat_model}
log.info(f"Loading MedCAT models from {self.model_directory}")
for model_pack_filepath in self.model_directory.glob("*.zip"):
log.debug(f"Trying to load model pack: {model_pack_filepath}")
try:
cat = MiADE_CAT.load_model_pack(str(model_pack_filepath), meta_cat_config_dict=meta_cat_config_dict)
# temp fix reload to load stop words
Expand Down

0 comments on commit 8d06c62

Please sign in to comment.