Module Import alias Import alias identifier Import alias ImportFrom alias Import alias identifier Import alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp SubscriptLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad attr Index Num comprehension NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign SubscriptStore NameLoad ExtSlice Slice Index Num BinOpSub BinOpSub SubscriptLoad NameLoad Index NameLoad NameLoad Num Assign SubscriptStore NameLoad ExtSlice Slice Index Num BinOpSub BinOpSub SubscriptLoad NameLoad Index NameLoad NameLoad Num Assert Call AttributeLoad CompareGtE SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num attr Assign NameStore Dict Str Str Str Str NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr BinOpMult AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr Num For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr CompareGt SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str Num Index Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str ExtSlice Index NameLoad Slice Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Continue Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareGtE NameLoad Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad Assert CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Index NameLoad Slice Num Assign SubscriptStore NameLoad ExtSlice Slice Index NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num BinOpAdd Num NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpDiv Call AttributeLoad CompareGtE NameLoad NameLoad attr Call NameLoad NameLoad Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assert CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr Str Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr CompareGt NameLoad Num Index Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str NameLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad keyword AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq Call NameLoad NameLoad Call NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list decorator_list
N/A N/A os N/A os.path osp N/A PIL utils.cython_bbox bbox_overlaps N/A numpy np N/A scipy.sparse N/A datasets imdb N/A object N/A N/A Image database. __init__ N/A N/A self name N/A N/A N/A N/A self _name name N/A N/A self _num_classes 0 N/A N/A self _classes N/A N/A N/A self _image_index N/A N/A N/A self _obj_proposer selective_search N/A N/A self _roidb None N/A N/A self _roidb_handler N/A self default_roidb N/A N/A self config N/A N/A name N/A N/A self N/A N/A N/A N/A self _name N/A property num_classes N/A N/A self N/A N/A N/A N/A len N/A self _classes N/A property classes N/A N/A self N/A N/A N/A N/A self _classes N/A property image_index N/A N/A self N/A N/A N/A N/A self _image_index N/A property roidb_handler N/A N/A self N/A N/A N/A N/A self _roidb_handler N/A property roidb_handler N/A N/A self val N/A N/A N/A N/A self _roidb_handler val N/A N/A roidb_handler setter roidb N/A N/A self N/A N/A N/A N/A N/A self _roidb None N/A N/A N/A self _roidb N/A N/A self _roidb N/A N/A self roidb_handler N/A N/A self _roidb N/A property cache_path N/A N/A self N/A N/A N/A cache_path N/A N/A osp abspath N/A N/A osp join N/A datasets ROOT_DIR data cache N/A N/A N/A N/A N/A os path exists cache_path N/A N/A N/A N/A os makedirs cache_path N/A cache_path N/A property num_images N/A N/A self N/A N/A N/A N/A len N/A self image_index N/A property image_path_at N/A N/A self i N/A N/A N/A NotImplementedError N/A default_roidb N/A N/A self N/A N/A N/A NotImplementedError N/A evaluate_detections N/A N/A self all_boxes output_dir N/A None N/A N/A 
        all_boxes is a list of length number-of-classes.
        Each list element is a list of length number-of-images.
        Each of those list elements is either an empty list []
        or a numpy array of detection.

        all_boxes[class][image] = [] or np.array of shape #dets x 5
         N/A NotImplementedError N/A append_flipped_images N/A N/A self N/A N/A N/A num_images N/A self num_images N/A widths N/A N/A N/A N/A N/A N/A PIL Image open N/A N/A self image_path_at i size N/A 0 N/A i N/A xrange num_images N/A i N/A xrange num_images N/A N/A boxes N/A N/A N/A N/A N/A self roidb N/A i N/A boxes copy N/A oldx1 N/A N/A N/A boxes N/A N/A N/A 0 copy N/A oldx2 N/A N/A N/A boxes N/A N/A N/A 2 copy N/A N/A boxes N/A N/A N/A 0 N/A N/A N/A widths N/A i oldx2 1 N/A N/A boxes N/A N/A N/A 2 N/A N/A N/A widths N/A i oldx1 1 N/A N/A N/A N/A N/A boxes N/A N/A N/A 2 N/A boxes N/A N/A N/A 0 all N/A entry N/A boxes gt_overlaps gt_classes flipped boxes N/A N/A N/A self roidb N/A i N/A gt_overlaps N/A N/A N/A self roidb N/A i N/A gt_classes True N/A N/A N/A N/A self roidb append entry N/A N/A self _image_index N/A N/A self _image_index 2 N/A evaluate_recall N/A N/A self candidate_boxes ar_thresh N/A 0.5 N/A N/A gt_overlaps N/A N/A np zeros 0 N/A i N/A xrange N/A self num_images N/A N/A gt_inds N/A N/A N/A np where N/A N/A N/A N/A self roidb N/A i N/A gt_classes 0 N/A 0 N/A gt_boxes N/A N/A N/A N/A self roidb N/A i N/A boxes N/A N/A gt_inds N/A N/A boxes N/A candidate_boxes N/A i N/A N/A N/A N/A boxes shape N/A 0 0 N/A N/A N/A overlaps N/A bbox_overlaps N/A N/A boxes astype N/A np float N/A N/A gt_boxes astype N/A np float N/A _gt_overlaps N/A N/A np zeros N/A N/A gt_boxes shape N/A 0 N/A j N/A xrange N/A N/A gt_boxes shape N/A 0 N/A N/A argmax_overlaps N/A N/A overlaps argmax axis 0 N/A max_overlaps N/A N/A overlaps max axis 0 N/A gt_ind N/A N/A max_overlaps argmax N/A gt_ovr N/A N/A max_overlaps max N/A N/A gt_ovr 0 N/A box_ind N/A argmax_overlaps N/A gt_ind N/A N/A _gt_overlaps N/A j N/A overlaps N/A N/A box_ind gt_ind N/A N/A N/A _gt_overlaps N/A j gt_ovr N/A N/A overlaps N/A N/A box_ind N/A -1 N/A N/A overlaps N/A N/A N/A gt_ind -1 N/A gt_overlaps N/A N/A np hstack N/A gt_overlaps _gt_overlaps N/A num_pos N/A gt_overlaps size N/A gt_overlaps N/A N/A np sort gt_overlaps N/A step 0.001 N/A thresholds N/A N/A np minimum N/A N/A np arange 0.5 N/A 1.0 step step 1.0 N/A recalls N/A N/A np zeros_like thresholds N/A N/A i t N/A enumerate thresholds N/A N/A N/A recalls N/A i N/A N/A N/A N/A gt_overlaps t sum N/A float num_pos N/A ar N/A 2 N/A N/A np trapz recalls thresholds N/A N/A ar gt_overlaps recalls thresholds N/A create_roidb_from_box_list N/A N/A self box_list gt_roidb N/A N/A N/A N/A N/A len box_list N/A self num_images Number of boxes must match number of ground-truth images N/A roidb N/A N/A i N/A xrange N/A self num_images N/A N/A boxes N/A box_list N/A i N/A num_boxes N/A N/A boxes shape N/A 0 N/A overlaps N/A N/A np zeros N/A num_boxes N/A self num_classes dtype N/A np float32 N/A N/A gt_roidb None N/A N/A gt_boxes N/A N/A gt_roidb N/A i N/A boxes N/A gt_classes N/A N/A gt_roidb N/A i N/A gt_classes N/A gt_overlaps N/A bbox_overlaps N/A N/A boxes astype N/A np float N/A N/A gt_boxes astype N/A np float N/A argmaxes N/A N/A gt_overlaps argmax axis 1 N/A maxes N/A N/A gt_overlaps max axis 1 N/A I N/A N/A N/A np where N/A maxes 0 N/A 0 N/A N/A overlaps N/A N/A I N/A gt_classes N/A N/A argmaxes N/A I N/A maxes N/A I N/A overlaps N/A N/A N/A scipy sparse csr_matrix overlaps N/A N/A N/A roidb append N/A boxes gt_classes gt_overlaps flipped boxes N/A N/A np zeros N/A num_boxes dtype N/A np int32 overlaps False N/A roidb N/A merge_roidbs N/A N/A a b N/A N/A N/A N/A N/A len a N/A len b N/A i N/A xrange N/A len a N/A N/A N/A N/A a N/A i N/A boxes N/A N/A np vstack N/A N/A N/A a N/A i N/A boxes N/A N/A b N/A i N/A boxes N/A N/A N/A a N/A i N/A gt_classes N/A N/A np hstack N/A N/A N/A a N/A i N/A gt_classes N/A N/A b N/A i N/A gt_classes N/A N/A N/A a N/A i N/A gt_overlaps N/A N/A N/A scipy sparse vstack N/A N/A N/A a N/A i N/A gt_overlaps N/A N/A b N/A i N/A gt_overlaps N/A a N/A staticmethod competition_mode N/A N/A self on N/A N/A N/A Turn competition mode on or off. N/A N/A N/A