Skip to content

Commit

Permalink
Update audio_preprocessing.py (NVIDIA#2538)
Browse files Browse the repository at this point in the history
* Update audio_preprocessing.py

* Update audio_preprocessing.py

Signed-off-by: Jason <[email protected]>
  • Loading branch information
blisc authored Jul 26, 2021
1 parent bb7a930 commit f2910cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo/collections/asr/modules/audio_preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def input_types(self):
"""
return {
"input_signal": NeuralType(('B', 'T'), AudioSignal(freq=self._sample_rate)),
"length": NeuralType(tuple('B'), LengthsType()),
"length": NeuralType(tuple('B'), LengthsType()), # Please note that length should be in samples not seconds.
}

@property
Expand Down

0 comments on commit f2910cb

Please sign in to comment.