@ -34,6 +34,8 @@ class SbbBinarizer:
self.start_new_session()
self.model_files = glob('%s/*.h5' % self.model_dir)
if not self.model_files:
self.model_files = glob('%s/*/' % self.model_dir)
raise ValueError(f"No models found in {self.model_dir}")