code: def __init__(self, create_record_fn):
      self.create_record_fn = create_record_fn
      self._records = IndexableDict()
  
file_path: icevision/icevision/data/record_collection.py
imports: from __future__ import annotations
  from icevision.imports import *
  from icevision.utils import *
  from icevision.core.record import BaseRecord, autofix_records
  from icevision.data.data_splitter import DataSplitter
label_desc: Use image node_id 1 to create a new RecordCollection object  with example: obj = RecordCollection(create_record_fn)