Skip to content

Commit 413ea4b

Browse files
committed
Fix RIR test
Signed-off-by: Piotr Żelasko <petezor@gmail.com>
1 parent a8acf24 commit 413ea4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nemo/collections/common/data/lhotse/dataloader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
import os
15+
import random
1516
import warnings
1617
from dataclasses import dataclass
1718
from functools import partial
@@ -319,6 +320,7 @@ def get_lhotse_dataloader_from_config(
319320
ReverbWithImpulseResponse(
320321
rir_recordings=RecordingSet.from_file(config.rir_path) if config.rir_path is not None else None,
321322
p=config.rir_prob,
323+
randgen=random.Random(seed),
322324
)
323325
)
324326

0 commit comments

Comments
 (0)