MCPcopy Create free account

hub / github.com/daijifeng001/MNC / functions

Functions275 in github.com/daijifeng001/MNC

↓ 21 callersMethodreshape
Reshaping happens during the call to forward
lib/pylayer/mask_layer.py:31
↓ 18 callersFunction__Pyx_PyObject_IsTrue
lib/utils/bbox.c:6765
↓ 17 callersFunction__Pyx_PyInt_From_enum__NPY_TYPES
lib/utils/bbox.c:6338
↓ 17 callersFunction__Pyx_RaiseBufferIndexError
lib/utils/bbox.c:5189
↓ 16 callersMethodreshape
Reshaping happens during the call to forward.
lib/pylayer/cfm_data_layer.py:61
↓ 16 callersMethodreshape
Reshaping happens during the call to forward
lib/pylayer/anchor_target_layer.py:47
↓ 13 callersMethodreshape
Reshaping happens during the call to forward.
lib/pylayer/proposal_target_layer.py:58
↓ 10 callersFunction__Pyx_AddTraceback
lib/utils/bbox.c:5607
↓ 10 callersMethodreshape
(self, bottom, top)
lib/pylayer/stage_bridge_layer.py:65
↓ 9 callersFunction__Pyx_PyObject_Call
lib/utils/bbox.c:5159
↓ 9 callersFunctionclip_boxes
Clip boxes inside image boundaries
lib/transform/bbox_transform.py:102
↓ 9 callersMethodreshape
Reshaping happens during the call to forward.
lib/pylayer/proposal_layer.py:48
↓ 8 callersFunction__Pyx_Raise
lib/utils/bbox.c:5226
↓ 8 callersMethodimage_path_at
(self, i)
lib/datasets/pascal_voc.py:100
↓ 8 callersMethodreshape
Reshaping happens during the call to forward.
lib/pylayer/mnc_data_layer.py:42
↓ 7 callersFunction__Pyx_c_prod
lib/utils/bbox.c:6044
↓ 7 callersFunction__Pyx_c_prodf
lib/utils/bbox.c:5924
↓ 6 callersFunction__Pyx_BufFmt_ProcessTypeChunk
lib/utils/bbox.c:4815
↓ 6 callersFunction__Pyx_BufFmt_RaiseUnexpectedChar
lib/utils/bbox.c:4645
↓ 6 callersFunction__Pyx_ImportType
lib/utils/bbox.c:6608
↓ 6 callersFunction__Pyx_SafeReleaseBuffer
lib/utils/bbox.c:5135
↓ 6 callersFunctionnms
Dispatch to either CPU or GPU NMS implementations.
lib/nms/nms_wrapper.py:13
↓ 5 callersFunctionget_imdb
Get an imdb (image database) by name.
lib/db/imdb.py:19
↓ 5 callersFunctionim_list_to_blob
Convert a list of images into a network input. Assumes images are already prepared (means subtracted, BGR order, ...).
lib/utils/blob.py:17
↓ 4 callersFunction__Pyx_BufFmt_RaiseExpected
lib/utils/bbox.c:4791
↓ 4 callersFunction__Pyx_GetBuiltinName
lib/utils/bbox.c:4414
↓ 4 callersFunction__Pyx_PyInt_From_int
lib/utils/bbox.c:6128
↓ 4 callersFunction__Pyx_PyObject_GetAttrStr
lib/utils/bbox.c:833
↓ 4 callersFunctionbbox_transform_inv
invert bounding box transform apply delta on anchors to get transformed proposals
lib/transform/bbox_transform.py:64
↓ 4 callersMethodforward
(self, bottom, top)
lib/pylayer/mask_layer.py:37
↓ 4 callersFunctiongenerate_anchors
Generate anchor (reference) windows by enumerating aspect ratios X scales wrt a reference (0, 0, 15, 15) window.
lib/transform/anchors.py:38
↓ 4 callersFunctionprep_im_for_blob
Mean subtract and scale an image for use in a blob.
lib/utils/blob.py:36
↓ 4 callersMethodtic
(self)
lib/utils/timer.py:20
↓ 4 callersMethodtoc
(self, average=True)
lib/utils/timer.py:25
↓ 4 callersFunctionunmap
Unmap a subset of item (data) back to the original set of items (of size count)
lib/utils/unmap.py:11
↓ 3 callersFunction__Pyx_GetBufferAndValidate
lib/utils/bbox.c:5101
↓ 3 callersMethod_get_voc_results_file_template
(self)
lib/datasets/pascal_voc_det.py:247
↓ 3 callersMethod_shuffle_roidb_inds
Randomly permute the training roidb.
lib/pylayer/mnc_data_layer.py:69
↓ 3 callersFunctionbbox_compute_targets
Compute bounding-box regression targets for an image Parameters: ----------- ex_rois: ROIs from external source (anchors or proposals
lib/transform/bbox_transform.py:157
↓ 3 callersFunctionbbox_transform
Compute bbox regression targets of external rois with respect to gt rois
lib/transform/bbox_transform.py:39
↓ 3 callersFunctionget_bbox_regression_label
Bounding-box regression targets (bbox_target_data) are stored in a compact form N x (class, tx, ty, tw, th) This function expands those targe
lib/transform/bbox_transform.py:181
↓ 3 callersFunctionintersect_mask
This function calculate the intersection part of a external box and gt_box, mask it according to gt_mask Args: ex_box: external
lib/transform/mask_transform.py:49
↓ 3 callersFunctionmask_overlap
This function calculate region IOU when masks are inside different boxes Returns: intersection over unions of this two masks
lib/transform/mask_transform.py:16
↓ 2 callersFunction__Pyx_ArgTypeTest
lib/utils/bbox.c:4571
↓ 2 callersFunction__Pyx_BufFmt_DescribeTypeChar
lib/utils/bbox.c:4649
↓ 2 callersFunction__Pyx_BufFmt_ExpectNumber
lib/utils/bbox.c:4638
↓ 2 callersFunction__Pyx_ErrRestore
lib/utils/bbox.c:5194
↓ 2 callersFunction__Pyx_IsLittleEndian
lib/utils/bbox.c:4592
↓ 2 callersFunction__Pyx_PyInt_From_unsigned_int
lib/utils/bbox.c:5653
↓ 2 callersFunction__Pyx_RaiseArgtupleInvalid
lib/utils/bbox.c:4427
↓ 2 callersFunction__Pyx_RefNannyImportAPI
lib/utils/bbox.c:4399
↓ 2 callersFunction__Pyx_TypeTest
lib/utils/bbox.c:5177
↓ 2 callersFunction__Pyx_ZeroBuffer
lib/utils/bbox.c:5094
↓ 2 callersFunction__pyx_bisect_code_objects
lib/utils/bbox.c:5473
↓ 2 callersFunction_convert_pred_to_image
(img_width, img_height, pred_dict)
lib/utils/vis_seg.py:101
↓ 2 callersFunction_get_voc_color_map
(n=256)
lib/utils/vis_seg.py:133
↓ 2 callersFunction_mkanchors
Given a vector of widths (ws) and heights (hs) around a center (x_ctr, y_ctr), output a set of anchors (windows).
lib/transform/anchors.py:64
↓ 2 callersMethod_prepare_mnc_args
(self, im)
lib/caffeWrapper/TesterWrapper.py:262
↓ 2 callersMethod_shuffle_roidb_inds
Randomly permute the training roidb.
lib/pylayer/cfm_data_layer.py:85
↓ 2 callersFunction_whctrs
Return width, height, x center, and y center for an anchor (window).
lib/transform/anchors.py:52
↓ 2 callersFunctionadd_path
(path)
tools/_init_paths.py:10
↓ 2 callersFunctionapply_nms_mask_single
(box, mask, thresh)
lib/nms/nms_wrapper.py:65
↓ 2 callersFunctioncfg_from_file
Load a config file and merge it into the default options.
lib/mnc_config.py:199
↓ 2 callersFunctioncompute_targets
Compute bounding-box regression targets for an image.
lib/transform/bbox_transform.py:13
↓ 2 callersMethodevaluate_segmentation
(self, all_boxes, all_masks, output_dir)
lib/datasets/pascal_voc_seg.py:156
↓ 2 callersFunctionfilter_small_boxes
Remove all boxes with any side smaller than min_size.
lib/transform/bbox_transform.py:123
↓ 2 callersFunctionget_output_dir
Return the directory where experimental artifacts are placed. A canonical path is built using the name from an imdb and a network (if
lib/mnc_config.py:155
↓ 2 callersFunctiongpu_mask_voting
A wrapper function, note we already know the class of boxes and masks Args: masks: ~ 300 x 21 x 21 boxes: ~ 300 x 4 s
lib/transform/mask_transform.py:213
↓ 2 callersMethodgt_roidb
Return the database of ground-truth regions of interest. This function loads/saves from/to a cache file to speed up future calls.
lib/datasets/pascal_voc_det.py:68
↓ 2 callersFunctionim_detect
(im, net)
tools/demo.py:79
↓ 2 callersFunctionprep_im_for_blob_cfm
Converts an image into a network input. Arguments: im (ndarray): a color image in BGR order Returns: blob (ndarray): a data bl
lib/utils/blob.py:53
↓ 2 callersMethodset_roi_handler
(self, method)
lib/datasets/pascal_voc.py:92
↓ 2 callersMethodsnapshot
Take a snapshot of the network after unnormalizing the learned bounding-box regression weights. This enables easy use at test-time.
lib/caffeWrapper/SolverWrapper.py:67
↓ 2 callersFunctionvoc_ap
Compute VOC AP given precision and recall. If use_07_metric is true, uses the VOC 07 11 point method (default:False). Args: rec:
lib/utils/voc_eval.py:19
↓ 2 callersFunctionvoc_eval_sds
(det_file, seg_file, devkit_path, image_list, cls_name, cache_dir, class_names, ov_thresh=0.5
lib/utils/voc_eval.py:195
↓ 1 callersFunction__Pyx_BufFmt_CheckString
lib/utils/bbox.c:4961
↓ 1 callersFunction__Pyx_BufFmt_Init
lib/utils/bbox.c:4596
↓ 1 callersFunction__Pyx_BufFmt_ParseNumber
lib/utils/bbox.c:4623
↓ 1 callersFunction__Pyx_BufFmt_TypeCharToAlignment
lib/utils/bbox.c:4720
↓ 1 callersFunction__Pyx_BufFmt_TypeCharToGroup
lib/utils/bbox.c:4770
↓ 1 callersFunction__Pyx_BufFmt_TypeCharToNativeSize
lib/utils/bbox.c:4691
↓ 1 callersFunction__Pyx_BufFmt_TypeCharToPadding
lib/utils/bbox.c:4752
↓ 1 callersFunction__Pyx_BufFmt_TypeCharToStandardSize
lib/utils/bbox.c:4673
↓ 1 callersFunction__Pyx_CreateCodeObjectForTraceback
lib/utils/bbox.c:5555
↓ 1 callersFunction__Pyx_ErrFetch
lib/utils/bbox.c:5211
↓ 1 callersFunction__Pyx_GetBuffer
lib/utils/bbox.c:5633
↓ 1 callersFunction__Pyx_Import
lib/utils/bbox.c:5400
↓ 1 callersFunction__Pyx_ImportModule
lib/utils/bbox.c:6591
↓ 1 callersFunction__Pyx_InitCachedBuiltins
lib/utils/bbox.c:4106
↓ 1 callersFunction__Pyx_InitCachedConstants
lib/utils/bbox.c:4115
↓ 1 callersFunction__Pyx_InitGlobals
lib/utils/bbox.c:4203
↓ 1 callersFunction__Pyx_InitStrings
lib/utils/bbox.c:6670
↓ 1 callersFunction__Pyx_ParseOptionalKeywords
lib/utils/bbox.c:4465
↓ 1 callersFunction__Pyx_PyDict_GetItem
lib/utils/bbox.c:884
↓ 1 callersFunction__Pyx_PyInt_As_int
lib/utils/bbox.c:6154
↓ 1 callersFunction__Pyx_RaiseArgumentTypeInvalid
lib/utils/bbox.c:4566
↓ 1 callersFunction__Pyx_RaiseDoubleKeywordsError
lib/utils/bbox.c:4452
↓ 1 callersFunction__Pyx_RaiseNeedMoreValuesError
lib/utils/bbox.c:5390
↓ 1 callersFunction__Pyx_RaiseNoneNotIterableError
lib/utils/bbox.c:5396
↓ 1 callersFunction__Pyx_RaiseTooManyValuesError
lib/utils/bbox.c:5385
next →1–100 of 275, ranked by callers