MCPcopy Create free account

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

Functions563 in github.com/FangShancheng/ABINet-PP

Method__call__
Args: dataset_dict (dict): Metadata of one image, in Detectron2 Dataset format. Returns: dict: a format that
adet/data/dataset_mapper.py:105
Method__call__
(self, text, debug=False)
adet/data/dataset_language.py:221
Method__getitem__
(self, index)
adet/modeling/MEInst/LME/MaskLoader.py:69
Method__getitem__
(self, idx)
adet/data/dataset_language.py:134
Method__getitem__
Returns: Beziers: Create a new :class:`Beziers` by indexing.
adet/structures/beziers.py:35
Method__init__
Args: cfg (CfgNode): instance_mode (ColorMode): parallel (bool): whether to run the model in different pr
demo/predictor.py:20
Method__init__
(self, cfg, task_queue, result_queue)
demo/predictor.py:171
Method__init__
(self, cfg)
adet/modeling/one_stage_detector.py:71
Method__init__
(self, output_size, scales, sampling_ratio,
adet/modeling/poolers.py:87
Method__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
adet/modeling/batext/batext.py:33
Method__init__
Arguments: in_channels (int): number of channels of the input feature
adet/modeling/batext/batext.py:171
Method__init__
( self, images, locations, logits_pred, reg_pred,
adet/modeling/batext/batext_outputs.py:126
Method__init__
(self, cfg, inplanes, planes, stride=1, dilation=1)
adet/modeling/backbone/dla.py:39
Method__init__
(self, cfg, inplanes, planes, stride=1, dilation=1)
adet/modeling/backbone/dla.py:72
Method__init__
(self, cfg, inplanes, planes, stride=1, dilation=1)
adet/modeling/backbone/dla.py:114
Method__init__
(self, cfg, in_channels, out_channels, kernel_size, residual)
adet/modeling/backbone/dla.py:155
Method__init__
(self, cfg, levels, block, in_channels, out_channels, stride=1, level_root=False, root_dim=0,
adet/modeling/backbone/dla.py:176
Method__init__
(self, inplace=True)
adet/modeling/backbone/vovnet.py:101
Method__init__
(self, channel, reduction=4)
adet/modeling/backbone/vovnet.py:110
Method__init__
(self, in_ch, stage_ch, concat_ch, lay
adet/modeling/backbone/vovnet.py:127
Method__init__
(self, in_ch, stage_ch, concat_ch, blo
adet/modeling/backbone/vovnet.py:174
Method__init__
(self, in_channels, out_channels, in_features="res5")
adet/modeling/backbone/fpn.py:20
Method__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, norm_layer=None, filter_size=1)
adet/modeling/backbone/resnet_lpf.py:66
Method__init__
(self, inplanes, planes, stride=1, downsample=None, groups=1, norm_layer=None, filter_size=1)
adet/modeling/backbone/resnet_lpf.py:107
Method__init__
(self, in_channels, out_channels, stride, norm="")
adet/modeling/backbone/bifpn.py:26
Method__init__
(self, backbone, out_channels, num_top_levels, norm="")
adet/modeling/backbone/bifpn.py:58
Method__init__
Args: bottom_up (Backbone): module representing the bottom up subnetwork. Must be a subclass of :class:`Backbone`
adet/modeling/backbone/bifpn.py:107
Method__init__
(self, inp, oup, stride, expand_ratio)
adet/modeling/backbone/mobilenet.py:30
Method__init__
(self, pad_type='reflect', filt_size=3, stride=2, channels=None, pad_off=0)
adet/modeling/backbone/lpf.py:63
Method__init__
(self, use_sigmoid=True, gamma=2.0, alpha=0.25,
adet/modeling/solov2/loss.py:93
Method__init__
SOLOv2 Instance Head.
adet/modeling/solov2/solov2.py:508
Method__init__
SOLOv2 Mask Head.
adet/modeling/solov2/solov2.py:632
Method__init__
(self, cfg)
adet/modeling/roi_heads/text_head.py:39
Method__init__
Args: in_channels (int): number of channels of the input feature
adet/modeling/roi_heads/text_head.py:108
Method__init__
(self, nIn, nHidden, nOut)
adet/modeling/roi_heads/attn_predictor.py:12
Method__init__
(self, cfg, in_channels)
adet/modeling/roi_heads/attn_predictor.py:50
Method__init__
(self, cfg)
adet/modeling/roi_heads/attn_predictor.py:108
Method__init__
(self, cfg)
adet/modeling/abinet/model_alignment.py:9
Method__init__
(self, cfg)
adet/modeling/abinet/model_language.py:17
Method__init__
Args: in_channels (int): number of channels of the input feature
adet/modeling/abinet/attn_text_head.py:24
Method__init__
(self, cfg)
adet/modeling/abinet/model_vision.py:61
Method__init__
(self, d_model=256, num_layers=3, d_inner=None)
adet/modeling/abinet/feat_seq_modeling.py:48
Method__init__
(self, cfg)
adet/modeling/abinet/model_abinet_iter.py:12
Method__init__
(self, cfg)
adet/modeling/abinet/model_abinet.py:12
Method__init__
(self, max_length, in_channels=512, num_channels=64, mode='nearest', num_layers=4, iter_size
adet/modeling/abinet/attention.py:82
Method__init__
(self, embed_dim, num_heads, dropout=0., bias=True, add_bias_kv=False, add_zero_attn=False, kdim=None, vdim=No
adet/modeling/abinet/transformer.py:328
Method__init__
(self, encoder_layer, num_layers, norm=None)
adet/modeling/abinet/transformer.py:596
Method__init__
(self, decoder_layer, num_layers, norm=None)
adet/modeling/abinet/transformer.py:642
Method__init__
(self, d_model, nhead, dim_feedforward=2048, dropout=0.1, activation="relu", debug=False)
adet/modeling/abinet/transformer.py:700
Method__init__
(self, d_model, nhead, dim_feedforward=2048, dropout=0.1, activation="relu", self_attn=True,
adet/modeling/abinet/transformer.py:768
Method__init__
(self, d_model, dropout=0.1, max_len=5000)
adet/modeling/abinet/transformer.py:869
Method__init__
(self, cfg)
adet/modeling/abinet/model.py:7
Method__init__
(self, init_value=1.0)
adet/modeling/fcos/fcos.py:21
Method__init__
(self, modules=None)
adet/modeling/fcos/fcos.py:30
Method__init__
Arguments: in_channels (int): number of channels of the input feature
adet/modeling/fcos/fcos.py:123
Method__init__
(self, cfg)
adet/modeling/fcos/fcos_outputs.py:53
Method__init__
(self, cfg)
adet/modeling/blendmask/blendmask.py:27
Method__init__
(self, cfg)
adet/modeling/blendmask/blender.py:13
Method__init__
TODO: support deconv and variable channel width
adet/modeling/blendmask/basis_module.py:27
Method__init__
(self, cfg)
adet/modeling/MEInst/MaskEncoding.py:31
Method__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
adet/modeling/MEInst/MEInst.py:35
Method__init__
Arguments: in_channels (int): number of channels of the input feature
adet/modeling/MEInst/MEInst.py:180
Method__init__
( self, images, locations, logits_pred, reg_pred,
adet/modeling/MEInst/MEInst_outputs.py:58
Method__init__
(self, root="datasets", dataset="coco_2017_train", size=28, transform=False)
adet/modeling/MEInst/LME/MaskLoader.py:40
Method__init__
(self, num_classes)
adet/modeling/MEInst/LME/utils.py:97
Method__init__
(self, cfg)
adet/modeling/condinst/condinst.py:79
Method__init__
(self, cfg, input_shape: Dict[str, ShapeSpec])
adet/modeling/condinst/mask_branch.py:22
Method__init__
(self, cfg)
adet/modeling/condinst/dynamic_mask_head.py:95
Method__init__
(self, image, metadata, instance_mode, cfg)
adet/utils/visualizer.py:14
Method__init__
(self, reduction="mean")
adet/utils/comm.py:95
Method__init__
(self, v_optim, l_optim, a_optim)
adet/utils/comm.py:180
Method__init__
Args: crop_instance (bool): if False, extend cropping boxes to avoid cropping instances
adet/data/augmentation.py:114
Method__init__
(self, prob, angle, expand=True, center=None, sample_style="range", interp=None)
adet/data/augmentation.py:142
Method__init__
(self, cfg, is_train=True, bigger_height=None)
adet/data/dataset_mapper.py:60
Method__init__
(self, dataloader)
adet/data/dataset_language.py:65
Method__init__
Args: pn0: the prob of not modifying characters is (pn0) pn1: the prob of modifying one characters is (pn1 - pn0)
adet/data/dataset_language.py:175
Method__init__
Args: tensor (Tensor[float]): a Nx4 matrix. Each row is (x1, y1, x2, y2).
adet/structures/beziers.py:17
Method__init__
(self, in_channels, out_channels, kernel_size, padding='same', stride=1, dilation=1, groups=
adet/layers/gcn.py:7
Method__init__
( self, in_channels, out_channels, with_modulated_dcn=True,
adet/layers/deform_conv.py:29
Method__init__
Args: output_size (tuple): h, w spatial_scale (float): scale the input boxes by this number sampling_rati
adet/layers/def_roi_align.py:61
Method__init__
(self, loc_loss_type='iou')
adet/layers/iou_loss.py:14
Method__init__
(self, num_groups, num_channels, eps=1e-5, affine=True)
adet/layers/naive_group_norm.py:39
Method__init__
Args: output_size (tuple): h, w spatial_scale (float): scale the input boxes by this number sampling_rati
adet/layers/bezier_align.py:52
Method__init__
(self, dataset_name, cfg, distributed, output_dir=None)
adet/evaluation/text_evaluation.py:32
Method__iter__
(self)
adet/data/dataset_language.py:69
Method__len__
(self)
demo/predictor.py:235
Method__len__
(self)
adet/modeling/MEInst/LME/MaskLoader.py:66
Method__len__
(self)
adet/data/dataset_language.py:110
Method__next__
(self)
adet/data/dataset_language.py:72
Method__repr__
(self)
adet/layers/def_roi_align.py:93
Method__repr__
(self)
adet/layers/bezier_align.py:90
Method__setstate__
(self, state)
adet/modeling/abinet/transformer.py:717
Method__setstate__
(self, state)
adet/modeling/abinet/transformer.py:792
Function_assert_strides_are_log2_contiguous
Assert that each stride is 2x times its preceding stride, i.e. "contiguous in log2".
adet/modeling/backbone/bifpn.py:374
Function_bezier_height
(beziers)
adet/modeling/poolers.py:22
Function_box_max_size
(boxes)
adet/modeling/poolers.py:16
Method_ctc_decode_recognition
(self, rec)
adet/utils/visualizer.py:59
Method_get_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/model.py:28
Method_load_file
(self, filename)
adet/checkpoint/adet_checkpoint.py:11
Method_make_level
(self, block, inplanes, planes, blocks, stride=1)
adet/modeling/backbone/dla.py:271
← previousnext →301–400 of 563, ranked by callers