code: def predict_from_dl(
      model: nn.Module,
      infer_dl: DataLoader,
      show_pbar: bool = True,
      keep_images: bool = False,
      **predict_kwargs,
  ):
      return _predict_from_dl(
          predict_fn=_predict_batch,
          model=model,
          infer_dl=infer_dl,
          show_pbar=show_pbar,
          keep_images=keep_images,
          **predict_kwargs,
      )
  
file_path: icevision/icevision/models/torchvision/keypoint_rcnn/prediction.py
imports: from itertools import chain
  from icevision.imports import *
  from icevision.core import *
  from icevision.utils import *
  from icevision.data import *
  from icevision.models.utils import _predict_from_dl
  from icevision.models.torchvision.keypoint_rcnn.dataloaders import *
  from icevision.models.torchvision.faster_rcnn.prediction import convert_raw_prediction
label_desc: Use image node_id 3 for calling a global function with example usage: predict_from_dl(model, infer_dl, show_pbar, keep_images) and returns: _predict_from_dl