code: def __init__(self):
      super(TestCaffe, self).__init__()
  
      self.truth["caffe"]["alexnet"] = [
          (657, 0.41121054),
          (744, 0.20789708),
          (847, 0.086725503),
          (821, 0.05908291),
          (595, 0.058017164),
      ]
  
      if self.args.dump:
          self.dump_net = self.args.dump + ".prototxt"
          self.dump_weight = self.args.dump + ".caffemodel"
      else:
          self.dump_net = "tmp.prototxt"
          self.dump_weight = "tmp.caffemodel"
  
      self.MainModel.make_net(self.dump_net)
      self.MainModel.gen_weight(
          self.args.w, self.dump_weight, self.dump_net
      )
      self.model = caffe.Net(
          self.dump_net, self.dump_weight, caffe.TEST
      )
  
file_path: MMdnn/mmdnn/conversion/examples/caffe/imagenet_test.py
imports: import argparse
  import numpy
  import sys
  import os
  from six import text_type
  from mmdnn.conversion.examples.imagenet_test import TestKit
  import caffe
label_desc: Use image node_id 1 to create a new TestCaffe object from inherited base classes: TestKit with example: obj = TestCaffe()