code: def get_val_data_loader(
      dataset, batch_size, num_workers, input_size, opt
  ):
      val_dataset = get_dataset(dataset)
  
      transform_val = AlphaPoseDefaultValTransform(
          num_joints=val_dataset.num_joints,
          joint_pairs=val_dataset.joint_pairs,
          image_size=input_size,
      )
      val_data = gluon.data.DataLoader(
          val_dataset.transform(transform_val),
          batch_size=batch_size,
          shuffle=False,
          last_batch="keep",
          num_workers=num_workers,
      )
  
      return val_dataset, val_data
  
file_path: gluon-cv/scripts/pose/alpha_pose/validate_tools.py
imports: import sys
  from tqdm import tqdm
  import mxnet
  import gluoncv
  from gluoncv.data import mscoco
  from gluoncv.data.transforms.pose import flip_heatmap, heatmap_to_coord_alpha_pose
  from gluoncv.data.transforms.presets.alpha_pose import AlphaPoseDefaultValTransform
  from gluoncv.utils.metrics.coco_keypoints import COCOKeyPointsMetric
  from mxnet import gluon, nd
label_desc: Use image node_id 3 for calling a global function with example usage: get_val_data_loader(dataset, batch_size, num_workers, input_size, opt) and returns: val_dataset,  val_data