When using sliding window, the timestamps are not displayed correctly

#31
by WJO - opened

614.png

In the pipeline, using the chunk_length_s=30 option gives correct timestamps, but I am not satisfied with the segmentation, so I prefer not to use it. However, when this option is disabled (and sliding window is used), the timestamps appear split.

Is there a way to resolve this issue?

got the same issue, after add chunk_length_s, got error below
raise ValueError(
ValueError: The following model_kwargs are not used by the model: ['chunk_length_s'] (note: typos in the generate arguments will also show up in this list)

got the same issue, i can only reset the timestamp using the following code
time_chunk = 0.0
end = 0.0
for segment in result["chunks"]:
start = segment['timestamp'][0]
if float(start) == float(0):
time_chunk = end
start = start + time_chunk
end = segment['timestamp'][1]
end = end + time_chunk

Sign up or log in to comment