a guest Feb 22nd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # construct the argument parse and parse the arguments
  2. ap = argparse.ArgumentParser()
  3. ap.add_argument("-m", "--model", required=True,
  4.     help="path to trained model model")
  5. ap.add_argument("-i", "--image", required=True,
  6.     help="path to input image")
  7. ap.add_argument("-p", "--plot", type=str, default="plot.png",
  8.     help="path to output image")
  9. args = vars(ap.parse_args())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand