code: def test_loaders(self):
      args = get_default_args(ImplicitronDataSource)
      args.dataset_map_provider_class_type = (
          "JsonIndexDatasetMapProvider"
      )
      dataset_args = (
          args.dataset_map_provider_JsonIndexDatasetMapProvider_args
      )
      dataset_args.category = "skateboard"
      dataset_args.dataset_root = "manifold://co3d/tree/extracted"
      dataset_args.test_restrict_sequence_id = 0
      dataset_args.dataset_JsonIndexDataset_args.limit_sequences_to = 1
  
      data_source = ImplicitronDataSource(**args)
  
      cameras = data_source.all_train_cameras
      self.assertIsInstance(cameras, PerspectiveCameras)
      self.assertEqual(len(cameras), 81)
  
      (
          data_sets,
          data_loaders,
      ) = data_source.get_datasets_and_dataloaders()
  
      self.assertEqual(len(data_sets.train), 81)
      self.assertEqual(len(data_sets.val), 102)
      self.assertEqual(len(data_sets.test), 102)
  
file_path: pytorch3d/tests/implicitron/test_data_json_index.py
imports: import os
  import unittest
  from pytorch3d.implicitron.dataset.data_source import ImplicitronDataSource
  from pytorch3d.implicitron.tools.config import get_default_args
  from pytorch3d.renderer import PerspectiveCameras
  from tests.common_testing import TestCaseMixin
label_desc: Use image node_id 1 for calling the TestDataJsonIndex obj's underlying member method code with example usage: obj.test_loaders() without return types