 change how images are preprocessed. Ensure that the return objects are float32. This function is added into tensorflow dataset pipeline using tf.dataset.map. The outputs returned by this function are available as tf tensors in self.inputs list in the same order.</p>

    <pre><code>
      import PoseTools
      def preproc_func(self, ims, locs, info, distort):
          conf = self.conf
          # Scale and augment the training image and labels
          ims, locs = PoseTools.preprocess_ims(ims, locs, con