Fix validation is_in_subclip after encoder changes

This commit is contained in:
mbsantiago 2025-06-24 06:26:08 -06:00
parent 235f0e27da
commit daab8ff0d7
2 changed files with 2 additions and 3 deletions

View File

@ -189,8 +189,7 @@ def train_command(
config=postprocess_config_loaded,
)
logger.debug(
"Loaded postprocessor from file {path}",
path=train_config,
"Loaded postprocessor from file {path}", path=postprocess_config
)
except IOError:
logger.debug(

View File

@ -97,7 +97,7 @@ def _is_in_subclip(
start_time: float,
end_time: float,
) -> bool:
time, _ = targets.encode_roi(sound_event_annotation)
(time, _), _ = targets.encode_roi(sound_event_annotation)
return start_time <= time <= end_time