code: def collect_labels(self, record):
      self.adapter._keep_mask = np.zeros(
          len(self._original_labels), dtype=bool
      )
      self.adapter._keep_mask[self.adapter._albu_out["labels"]] = True
  
      labels = self.adapter._filter_attribute(self._original_labels)
      self.set_labels(record, labels)
  
imports: import albumentations
  from itertools import chain
  from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
  from icevision.tfms.transform import *
  from icevision.tfms.albumentations.albumentations_helpers import get_size_without_padding, get_transform
label_desc: Use image node_id 3 for calling the AlbumentationsInstancesLabelsComponent obj's underlying member method code with example usage: obj.collect_labels(record) without return types