class_docstr: Provide an opt-producer and CLI arguement parser.
  
  More options can be added specific by paassing this object and calling
  ''add_arg()'' or add_argument'' on it.
  
  :param add_blink_args:
      (default True) initializes the default arguments for BLINK package.
  :param add_model_args:
      (default False) initializes the default arguments for loading models,
      including initializing arguments from the model.
class_docstr_tok: ["Provide","an","opt-producer","and","CLI","arguement","parser",".","More","options","can","be","added","specific","by","paassing","this","object","and","calling","''","add_arg","(",")","''","or","add_argument","''","on","it",".",":","param","add_blink_args",":","(","default","True",")","initializes","the","default","arguments","for","BLINK","package",".",":","param","add_model_args",":","(","default","False",")","initializes","the","default","arguments","for","loading","models",",","including","initializing","arguments","from","the","model","."]
docstr: Add common BLINK args across all scripts.
docstr_tok: ["Add","common","BLINK","args","across","all","scripts","."]
code: def add_blink_args(self, args=None):
      """
      Add common BLINK args across all scripts.
      """
      parser = self.add_argument_group("Common Arguments")
      parser.add_argument(
          "--silent",
          action="store_true",
          help="Whether to print progress bars.",
      )
      parser.add_argument(
          "--debug",
          action="store_true",
          help="Whether to run in debug mode with only 200 samples.",
      )
      parser.add_argument(
          "--data_parallel",
          action="store_true",
          help="Whether to distributed the candidate generation process.",
      )
      parser.add_argument(
          "--no_cuda",
          action="store_true",
          help="Whether not to use CUDA when available",
      )
      parser.add_argument("--top_k", default=10, type=int)
      parser.add_argument(
          "--seed",
          type=int,
          default=52313,
          help="random seed for initialization",
      )
      parser.add_argument(
          "--zeshel",
          default=True,
          type=bool,
          help="Whether the dataset is from zeroshot.",
      )
  
file_path: BLINK/blink/common/params.py
imports: import argparse
  import importlib
  import os
  import sys
  import datetime
label_desc: Use image node_id 2 for calling the BlinkParser obj's underlying member method code with example usage: obj.add_blink_args(args) without return types