micah5/sponsorship_remover

Overlapping Output Times

Linked-Liszt opened this issue · 0 comments

(Credit to Richard Win#1615 on discord for finding this).

It's possible to generate output's with overlapping times when using predict.py.

For Example:
While running predict.py on id 8PmM6SUn7Es
The printed output is: [{'start': '0:08:53', 'end': '0:09:07'}, {'start': '0:09:00', 'end': '0:09:12'}, {'start': '0:09:06', 'end': '0:09:19'}]

Could probably be patched with post processing but looking at the verbose output it looks like it might have something to do with the way the timestamps are being assigned to text:

normal 0:00:13 -> 0:00:29
------------------------------------
 responsibility organic food is supposedly healthier more natural and more ethical but what do we even mean

normal 0:00:21 -> 0:00:38
------------------------------------
 when we say organic there's no global consensus so different regions have different definitions and rules in

normal 0:00:29 -> 0:00:45
------------------------------------
 general organic food is farmed without GMO seeds synthetic fertilizers or synthetic pesticides instead organic