code: def default_mask_loader(mask_path):
      return Image.open(mask_path)
  
file_path: avalanche/avalanche/benchmarks/datasets/penn_fudan/penn_fudan_dataset.py
imports: from pathlib import Path
  from typing import Dict, List, Optional, Sequence, Union
  import numpy
  import torch
  from PIL import Image
  from torchvision.datasets.folder import default_loader
  from avalanche.benchmarks.datasets import SimpleDownloadableDataset, default_dataset_location
  from avalanche.benchmarks.datasets.penn_fudan.penn_fudan_data import penn_fudan_data
label_desc: Use image node_id 1 for calling a global function with example usage: default_mask_loader(mask_path) and returns: Image