MCPcopy Create free account

hub / github.com/JiaquanYe/MASTER-mmocr / functions

Functions2,851 in github.com/JiaquanYe/MASTER-mmocr

Functiontest_vfnet_head_loss
Tests vfnet head loss when truth is empty and non-empty.
mmdetection-2.11.0/tests/test_models/test_dense_heads/test_vfnet_head.py:7
Functiontest_vgg_deep_vgg_ocr_backbone
()
tests/test_models/test_ocr_backbone.py:28
Functiontest_xml_dataset
()
mmdetection-2.11.0/tests/test_data/test_datasets/test_xml_dataset.py:6
Functiontest_yolact_forward
()
mmdetection-2.11.0/tests/test_models/test_forward.py:404
Functiontest_yolact_head_loss
Tests yolact head losses when truth is empty and non-empty.
mmdetection-2.11.0/tests/test_models/test_dense_heads/test_yolact_head.py:7
Functiontest_yolo_anchor_generator
()
mmdetection-2.11.0/tests/test_utils/test_anchor.py:148
Functiontest_yolo_bbox_coder
()
mmdetection-2.11.0/tests/test_utils/test_coder.py:8
Functiontest_yolo_normal
()
mmdetection-2.11.0/tests/test_onnx/test_neck.py:167
Functiontest_yolov3_head_forward
Test Yolov3 head forward() in torch and ort env.
mmdetection-2.11.0/tests/test_onnx/test_head.py:167
Functiontest_yolov3_head_get_bboxes
Test yolov3 head get_bboxes() in torch and ort env.
mmdetection-2.11.0/tests/test_onnx/test_head.py:182
Methodto_ndarray
Convert masks to the format of ndarray. Return: ndarray: Converted masks in the format of ndarray.
mmdetection-2.11.0/mmdet/core/mask/structures.py:108
Methodto_tensor
Convert masks to the format of Tensor. Args: dtype (str): Dtype of converted mask. device (torch.device): Device of c
mmdetection-2.11.0/mmdet/core/mask/structures.py:116
Functiontpfp_default
Check if detected bboxes are true positive or false positive. Args: det_bbox (ndarray): Detected bboxes of this image, of shape (m, 5).
mmdetection-2.11.0/mmdet/core/evaluation/mean_ap.py:153
Functiontpfp_imagenet
Check if detected bboxes are true positive or false positive. Args: det_bbox (ndarray): Detected bboxes of this image, of shape (m, 5).
mmdetection-2.11.0/mmdet/core/evaluation/mean_ap.py:59
Methodtrain
(self, mode=True)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:157
Methodtrain
Convert the model into training mode while keep normalization layer freezed.
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:639
Methodtrain
(self, mode=True)
mmdetection-2.11.0/mmdet/models/roi_heads/shared_heads/res_layer.py:72
Methodtrain
Set the same train mode for teacher and student model.
mmdetection-2.11.0/mmdet/models/detectors/kd_one_stage.py:81
Methodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
mmdetection-2.11.0/mmdet/models/detectors/base.py:220
Methodtrain_step
(self, data_batch, optimizer, **kwargs)
mmdetection-2.11.0/tests/test_runtime/test_eval_hook.py:54
Methodtrain_step
(self, x, optimizer, **kwargs)
mmdetection-2.11.0/tests/test_data/test_datasets/test_common.py:317
Methodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
mmocr/models/textrecog/recognizer/base.py:144
Methodtranslate
Translate the masks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). offset (int | float): The of
mmdetection-2.11.0/mmdet/core/mask/structures.py:128
Methodtranslate
Translate the PolygonMasks. Example: >>> self = PolygonMasks.random(dtype=np.int) >>> out_shape = (self.height, self.
mmdetection-2.11.0/mmdet/core/mask/structures.py:736
Methodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
mmdetection-2.11.0/mmdet/models/detectors/base.py:255
Methodval_step
(self, x, optimizer, **kwargs)
mmdetection-2.11.0/tests/test_data/test_datasets/test_common.py:320
Methodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but is used during val epochs. Not
mmocr/models/textrecog/recognizer/base.py:179
Functionvalid_boundary
(x, with_score=True)
mmocr/utils/check_argument.py:63
Methodvalid_flags
Generate valid flags of anchors in multiple feature levels. Args: featmap_sizes (list(tuple)): List of feature map sizes in
mmdetection-2.11.0/mmdet/core/anchor/anchor_generator.py:272
Methodvisual_normalized_bbox
visual after normalized bbox in results. :param results: :return:
mmocr/datasets/pipelines/table_transforms.py:290
Functionvisual_table_resized_bbox
(results)
mmocr/datasets/pipelines/table_transforms.py:8
Functionvisual_table_xywh_bbox
(results)
mmocr/datasets/pipelines/table_transforms.py:15
Functionweighted_loss
Create a weighted version of a given loss function. To use this decorator, the loss function must have the signature like `loss_func(pred, ta
mmdetection-2.11.0/mmdet/models/losses/utils.py:57
Functionwider_face_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:4
Methodwith_bbox
bool: whether the RoI head contains a `bbox_head`
mmdetection-2.11.0/mmdet/models/roi_heads/base_roi_head.py:34
Methodwith_bbox
bool: whether the detector has a bbox head
mmdetection-2.11.0/mmdet/models/detectors/base.py:36
Methodwith_feat_relay
bool: whether the head has feature relay head
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:81
Methodwith_glbctx
bool: whether the head has global context head
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:87
Methodwith_mask
bool: whether the RoI head contains a `mask_head`
mmdetection-2.11.0/mmdet/models/roi_heads/base_roi_head.py:39
Methodwith_mask
bool: whether the detector has a mask head
mmdetection-2.11.0/mmdet/models/detectors/base.py:42
Methodwith_neck
bool: whether the detector has a neck
mmdetection-2.11.0/mmdet/models/detectors/base.py:24
Methodwith_roi_head
bool: whether the detector has a RoI head
mmdetection-2.11.0/mmdet/models/detectors/two_stage.py:56
Methodwith_rpn
bool: whether the detector has RPN
mmdetection-2.11.0/mmdet/models/detectors/two_stage.py:51
Methodwith_semantic
bool: whether the head has semantic head
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:75
Methodwith_semantic
bool: whether the head has semantic head
mmdetection-2.11.0/mmdet/models/roi_heads/htc_roi_head.py:52
Methodwith_semantic
bool: whether the detector has a semantic head
mmdetection-2.11.0/mmdet/models/detectors/htc.py:13
Methodwith_shared_head
bool: whether the RoI head contains a `shared_head`
mmdetection-2.11.0/mmdet/models/roi_heads/base_roi_head.py:44
Methodwith_shared_head
bool: whether the detector has a shared head in the RoI Head
mmdetection-2.11.0/mmdet/models/detectors/base.py:31
Methodwl
(*args, **kwargs)
mmocr/datasets/pipelines/loading.py:127
Functionworker_init_fn
(worker_id, num_workers, rank, seed)
mmdetection-2.11.0/mmdet/datasets/builder.py:138
Functionwrapper
(pred, target, weight=None, reduction='mean',
mmdetection-2.11.0/mmdet/models/losses/utils.py:89
← previous2,801–2,851 of 2,851, ranked by callers