MCPcopy Create free account

hub / github.com/VincentHancoder/SSGD / functions

Functions2,751 in github.com/VincentHancoder/SSGD

Functiontest_yolof_head_loss
Tests yolof head loss when truth is empty and non-empty.
tests/test_models/test_dense_heads/test_yolof_head.py:8
Functiontest_yolov3_head_forward
Test Yolov3 head forward() in torch and ort env.
tests/test_onnx/test_head.py:208
Functiontest_yolov3_head_onnx_export
Test yolov3 head get_bboxes() in torch and ort env.
tests/test_onnx/test_head.py:220
Functiontest_yolov3_neck
()
tests/test_models/test_necks.py:286
Functiontest_yolox_head_loss
Tests yolox head loss when truth is empty and non-empty.
tests/test_models/test_dense_heads/test_yolox_head.py:9
Functiontest_yolox_lrupdater_hook
xdoctest -m tests/test_hooks.py test_cosine_runner_hook.
tests/test_utils/test_hook.py:86
Functiontest_yolox_pafpn
()
tests/test_models/test_necks.py:402
Functiontest_yolox_random_size
()
tests/test_models/test_forward.py:676
Methodto_ndarray
Convert masks to the format of ndarray. Return: ndarray: Converted masks in the format of ndarray.
mmdet/core/mask/structures.py:113
Methodto_tensor
Convert masks to the format of Tensor. Args: dtype (str): Dtype of converted mask. device (torch.device): Device of c
mmdet/core/mask/structures.py:121
Methodtrain
(self, mode=True)
mmdet/models/backbones/darknet.py:171
Methodtrain
Convert the model into training mode while keep normalization layer freezed.
mmdet/models/backbones/resnet.py:648
Methodtrain
(self, mode=True)
mmdet/models/roi_heads/shared_heads/res_layer.py:75
Methodtrain
Set the same train mode for teacher and student model.
mmdet/models/detectors/kd_one_stage.py:84
Methodtrain_step
(self, data, optimizer)
mmdet/core/export/model_wrappers.py:35
Methodtrain_step
The iteration step during training. This method defines an iteration step during training, except for the back propagation and optimi
mmdet/models/detectors/base.py:221
Methodtrain_step
(self, x, optimizer, **kwargs)
tests/test_utils/test_hook.py:37
Methodtrain_step
(self, x, optimizer, **kwargs)
tests/test_utils/test_hook.py:184
Methodtrain_step
(self, data_batch, optimizer, **kwargs)
tests/test_runtime/test_eval_hook.py:55
Methodtrain_step
(self, x, optimizer, **kwargs)
tests/test_data/test_datasets/test_common.py:329
Methodtranslate
Translate the masks. Args: out_shape (tuple[int]): Shape for output mask, format (h, w). offset (int | float): The of
mmdet/core/mask/structures.py:133
Methodtranslate
Translate the PolygonMasks. Example: >>> self = PolygonMasks.random(dtype=np.int) >>> out_shape = (self.height, self.
mmdet/core/mask/structures.py:765
Methodval_step
(self, data, optimizer)
mmdet/core/export/model_wrappers.py:32
Methodval_step
The iteration step during validation. This method shares the same signature as :func:`train_step`, but used during val epochs. Note t
mmdet/models/detectors/base.py:256
Methodval_step
(self, x, optimizer, **kwargs)
tests/test_utils/test_hook.py:40
Methodval_step
(self, x, optimizer, **kwargs)
tests/test_utils/test_hook.py:187
Methodval_step
(self, x, optimizer, **kwargs)
tests/test_data/test_datasets/test_common.py:332
Methodvalid_flags
Generate valid flags of points of multiple feature levels. Args: featmap_sizes (list(tuple)): List of feature map sizes in
mmdet/core/anchor/point_generator.py:177
Methodvalid_flags
Generate valid flags of anchors in multiple feature levels. Args: featmap_sizes (list(tuple)): List of feature map sizes in
mmdet/core/anchor/anchor_generator.py:392
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
mmdet/models/losses/utils.py:62
Functionwider_face_classes
()
mmdet/core/evaluation/class_names.py:5
Methodwith_bbox
bool: whether the RoI head contains a `bbox_head`
mmdet/models/roi_heads/base_roi_head.py:38
Methodwith_bbox
bool: whether the detector has a bbox head
mmdet/models/detectors/base.py:34
Methodwith_feat_relay
bool: whether the head has feature relay head
mmdet/models/roi_heads/scnet_roi_head.py:63
Methodwith_glbctx
bool: whether the head has global context head
mmdet/models/roi_heads/scnet_roi_head.py:69
Methodwith_loss
bool: whether the panoptic head contains loss function.
mmdet/models/seg_heads/panoptic_fusion_heads/base_panoptic_fusion_head.py:31
Methodwith_mask
bool: whether the RoI head contains a `mask_head`
mmdet/models/roi_heads/base_roi_head.py:43
Methodwith_mask
bool: whether the detector has a mask head
mmdet/models/detectors/base.py:40
Methodwith_neck
bool: whether the detector has a neck
mmdet/models/detectors/base.py:22
Methodwith_panoptic_fusion_head
(self)
mmdet/models/detectors/panoptic_two_stage_segmentor.py:57
Methodwith_roi_head
bool: whether the detector has a RoI head
mmdet/models/detectors/two_stage.py:61
Methodwith_rpn
bool: whether the detector has RPN
mmdet/models/detectors/two_stage.py:56
Methodwith_semantic
bool: whether the head has semantic head
mmdet/models/roi_heads/scnet_roi_head.py:57
Methodwith_semantic
bool: whether the head has semantic head
mmdet/models/roi_heads/htc_roi_head.py:44
Methodwith_semantic
bool: whether the detector has a semantic head
mmdet/models/detectors/htc.py:14
Methodwith_semantic_head
(self)
mmdet/models/detectors/panoptic_two_stage_segmentor.py:52
Methodwith_shared_head
bool: whether the RoI head contains a `shared_head`
mmdet/models/roi_heads/base_roi_head.py:48
Methodwith_shared_head
bool: whether the detector has a shared head in the RoI Head
mmdet/models/detectors/base.py:29
Methodwith_teacher_neck
bool: whether the detector has a teacher_neck
mmdet/models/detectors/lad.py:42
Functionworker_init_fn
(worker_id, num_workers, rank, seed)
mmdet/datasets/builder.py:209
Methodwrapped
(*args, **kwargs)
mmdet/utils/memory.py:139
← previous2,701–2,751 of 2,751, ranked by callers