When using sliding window, the timestamps are not displayed correctly
#31
by
WJO
- opened
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