code: def __init__(
      self,
      args,
      subset: str = "train",
  ) -> None:
      if subset is not None and subset not in ["train", "val", "test"]:
          raise ValueError(
              "When `subset` is not None, it must be one of ['train', 'val', 'test']."
          )
  
      self.args = args
  
      if subset == "train":
          self.files, self.lengths = _load_list(
              self.args, "lrs3_train_transcript_lengths_seg16s.csv"
          )
      if subset == "val":
          self.files, self.lengths = _load_list(
              self.args, "lrs3_test_transcript_lengths_seg16s.csv"
          )
      if subset == "test":
          self.files, self.lengths = _load_list(
              self.args, "lrs3_test_transcript_lengths_seg16s.csv"
          )
  
file_path: audio/examples/avsr/lrs3.py
imports: import os
  import torchaudio
  import torchvision
  from torch.utils.data import Dataset
label_desc: Use image node_id 1 to create a new LRS3 object from inherited base classes: Dataset with example: obj = LRS3(args, subset)