Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JiaquanYe/MASTER-mmocr
/ functions
Functions
2,851 in github.com/JiaquanYe/MASTER-mmocr
⨍
Functions
2,851
◇
Types & classes
489
↳
Endpoints
22
Function
test_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
Function
test_vgg_deep_vgg_ocr_backbone
()
tests/test_models/test_ocr_backbone.py:28
Function
test_xml_dataset
()
mmdetection-2.11.0/tests/test_data/test_datasets/test_xml_dataset.py:6
Function
test_yolact_forward
()
mmdetection-2.11.0/tests/test_models/test_forward.py:404
Function
test_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
Function
test_yolo_anchor_generator
()
mmdetection-2.11.0/tests/test_utils/test_anchor.py:148
Function
test_yolo_bbox_coder
()
mmdetection-2.11.0/tests/test_utils/test_coder.py:8
Function
test_yolo_normal
()
mmdetection-2.11.0/tests/test_onnx/test_neck.py:167
Function
test_yolov3_head_forward
Test Yolov3 head forward() in torch and ort env.
mmdetection-2.11.0/tests/test_onnx/test_head.py:167
Function
test_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
Method
to_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
Method
to_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
Function
tpfp_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
Function
tpfp_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
Method
train
(self, mode=True)
mmdetection-2.11.0/mmdet/models/backbones/darknet.py:157
Method
train
Convert the model into training mode while keep normalization layer freezed.
mmdetection-2.11.0/mmdet/models/backbones/resnet.py:639
Method
train
(self, mode=True)
mmdetection-2.11.0/mmdet/models/roi_heads/shared_heads/res_layer.py:72
Method
train
Set the same train mode for teacher and student model.
mmdetection-2.11.0/mmdet/models/detectors/kd_one_stage.py:81
Method
train_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
Method
train_step
(self, data_batch, optimizer, **kwargs)
mmdetection-2.11.0/tests/test_runtime/test_eval_hook.py:54
Method
train_step
(self, x, optimizer, **kwargs)
mmdetection-2.11.0/tests/test_data/test_datasets/test_common.py:317
Method
train_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
Method
translate
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
Method
translate
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
Method
val_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
Method
val_step
(self, x, optimizer, **kwargs)
mmdetection-2.11.0/tests/test_data/test_datasets/test_common.py:320
Method
val_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
Function
valid_boundary
(x, with_score=True)
mmocr/utils/check_argument.py:63
Method
valid_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
Method
visual_normalized_bbox
visual after normalized bbox in results. :param results: :return:
mmocr/datasets/pipelines/table_transforms.py:290
Function
visual_table_resized_bbox
(results)
mmocr/datasets/pipelines/table_transforms.py:8
Function
visual_table_xywh_bbox
(results)
mmocr/datasets/pipelines/table_transforms.py:15
Function
weighted_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
Function
wider_face_classes
()
mmdetection-2.11.0/mmdet/core/evaluation/class_names.py:4
Method
with_bbox
bool: whether the RoI head contains a `bbox_head`
mmdetection-2.11.0/mmdet/models/roi_heads/base_roi_head.py:34
Method
with_bbox
bool: whether the detector has a bbox head
mmdetection-2.11.0/mmdet/models/detectors/base.py:36
Method
with_feat_relay
bool: whether the head has feature relay head
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:81
Method
with_glbctx
bool: whether the head has global context head
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:87
Method
with_mask
bool: whether the RoI head contains a `mask_head`
mmdetection-2.11.0/mmdet/models/roi_heads/base_roi_head.py:39
Method
with_mask
bool: whether the detector has a mask head
mmdetection-2.11.0/mmdet/models/detectors/base.py:42
Method
with_neck
bool: whether the detector has a neck
mmdetection-2.11.0/mmdet/models/detectors/base.py:24
Method
with_roi_head
bool: whether the detector has a RoI head
mmdetection-2.11.0/mmdet/models/detectors/two_stage.py:56
Method
with_rpn
bool: whether the detector has RPN
mmdetection-2.11.0/mmdet/models/detectors/two_stage.py:51
Method
with_semantic
bool: whether the head has semantic head
mmdetection-2.11.0/mmdet/models/roi_heads/scnet_roi_head.py:75
Method
with_semantic
bool: whether the head has semantic head
mmdetection-2.11.0/mmdet/models/roi_heads/htc_roi_head.py:52
Method
with_semantic
bool: whether the detector has a semantic head
mmdetection-2.11.0/mmdet/models/detectors/htc.py:13
Method
with_shared_head
bool: whether the RoI head contains a `shared_head`
mmdetection-2.11.0/mmdet/models/roi_heads/base_roi_head.py:44
Method
with_shared_head
bool: whether the detector has a shared head in the RoI Head
mmdetection-2.11.0/mmdet/models/detectors/base.py:31
Method
wl
(*args, **kwargs)
mmocr/datasets/pipelines/loading.py:127
Function
worker_init_fn
(worker_id, num_workers, rank, seed)
mmdetection-2.11.0/mmdet/datasets/builder.py:138
Function
wrapper
(pred, target, weight=None, reduction='mean',
mmdetection-2.11.0/mmdet/models/losses/utils.py:89
← previous
2,801–2,851 of 2,851, ranked by callers