code: def test_image_mode(tmp_path: Path, frames_per_group: int):
      setup_dummy_dataset(tmp_path)
  
      ds = Vimeo90kSeptuplet(
          root=tmp_path,
          as_video=False,
          frames_per_group=frames_per_group,
          split="test",
          pil_transform=ToTensor(),
          tensor_transform=lambda t: 5 * t,
      )
  
      assert len(ds) == frames_per_group
  
      for i in range(frames_per_group):
          item = ds[i]
          assert torch.allclose(
              item, torch.ones(3, 10, 10) * (20 + i + 1) * 5 / 255
          )
  
file_path: NeuralCompression/tests/data/test_vimeo_90k_septuplet.py
imports: from pathlib import Path
  import numpy
  import pytest
  import torch
  from PIL import Image
  from torchvision.transforms import Compose, ToTensor
  from neuralcompression.data._vimeo_90k_septuplet import Vimeo90kSeptuplet
label_desc: Use image node_id 3 for calling a global function with example usage: test_image_mode(tmp_path, frames_per_group) without return types