class_docstr: Image-Patch Classification Subsequence Dataset
class_docstr_tok: ["Image-Patch","Classification","Subsequence","Dataset"]
code: def _convert_target(self, target):
      return self.labelmap[target]
  
imports: from pathlib import Path
  import glob
  import os
  from typing import List, Optional, Union
  from warnings import warn
  import sys
  import json
  import numpy
  from PIL import Image
  from torch.utils.data import Dataset
  from avalanche.benchmarks.datasets import default_dataset_location
  from avalanche.benchmarks.datasets.endless_cl_sim import endless_cl_sim_data
  from avalanche.benchmarks.datasets.downloadable_dataset import DownloadableDataset
label_desc: Use image node_id 4 for calling the ClassificationSubSequence obj's underlying member method code with example usage: obj._convert_target(target) and returns: self