def METHOD_NAME(self, args, custom_args):
    if not args.input_graph:
        sys.exit("Please provide a path to the frozen graph directory"
                 " via the '--in-graph' flag.")
    if not args.data_location and self.args.accuracy_only:
        sys.exit("Please provide a path to the data directory via the "
                 "'--data-location' flag.")
    if args.socket_id == -1 and args.num_cores == -1:
        print("***Warning***: Running inference on all cores could degrade"
              " performance. Pass a '--socket-id' to specify running on a"
              " single socket instead.\n")