From d725bad4fdd4fd2b035707ae0af86bc5f01cb75c Mon Sep 17 00:00:00 2001 From: Xinyuan Li Date: Tue, 23 Jan 2024 21:39:40 -0500 Subject: [PATCH] Rename asr_datamodule to slu_datamodule Signed-off-by: Xinyuan Li --- egs/fluent_speech_commands/SLU/transducer/decode.py | 2 +- .../SLU/transducer/{asr_datamodule.py => slu_datamodule.py} | 0 egs/fluent_speech_commands/SLU/transducer/train.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename egs/fluent_speech_commands/SLU/transducer/{asr_datamodule.py => slu_datamodule.py} (100%) diff --git a/egs/fluent_speech_commands/SLU/transducer/decode.py b/egs/fluent_speech_commands/SLU/transducer/decode.py index 4f3d205c2..fb039e76d 100755 --- a/egs/fluent_speech_commands/SLU/transducer/decode.py +++ b/egs/fluent_speech_commands/SLU/transducer/decode.py @@ -22,7 +22,7 @@ from typing import List, Tuple import torch import torch.nn as nn -from transducer.asr_datamodule import SluDataModule +from transducer.slu_datamodule import SluDataModule from transducer.beam_search import greedy_search from transducer.decoder import Decoder from transducer.encoder import Tdnn diff --git a/egs/fluent_speech_commands/SLU/transducer/asr_datamodule.py b/egs/fluent_speech_commands/SLU/transducer/slu_datamodule.py similarity index 100% rename from egs/fluent_speech_commands/SLU/transducer/asr_datamodule.py rename to egs/fluent_speech_commands/SLU/transducer/slu_datamodule.py diff --git a/egs/fluent_speech_commands/SLU/transducer/train.py b/egs/fluent_speech_commands/SLU/transducer/train.py index 891119cb9..4f69573cc 100755 --- a/egs/fluent_speech_commands/SLU/transducer/train.py +++ b/egs/fluent_speech_commands/SLU/transducer/train.py @@ -26,7 +26,7 @@ import torch import torch.multiprocessing as mp import torch.nn as nn import torch.optim as optim -from asr_datamodule import SluDataModule +from slu_datamodule import SluDataModule from lhotse.utils import fix_random_seed from torch import Tensor from torch.nn.parallel import DistributedDataParallel as DDP