We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8acf24 commit 413ea4bCopy full SHA for 413ea4b
nemo/collections/common/data/lhotse/dataloader.py
@@ -12,6 +12,7 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
import os
15
+import random
16
import warnings
17
from dataclasses import dataclass
18
from functools import partial
@@ -319,6 +320,7 @@ def get_lhotse_dataloader_from_config(
319
320
ReverbWithImpulseResponse(
321
rir_recordings=RecordingSet.from_file(config.rir_path) if config.rir_path is not None else None,
322
p=config.rir_prob,
323
+ randgen=random.Random(seed),
324
)
325
326
0 commit comments