code: def __init__(self):
      self.name = "darknet"
      self.spatial_reduction = 32
      self.source_url = _urlparse.urljoin(
          MODELS_URL_ROOT, "darknet.params"
      )
      self.source_md5 = "1d7eea1fd286d2cfd7f2d9c93cbbdf9d"
      self.weight_names = []
      for i in range(7):
          self.weight_names += [
              "conv%d_weight" % i,
              "batchnorm%d_gamma" % i,
              "batchnorm%d_beta" % i,
          ]
      self.model_path = _download_and_checksum_files(
          [(self.source_url, self.source_md5)], _get_cache_dir()
      )[0]
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import os
  import sys
  import requests
  import turicreate
  import hashlib
  from six.moves.urllib import parse
label_desc: Use image node_id 1 to create a new DarkNetObjectDetectorBase object from inherited base classes: ObjectDetectorBasePreTrainedModel with example: obj = DarkNetObjectDetectorBase()