code: def default_transforms():
      """Returns the default, bare-minimum transformations that should be
      applied to images passed to classes in the :mod:`detecto.core` module.
  
      :return: A torchvision `transforms.Compose
          <https://pytorch.org/vision/stable/transforms.html#torchvision.transforms.Compose>`_
          object containing a transforms.ToTensor object and the
          transforms.Normalize object returned by
          :func:`detecto.utils.normalize_transform`.
      :rtype: torchvision.transforms.Compose
  
      **Example**::
  
          >>> from detecto.core import Dataset
          >>> from detecto.utils import default_transforms
  
          >>> # Note: if transform=None, the Dataset will automatically
          >>> # apply these default transforms to images
          >>> defaults = default_transforms()
          >>> dataset = Dataset('labels.csv', 'images/', transform=defaults)
      """
  
      return transforms.Compose(
          [transforms.ToTensor(), normalize_transform()]
      )
  
file_path: detecto/detecto/utils.py
imports: import cv2
  import os
  import pandas
  import torch
  import xml.etree.ElementTree
  from glob import glob
  from torchvision import transforms
label_desc: Use image node_id 1 for calling a global function with example usage: default_transforms() and returns: transforms