code: def load_backbone(model, weights_path):
      pretrained_backbone_weights = pickle.load(
          open(weights_path, "rb")
      )
      model.feat_extractor.set_weights(pretrained_backbone_weights[0])
      model.fpn.set_weights(pretrained_backbone_weights[1])
      return model
  
file_path: doctr/references/detection/utils.py
imports: import pickle
  from typing import Dict, List
  import cv2
  import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: load_backbone(model, weights_path) and returns: model