MCPcopy Create free account

hub / github.com/FangShancheng/ABINet-PP / functions

Functions563 in github.com/FangShancheng/ABINet-PP

↓ 1 callersFunctionget_union
(pD,pG)
adet/evaluation/text_eval_script.py:106
↓ 1 callersFunctionimrescale
Resize image while keeping the aspect ratio. Args: img (ndarray): The input image. scale (float | tuple[int]): The scaling factor
adet/modeling/solov2/utils.py:105
↓ 1 callersFunctioninclude_in_dictionary
Function used in Word Spotting that finds if the Ground Truth transcription meets the rules to enter into the dictionary. If not, the transcr
adet/evaluation/text_eval_script.py:179
↓ 1 callersFunctioninclude_in_dictionary_transcription
Function applied to the Ground Truth transcriptions used in Word Spotting. It removes special characters or terminations
adet/evaluation/text_eval_script.py:222
↓ 1 callersMethodinference
Run inference on the given inputs. Args: batched_inputs (list[dict]): same as in :meth:`forward` detected_in
adet/modeling/one_stage_detector.py:134
↓ 1 callersMethodinference
(self, pred_cates, pred_kernels, pred_masks, cur_sizes, images)
adet/modeling/solov2/solov2.py:349
↓ 1 callersMethodinference
Run inference on the given inputs. Args: batched_inputs (list[dict]): same as in :meth:`forward` detected_in
adet/modeling/abinet/model_vision.py:241
↓ 1 callersMethodinference_single_image
( self, cate_preds, kernel_preds, seg_preds, cur_size, ori_size )
adet/modeling/solov2/solov2.py:376
↓ 1 callersMethodinstances_to_coco_json
(self, instances, img_id)
adet/evaluation/text_evaluation.py:244
↓ 1 callersMethodinverse_sigmoid
Apply the inverse sigmoid operation. y = -ln(1-x/x)
adet/modeling/MEInst/MaskEncoding.py:47
↓ 1 callersFunctioninverse_transform
Transform data back to its original space. In other words, return an input X_original whose transform would be X. Parameters ----------
adet/modeling/MEInst/LME/utils.py:56
↓ 1 callersMethodis_digit
(self, text, ratio=0.5)
adet/data/dataset_language.py:192
↓ 1 callersFunctionis_pruned
(layer)
adet/utils/measures.py:17
↓ 1 callersMethodis_unk_char
(self, char)
adet/data/dataset_language.py:198
↓ 1 callersFunctioniter_annotations
()
datasets/prepare_thing_sem_from_lvis.py:62
↓ 1 callersFunctioniter_annotations
()
datasets/prepare_thing_sem_from_instance.py:68
↓ 1 callersMethodload
(self, source, device=None, strict=True)
adet/modeling/abinet/model_language.py:48
↓ 1 callersFunctionload_text_json
Load a json file with totaltext annotation format. Currently supports text detection and recognition. Args: json_file (str): ful
adet/data/datasets/text.py:39
↓ 1 callersMethodloss
(self, cate_preds, kernel_preds, ins_pred, targets)
adet/modeling/solov2/solov2.py:260
↓ 1 callersMethodlosses
Return the losses from a set of FCOS predictions and their associated ground-truth. Returns: dict[loss name -> loss valu
adet/modeling/batext/batext_outputs.py:328
↓ 1 callersMethodlosses
Return the losses from a set of FCOS predictions and their associated ground-truth. Returns: dict[loss name -> loss valu
adet/modeling/fcos/fcos_outputs.py:268
↓ 1 callersMethodlosses
Return the losses from a set of MEInst predictions and their associated ground-truth. Returns: dict[loss name -> loss va
adet/modeling/MEInst/MEInst_outputs.py:454
↓ 1 callersFunctionmain
(args)
tools/compute_flops.py:22
↓ 1 callersFunctionmain
()
onnx/export_model_to_onnx.py:140
↓ 1 callersFunctionmain
()
onnx/test_onnxruntime.py:165
↓ 1 callersFunctionmake_stage_intervals
Create a resnet stage by creating many blocks. Args: block_class (class): a subclass of ResNetBlockBase num_blocks (int):
adet/modeling/backbone/resnet_interval.py:12
↓ 1 callersFunctionmask2box
(mask)
datasets/gen_coco_person.py:7
↓ 1 callersFunctionmask_encoding
(masks, n_components=60, class_agnostic=True, whiten=True, sigmoid=True, batch_size=1024)
adet/modeling/MEInst/LME/mask_generation.py:19
↓ 1 callersMethodmask_heads_forward
:param features :param weights: [w0, w1, ...] :param bias: [b0, b1, ...] :return:
adet/modeling/condinst/dynamic_mask_head.py:135
↓ 1 callersFunctionmask_nms
(cate_labels, seg_masks, sum_masks, cate_scores, nms_thr=0.5)
adet/modeling/solov2/utils.py:184
↓ 1 callersFunctionmatrix_nms
(cate_labels, seg_masks, sum_masks, cate_scores, sigma=2.0, kernel='gaussian')
adet/modeling/solov2/utils.py:146
↓ 1 callersFunctionmeasure_layer
(layer, *args)
adet/utils/measures.py:40
↓ 1 callersFunctionmeasure_model
(model, x)
adet/utils/measures.py:158
↓ 1 callersFunctionmodify_forward
(model)
adet/utils/measures.py:166
↓ 1 callersFunctionnew_forward
(m)
adet/utils/measures.py:169
↓ 1 callersFunctiononehot
Args: label: shape (n1, n2, ..., ) depth: a scalar Returns: onehot: (n1, n2, ..., depth)
adet/utils/comm.py:78
↓ 1 callersFunctionparse_args
(in_args=None)
tools/visualize_data.py:30
↓ 1 callersFunctionparse_args
()
adet/modeling/MEInst/LME/mask_evaluation.py:22
↓ 1 callersFunctionparse_args
()
adet/modeling/MEInst/LME/mask_generation.py:44
↓ 1 callersFunctionparse_dynamic_params
(params, channels, weight_nums, bias_nums)
adet/modeling/condinst/dynamic_mask_head.py:62
↓ 1 callersFunctionpatch_ProposalNetwork
(cfg, model, output_names)
onnx/export_model_to_onnx.py:64
↓ 1 callersFunctionpatch_ProposalNetwork
(cfg, model, output_names)
onnx/test_onnxruntime.py:68
↓ 1 callersFunctionpatch_blendmask
(cfg, model, output_names)
onnx/export_model_to_onnx.py:45
↓ 1 callersFunctionpatch_blendmask
(cfg, model, output_names)
onnx/test_onnxruntime.py:49
↓ 1 callersFunctionpatch_fcos
(cfg, proposal_generator)
onnx/export_model_to_onnx.py:80
↓ 1 callersFunctionpatch_fcos
(cfg, proposal_generator)
onnx/test_onnxruntime.py:84
↓ 1 callersFunctionpatch_fcos_head
(cfg, fcos_head)
onnx/export_model_to_onnx.py:88
↓ 1 callersFunctionpatch_fcos_head
(cfg, fcos_head)
onnx/test_onnxruntime.py:92
↓ 1 callersFunctionpoint_nms
(heat, kernel=2)
adet/modeling/solov2/utils.py:140
↓ 1 callersMethodpostprocess
Resize the output instances. The input images are often resized when entering an object detector. As a result, we often need
adet/modeling/condinst/condinst.py:324
↓ 1 callersFunctionpre_calc_for_bilinear_interpolate
adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:37
↓ 1 callersMethodpredict_proposals
(self)
adet/modeling/MEInst/MEInst_outputs.py:522
↓ 1 callersMethodprepare_masks
( self, proposals: List[Instances], targets: List[Instances] )
adet/modeling/MEInst/MEInst_outputs.py:128
↓ 1 callersMethodpreprocess_instance
(self, batched_inputs)
adet/modeling/abinet/model_vision.py:93
↓ 1 callersMethodpreprocess_instance_aet
(self, batched_inputs, proposals)
adet/modeling/abinet/model_vision.py:108
↓ 1 callersMethodprob_smooth_label
(self, one_hot)
adet/data/dataset_language.py:165
↓ 1 callersFunctionreduce_loss
Reduce loss as specified. Args: loss (Tensor): Elementwise loss tensor. reduction (str): Options are "none", "mean" and "sum".
adet/modeling/solov2/loss.py:18
↓ 1 callersFunctionregister_all_coco
(root="datasets")
adet/data/builtin.py:42
↓ 1 callersFunctionregister_text_instances
Register a dataset in json annotation format for text detection and recognition. Args: name (str): a name that identifies the datase
adet/data/datasets/text.py:23
↓ 1 callersFunctionrename_resnet_param_names
(ckpt_state_dict)
tools/convert_fcos_weight.py:24
↓ 1 callersFunctionrescale_size
Calculate the new size to be rescaled to. Args: old_size (tuple[int]): The old size (w, h) of image. scale (float | tuple[int]): T
adet/modeling/solov2/utils.py:70
↓ 1 callersMethodreset_parameters
(self)
adet/layers/naive_group_norm.py:53
↓ 1 callersFunctionrestore_forward
(model)
adet/utils/measures.py:179
↓ 1 callersMethodrun_on_image
Args: image (np.ndarray): an image of shape (H, W, C) (in BGR order). This is the format used by OpenCV.
demo/predictor.py:43
↓ 1 callersFunctionsegmToRLE
(segm, img_size)
adet/data/dataset_mapper.py:33
↓ 1 callersMethodselect_over_all_levels
(self, boxlists)
adet/modeling/batext/batext_outputs.py:512
↓ 1 callersMethodselect_over_all_levels
(self, boxlists)
adet/modeling/fcos/fcos_outputs.py:524
↓ 1 callersMethodselect_over_all_levels
(self, boxlists)
adet/modeling/MEInst/MEInst_outputs.py:626
↓ 1 callersFunctionsetup
(args)
tools/visualize_data.py:21
↓ 1 callersFunctionsetup
Create configs and perform basic setups.
tools/compute_flops.py:10
↓ 1 callersFunctionsetup
Create configs and perform basic setups.
tools/train_net.py:182
↓ 1 callersFunctionsetup
(app)
docs/conf.py:293
↓ 1 callersFunctionsetup_cfg
(args)
demo/demo.py:20
↓ 1 callersFunctionshould_measure
(x)
adet/utils/measures.py:163
↓ 1 callersFunctionsigmoid_focal_loss
(pred, target, weight=None, gamma=2.0,
adet/modeling/solov2/loss.py:63
↓ 1 callersMethodsort_detection
(self, temp_dir, output_dir)
adet/evaluation/text_evaluation.py:134
↓ 1 callersMethodsplit_feats
(feats)
adet/modeling/solov2/solov2.py:341
↓ 1 callersFunctionswish
(x)
adet/modeling/backbone/bifpn.py:14
↓ 1 callersMethodto_eval_format
(self, file_path, temp_dir="temp_det_results", cf_th=0.5)
adet/evaluation/text_evaluation.py:84
↓ 1 callersFunctionto_list
(inputs)
onnx/test_onnxruntime.py:144
↓ 1 callersMethodtrain
Run training. Returns: OrderedDict of results, if evaluation is enabled. Otherwise None.
tools/train_net.py:95
↓ 1 callersMethodtrain_loop
Args: start_iter, max_iter (int): See docs above
tools/train_net.py:76
↓ 1 callersFunctiontranscription_match
(transGt,transDet,specialCharacters=str(r'!?.:,*"()·[]/\''),onlyRemoveFirstLastCharacterGT=True)
adet/evaluation/text_eval_script.py:143
↓ 1 callersFunctiontransform
Apply dimensionality reduction to X. X is projected on the first principal components previously extracted from a training set. Paramet
adet/modeling/MEInst/LME/utils.py:22
↓ 1 callersFunctiontransform_beziers_annotations
Transform keypoint annotations of an image. Args: beziers (list[float]): Nx16 float in Detectron2 Dataset format. transforms
adet/data/detection_utils.py:30
↓ 1 callersFunctiontransform_instance_annotations
( annotation, transforms, image_size, *, keypoint_hflip_indices=None )
adet/data/detection_utils.py:13
↓ 1 callersFunctionvalidate_tl_line
Validate the format of the line. If the line is not valid an exception will be raised. If maxWidth and maxHeight are specified, all points mu
adet/evaluation/rrc_evaluation_funcs.py:138
↓ 1 callersFunctionvalidate_tl_line_gt
Validate the format of the line. If the line is not valid an exception will be raised. If maxWidth and maxHeight are specified, all points mu
adet/evaluation/rrc_evaluation_funcs.py:128
↓ 1 callersMethodvis_bases
(self, bases)
demo/predictor.py:87
↓ 1 callersFunctionweight_reduce_loss
Apply element-wise weight and reduce loss. Args: loss (Tensor): Element-wise loss. weight (Tensor): Element-wise weights.
adet/modeling/solov2/loss.py:36
FunctionBezierAlignBackward
adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:329
FunctionBezierAlignForward
adet/layers/csrc/BezierAlign/BezierAlign_cpu.cpp:144
FunctionBezierAlign_backward
adet/layers/csrc/BezierAlign/BezierAlign.h:86
FunctionBezierAlign_forward
Interface for Python
adet/layers/csrc/BezierAlign/BezierAlign.h:54
FunctionDefROIAlign_backward
adet/layers/csrc/DefROIAlign/DefROIAlign.h:66
FunctionDefROIAlign_forward
Interface for Python
adet/layers/csrc/DefROIAlign/DefROIAlign.h:37
FunctionPYBIND11_MODULE
adet/layers/csrc/vision.cpp:55
Method__call__
(self, image)
demo/predictor.py:238
Method__call__
(self, bases, proposals, gt_instances)
adet/modeling/blendmask/blender.py:34
Method__call__
(self, mask_feats, mask_feat_stride, pred_instances, gt_instances=None)
adet/modeling/condinst/dynamic_mask_head.py:200
← previousnext →201–300 of 563, ranked by callers