class_docstr: Extract image feature using pretrained CNN network.
class_docstr_tok: ["Extract","image","feature","using","pretrained","CNN","network","."]
docstr: Return the loaded image in the path.
docstr_tok: ["Return","the","loaded","image","in","the","path","."]
code: def _load_image(self, path):
      """
      Return the loaded image in the path.
      """
      if ".zip" in path:
          zipname, file_name = self._breakup_zip_filename(path)
          with ZipFile(PathManager.open(zipname, "rb")) as zipf:
              with zipf.open(file_name) as fh:
                  return Image.open(fh).convert("RGB")
      else:
          # raw just returns RGB values
          with PathManager.open(path, "rb") as f:
              return Image.open(f).convert("RGB")
  
imports: import parlai.core.build_data
  import parlai.utils.logging
  from parlai.utils.io import PathManager
  import os
  from PIL import Image
  import torch
  from zipfile import ZipFile
label_desc: Use image node_id 12 for calling the ImageLoader obj's underlying member method code with example usage: obj._load_image(path) and returns: Image, Image