code: def default_image_load_fn(x):
      return Image.open(x).convert("RGB")
  
file_path: baal/baal/active/file_dataset.py
imports: import random
  import warnings
  from typing import Any, Callable, Optional, List, Sequence
  import numpy
  import torch
  from PIL import Image
  from torch.utils.data import Dataset
  from baal.utils.transforms import BaaLTransform
label_desc: Use image node_id 1 for calling a global function with example usage: default_image_load_fn(x) and returns: Image