MCPcopy Create free account

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

Functions563 in github.com/FangShancheng/ABINet-PP

Methodforward
(self, input)
adet/modeling/fcos/fcos.py:25
Methodforward
(self, x)
adet/modeling/fcos/fcos.py:34
Methodforward
Arguments: images (list[Tensor] or ImageList): images to be processed targets (list[BoxList]): ground-truth boxes pre
adet/modeling/fcos/fcos.py:64
Methodforward
(self, x, top_module=None, yield_bbox_towers=False)
adet/modeling/fcos/fcos.py:210
Methodforward
Args: batched_inputs: a list, batched outputs of :class:`DatasetMapper`. Each item in the list contains the input
adet/modeling/blendmask/blendmask.py:63
Methodforward
(self, features, targets=None)
adet/modeling/blendmask/basis_module.py:81
Methodforward
(self, input)
adet/modeling/MEInst/MEInst.py:26
Methodforward
Arguments: images (list[Tensor] or ImageList): images to be processed targets (list[BoxList]): ground-truth present i
adet/modeling/MEInst/MEInst.py:69
Methodforward
(self, x)
adet/modeling/MEInst/MEInst.py:305
Methodforward
(self, batched_inputs)
adet/modeling/condinst/condinst.py:115
Methodforward
(self, features, gt_instances=None)
adet/modeling/condinst/mask_branch.py:70
Methodforward
(self, input, target, softmax=True)
adet/utils/comm.py:99
Methodforward
(self, x)
adet/layers/gcn.py:29
Methodforward
(self, x)
adet/layers/gcn.py:65
Methodforward
(ctx, x, new_shape)
adet/layers/deform_conv.py:9
Methodforward
(self, x, return_offset=False)
adet/layers/deform_conv.py:95
Methodforward
(ctx, input, roi, offsets, output_size, spatial_scale, sampling_ratio, trans_std, aligned)
adet/layers/def_roi_align.py:12
Methodforward
Args: input: NCHW images rois: Bx5 boxes. First column is the index into N. The other 4 columns are xyxy.
adet/layers/def_roi_align.py:80
Methodforward
Args: pred: Nx4 predicted bounding boxes target: Nx4 target bounding boxes weight: N loss weight for each
adet/layers/iou_loss.py:18
Methodforward
(self, input)
adet/layers/naive_group_norm.py:58
Methodforward
(ctx, input, roi, output_size, spatial_scale, sampling_ratio, aligned)
adet/layers/bezier_align.py:12
Methodforward
Args: input: NCHW images rois: Bx17 boxes. First column is the index into N. The other 16 columns are [xy]x8.
adet/layers/bezier_align.py:79
Methodforward_head
(self, features, top_module=None)
adet/modeling/batext/batext.py:64
Methodforward_head
(self, features, top_module=None)
adet/modeling/fcos/fcos.py:58
Methodgenerate_square_subsequent_mask
r"""Generate a square mask for the sequence. The masked positions are filled with float('-inf'). Unmasked positions are filled with float(
adet/modeling/abinet/transformer.py:564
Functionget_compiler_version
similar to https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/Version.cpp
adet/layers/csrc/vision.cpp:34
Functionget_cuda_version
adet/layers/csrc/vision.cpp:13
Methodget_location_mask
(self, sz, length, prob=0.1, device=None)
adet/modeling/abinet/model_language.py:56
Functionget_model_url
(data, name)
adet/modeling/backbone/dla.py:27
Functionget_tl_line_values_from_file_contents
Returns all points, confindences and transcriptions of a file in lists. Valid line formats: xmin,ymin,xmax,ymax,[confidence],[transcription]
adet/evaluation/rrc_evaluation_funcs.py:334
Functionget_tl_line_values_from_file_contents_det
Returns all points, confindences and transcriptions of a file in lists. Valid line formats: xmin,ymin,xmax,ymax,[confidence],[transcription]
adet/evaluation/rrc_evaluation_funcs.py:362
Methodget_transform
(self, img, boxes)
adet/data/augmentation.py:124
Methodget_transform
(self, image)
adet/data/augmentation.py:146
Functionimresize_like
Resize image to the same size of a given image. Args: img (ndarray): The input image. dst_img (ndarray): The target image.
adet/modeling/solov2/utils.py:55
Functionlambda_forward
(*args)
adet/utils/measures.py:170
Functionload_zip_file
Returns an array with the contents (filtered by fileNameRegExp) of a ZIP file. The key's are the names or the file or the capturing group def
adet/evaluation/rrc_evaluation_funcs.py:49
Functionload_zip_file_keys
Returns an array with the entries of the ZIP file that match with the regular expression. The key's are the names or the file or the capturin
adet/evaluation/rrc_evaluation_funcs.py:20
Functionmain
(args)
tools/train_net.py:198
Functionmain_evaluation
This process validates a method, evaluates it and if it succed generates a ZIP file with a JSON entry for each sample. Params: p: Diction
adet/evaluation/rrc_evaluation_funcs.py:390
Functionmain_validation
This process validates a method Params: default_evaluation_params_fn: points to a function that returns a dictionary with the default par
adet/evaluation/rrc_evaluation_funcs.py:464
Functionmake_conv
( in_channels, out_channels, kernel_size, stride=1, dilation=1 )
adet/layers/conv_with_kaiming_uniform.py:11
Functionml_nms
adet/layers/csrc/ml_nms/ml_nms.h:13
Methodparam_groups
(self)
adet/utils/comm.py:186
Methodprepare_targets
(self, targets)
adet/modeling/roi_heads/attn_predictor.py:101
Functionprint_help
()
adet/evaluation/rrc_evaluation_funcs.py:15
Methodprocess
(self, inputs, outputs)
adet/evaluation/text_evaluation.py:76
Methodprocess_predictions
(frame, predictions)
demo/predictor.py:117
Functionproposal_generator_forward
(self, images, features, gt_instances=None, top_module=None)
onnx/export_model_to_onnx.py:81
Functionproposal_generator_forward
(self, images, features, gt_instances=None, top_module=None)
onnx/test_onnxruntime.py:85
Functionrectangle_to_points
(rect)
adet/evaluation/text_eval_script.py:102
Methodreset
(self)
adet/evaluation/text_evaluation.py:73
FunctionsegmToMask
(segm, img_size)
adet/data/dataset_mapper.py:49
Methodshutdown
(self)
demo/predictor.py:242
Methodsize_divisibility
(self)
adet/modeling/backbone/bifpn.py:349
Methodstate_dict
(self)
adet/utils/comm.py:189
Methodstep
(self)
adet/utils/comm.py:212
Functiontext_eval_main
(det_file, gt_file, is_word_spotting)
adet/evaluation/text_eval_script.py:469
Functionurl_resolver
(url)
docs/conf.py:282
Functionvalidate_data
Method validate_data: validates that all files in the results folder are correct (have the correct name contents). Va
adet/evaluation/text_eval_script.py:42
Functionvalidate_lines_in_file
This function validates that all lines of the file calling the Line validation function for each line
adet/evaluation/rrc_evaluation_funcs.py:111
Functionvalidate_lines_in_file_gt
This function validates that all lines of the file calling the Line validation function for each line
adet/evaluation/rrc_evaluation_funcs.py:94
Methodzero_grad
(self)
adet/utils/comm.py:207
Methodzipdir
(path, ziph)
adet/evaluation/text_evaluation.py:178
← previous501–563 of 563, ranked by callers