Update README.md
Browse files
README.md
CHANGED
|
@@ -121,8 +121,10 @@ def frames_to_intervals(
|
|
| 121 |
:param bool drop_short: Drop everything shorter than short_cutoff_s,
|
| 122 |
defaults to True
|
| 123 |
:param bool drop_initial: Drop predictions starting at 0.0, defaults to True
|
|
|
|
| 124 |
:param float short_cutoff_s: Duration in seconds of shortest allowable
|
| 125 |
prediction, defaults to 0.08
|
|
|
|
| 126 |
:return list[tuple[float]]: List of intervals [start_s, end_s]
|
| 127 |
"""
|
| 128 |
from itertools import pairwise
|
|
|
|
| 121 |
:param bool drop_short: Drop everything shorter than short_cutoff_s,
|
| 122 |
defaults to True
|
| 123 |
:param bool drop_initial: Drop predictions starting at 0.0, defaults to True
|
| 124 |
+
:param bool drop_final: Drop predictions ending at audio end, defaults to True
|
| 125 |
:param float short_cutoff_s: Duration in seconds of shortest allowable
|
| 126 |
prediction, defaults to 0.08
|
| 127 |
+
|
| 128 |
:return list[tuple[float]]: List of intervals [start_s, end_s]
|
| 129 |
"""
|
| 130 |
from itertools import pairwise
|