Module ImportFrom alias alias ImportFrom alias Import alias identifier Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam defaults body Assert CompareEq Call NameLoad NameLoad Num Return Dict BinOpAdd NameLoad Str BinOpAdd NameLoad Str Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Num Num Num Num AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Assign SubscriptStore NameLoad Index Str NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assert CompareEq Call NameLoad NameLoad Num If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd TupleLoad Num NameLoad attr Num Num Num Num orelse Assign NameStore Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Return Dict BinOpAdd NameLoad Str BinOpAdd NameLoad Str NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Call NameLoad With Call NameLoad Str Str body Import alias Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr body TryExcept body Assign NameStore SubscriptLoad NameLoad Index BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore SubscriptLoad AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr attr Slice Num handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad orelse Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad Str attr Call NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list If CompareEq NameLoad Str body Import alias Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Import alias identifier Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad
N/A collections namedtuple defaultdict abc abstractmethod N/A numpy np N/A copy N/A os six.moves zip utils change_env N/A logger get_processor N/A N/A N/A N/A N/A ret N/A process_conv N/A N/A layer_name param input_data_shape N/A N/A N/A N/A N/A len param 2 N/A N/A N/A layer_name /W N/A layer_name /b N/A N/A N/A N/A param N/A 0 data transpose 2 3 1 0 N/A N/A param N/A 1 data N/A N/A N/A ret N/A Convolution process_conv process_fc N/A N/A layer_name param input_data_shape N/A N/A N/A N/A N/A len param 2 N/A N/A N/A len input_data_shape 3 N/A N/A N/A N/A logger info N/A N/A {} is right after spatial data. format layer_name N/A W N/A N/A param N/A 0 data N/A W N/A N/A N/A N/A W reshape N/A N/A -1 input_data_shape transpose 2 3 1 0 N/A N/A W N/A N/A N/A N/A param N/A 0 data transpose N/A N/A N/A layer_name /W N/A layer_name /b W N/A N/A param N/A 1 data N/A N/A N/A ret N/A InnerProduct process_fc N/A ret N/A load_caffe N/A N/A model_desc model_file N/A N/A N/A 
    return a dict of params
     N/A param_dict N/A N/A param_processors N/A get_processor N/A N/A change_env GLOG_minloglevel 2 N/A N/A caffe N/A N/A N/A caffe set_mode_cpu N/A net N/A N/A caffe Net model_desc model_file N/A caffe TEST N/A layer_names N/A net _layer_names N/A blob_names N/A N/A N/A net blobs keys N/A N/A layername layer N/A zip layer_names N/A net layers N/A N/A N/A N/A prev_blob_name N/A blob_names N/A N/A N/A N/A blob_names index layername 1 N/A prev_data_shape N/A N/A N/A N/A N/A net blobs N/A prev_blob_name data shape N/A 1 N/A N/A N/A ValueError N/A N/A prev_data_shape None N/A N/A N/A layer type param_processors N/A N/A N/A N/A param_dict update N/A N/A param_processors N/A N/A layer type layername N/A layer blobs prev_data_shape N/A N/A N/A N/A len N/A layer blobs 0 N/A len N/A layer blobs N/A N/A N/A logger info N/A Model loaded from caffe. Params:  N/A N/A join N/A sorted N/A N/A param_dict keys N/A param_dict N/A N/A N/A __name__ __main__ N/A N/A argparse N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument model N/A N/A N/A parser add_argument weights N/A N/A N/A parser add_argument output N/A args N/A N/A parser parse_args N/A ret N/A load_caffe N/A args model N/A args weights N/A numpy np N/A N/A N/A np save N/A args output ret