Module ImportFrom alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword TupleLoad Str Str Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str Assign NameStore Str orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str Assign NameStore Str orelse Raise Call NameLoad Str Expr Call NameLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad NameLoad Expr Call NameLoad Str
N/A __future__ print_function N/A argparse N/A six N/A parser N/A N/A argparse ArgumentParser description Download a Caffe reference model N/A N/A N/A parser add_argument model_type choices N/A alexnet caffenet googlenet help Model type (alexnet, caffenet, googlenet) N/A args N/A N/A parser parse_args N/A N/A N/A args model_type alexnet N/A N/A url http://dl.caffe.berkeleyvision.org/bvlc_alexnet.caffemodel N/A name bvlc_alexnet.caffemodel N/A N/A N/A N/A args model_type caffenet N/A N/A url http://dl.caffe.berkeleyvision.org/bvlc_reference_caffenet.caffemodel N/A name bvlc_reference_caffenet.caffemodel N/A N/A N/A N/A args model_type googlenet N/A N/A url http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel N/A name bvlc_googlenet.caffemodel N/A N/A N/A RuntimeError Invalid model type. Choose from alexnet, caffenet, and googlenet. N/A N/A print Downloading model file... N/A N/A N/A N/A N/A N/A six moves urllib request urlretrieve url name N/A N/A print Done