Skip to content

Commit

Permalink
fix: continue to load exemplar when missing data as some labels may b…
Browse files Browse the repository at this point in the history
…e missing
  • Loading branch information
danellecline committed Oct 18, 2024
1 parent e375511 commit e3fbdbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aipipeline/prediction/vss_load_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def load_exemplars(labels: List[tuple[str, str]], config_dict=Dict, conf_files=D

if exemplar_file is None:
logger.info(f"No detections file found for {label}")
return f"No exemplar or detections file found for {label}"
continue

with open(exemplar_file, "r") as f:
exemplar_count = len(f.readlines())
Expand Down

0 comments on commit e3fbdbd

Please sign in to comment.