We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bfc014 commit 89a3991Copy full SHA for 89a3991
common/setups/returnn/datastreams/audio.py
@@ -95,7 +95,7 @@ class ReturnnAudioFeatureOptions:
95
feature_options: Optional[Union[dict, AdditionalFeatureOptions]] = None
96
sample_rate: Optional[int] = None
97
peak_normalization: bool = True
98
- preemphasis: float = None
+ preemphasis: Optional[float] = None
99
100
def __post_init__(self):
101
# convert Enum back to str
@@ -198,7 +198,7 @@ def add_global_statistics_to_audio_feature_datastream(
198
:rtype: AudioFeatureDatastream
199
"""
200
extraction_dataset = OggZipDataset(
201
- path=zip_datasets,
+ files=zip_datasets,
202
segment_file=segment_file,
203
audio_options=self.as_returnn_audio_opts(),
204
target_options=None,
0 commit comments