code: def load_weights(self, weights_file):
      if weights_file.endswith(".h5"):
          super().load_weights(weights_file)
      else:
          self._load_weights_yolo(weights_file)
  
imports: import tensorflow
  import numpy
  from layers import Mish, ScaledRandomUniform
  import utils
label_desc: Use image node_id 6 for calling the YOLOv4Model obj's underlying member method code with example usage: obj.load_weights(weights_file) without return types