code: def test_length(self):
      data_transforms = {
          "train": transforms.Compose(
              [
                  transforms.RandomResizedCrop(224),
                  transforms.RandomHorizontalFlip(),
                  transforms.ToTensor(),
                  transforms.Normalize(
                      [0.485, 0.456, 0.406], [0.229, 0.224, 0.225]
                  ),
              ]
          )
      }
      dataset = PyTorchImageDataset(
          image_path, label_file, data_transforms["train"]
      )
      images, labels = dataset.images, dataset.labels
      self.assertEqual(len(images), len(labels))
  
imports: import unittest
  import os
  from torchvision import transforms
  from towhee.data.dataset.image_datasets import PyTorchImageDataset
label_desc: Use image node_id 1 for calling the DatasetTest obj's underlying member method code with example usage: obj.test_length() without return types