MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

Method__init__
Args: optimizer (torch.optim.Optimizer): scheduler (torch.optim.LRScheduler or fvcore.common.param_scheduler.ParamSch
detr2/detectron2/engine/hooks.py:312
Method__init__
Args: enable_predicate (callable[trainer -> bool]): a function which takes a trainer, and returns whether to enab
detr2/detectron2/engine/hooks.py:394
Method__init__
Args: enable_predicate (callable[trainer -> bool]): a function which takes a trainer, and returns whether to enab
detr2/detectron2/engine/hooks.py:479
Method__init__
Args: eval_period (int): the period to run `eval_function`. Set to 0 to not evaluate periodically (but still eval
detr2/detectron2/engine/hooks.py:508
Method__init__
Args: period (int): the period this hook is run, or 0 to not run during training. The hook will always run in the
detr2/detectron2/engine/hooks.py:576
Method__init__
Args: period (int): Output stats each 'period' iterations max_runs (int): Stop the logging after 'max_runs'
detr2/detectron2/engine/hooks.py:643
Method__init__
(self, cfg)
detr2/detectron2/engine/defaults.py:280
Method__init__
Args: cfg (CfgNode):
detr2/detectron2/engine/defaults.py:364
Method__init__
(self)
detr2/detectron2/engine/train_loop.py:107
Method__init__
Args: model: a torch Module. Takes a data from data_loader and returns a dict of losses. data_loader:
detr2/detectron2/engine/train_loop.py:235
Method__init__
(self, model, save_dir="", *, save_to_disk=None, **checkpointables)
detr2/detectron2/checkpoint/detection_checkpoint.py:22
Method__init__
Args: tensor (Tensor[float]): a Nx4 matrix. Each row is (x1, y1, x2, y2).
detr2/detectron2/structures/boxes.py:142
Method__init__
Arguments: tensor (Tensor): of shape (N, H, W) or (N, C_1, ..., C_K, H, W) where K >= 1 image_sizes (list[tuple[int,
detr2/detectron2/structures/image_list.py:23
Method__init__
Arguments: keypoints: A Tensor, numpy array, or list of the x, y, and visibility of each keypoint. The shape shou
detr2/detectron2/structures/keypoints.py:21
Method__init__
Args: tensor (Tensor[float]): a Nx5 matrix. Each row is (x_center, y_center, width, height, angle),
detr2/detectron2/structures/rotated_boxes.py:20
Method__init__
Args: image_size (height, width): the spatial size of the image. kwargs: fields to add to this `Instances`.
detr2/detectron2/structures/instances.py:38
Method__init__
Args: tensor: bool Tensor of N,H,W, representing N instances in the image.
detr2/detectron2/structures/masks.py:97
Method__init__
Arguments: polygons (list[list[np.ndarray]]): The first level of the list correspond to individual instances,
detr2/detectron2/structures/masks.py:267
Method__init__
Args: tensor: (N, M, M) mask tensor that defines the mask within each ROI.
detr2/detectron2/structures/masks.py:471
Method__init__
Args: norm1, norm2 (str or callable): normalization for the two conv layers. activation1, activation2 (callable(Tenso
detr2/detectron2/layers/blocks.py:66
Method__init__
Args: in_channels (int): number of input channels for ASPP. out_channels (int): number of output channels.
detr2/detectron2/layers/aspp.py:19
Method__init__
Args: output_size (tuple): h, w spatial_scale (float): scale the input boxes by this number sampling_rati
detr2/detectron2/layers/roi_align.py:8
Method__init__
Modulated deformable convolution from :paper:`deformconv2`. Arguments are similar to :class:`Conv2D`. Extra arguments: Args
detr2/detectron2/layers/deform_conv.py:414
Method__init__
(self, *args, stats_mode="", **kwargs)
detr2/detectron2/layers/batch_norm.py:179
Method__init__
Args: length: number of BatchNorm layers to cycle. bn_class: the BatchNorm class to use kwargs: arguments
detr2/detectron2/layers/batch_norm.py:248
Method__init__
Args: output_size (tuple): h, w spatial_scale (float): scale the input boxes by this number sampling_rati
detr2/detectron2/layers/roi_align_rotated.py:49
Method__init__
Extra keyword arguments supported in addition to those in `torch.nn.Conv2d`: Args: norm (nn.Module, optional): a normali
detr2/detectron2/layers/wrappers.py:75
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
detr2/detectron2/tracking/iou_weighted_hungarian_bbox_iou_tracker.py:21
Method__init__
(self, **kwargs)
detr2/detectron2/tracking/base_tracker.py:21
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
detr2/detectron2/tracking/vanilla_hungarian_bbox_iou_tracker.py:23
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
detr2/detectron2/tracking/hungarian_tracker.py:22
Method__init__
Args: video_height: height the video frame video_width: width of the video frame max_num_instances: maximum number of
detr2/detectron2/tracking/bbox_iou_tracker.py:22
Method__init__
Args: dataset_name (str): the name of the dataset. It must have the following metadata associated with it:
detr2/detectron2/evaluation/cityscapes_evaluation.py:23
Method__init__
Args: evaluators (list): the evaluators to combine.
detr2/detectron2/evaluation/evaluator.py:74
Method__init__
Args: dataset_name (str): name of the dataset, e.g., "voc_2007_test"
detr2/detectron2/evaluation/pascal_voc_evaluation.py:31
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have either the following corresponding me
detr2/detectron2/evaluation/coco_evaluation.py:47
Method__init__
Initialize CocoEval using coco APIs for gt and dt :param cocoGt: coco object with ground truth annotations :param cocoDt: coc
detr2/detectron2/evaluation/refcocoeval.py:89
Method__init__
(self, iouType='segm')
detr2/detectron2/evaluation/refcocoeval.py:537
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have the following corresponding metadata:
detr2/detectron2/evaluation/lvis_evaluation.py:28
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. distributed (bool): if True, will collect results from
detr2/detectron2/evaluation/sem_seg_evaluation.py:35
Method__init__
Args: dataset_name: name of the dataset output_dir: output directory to save results for evaluation.
detr2/detectron2/evaluation/panoptic_evaluation.py:32
Method__init__
(self, target)
detr2/detectron2/config/lazy.py:41
Method__init__
Args: predict_net, init_net (core.Net): caffe2 nets convert_outptus (callable): a function that converts caffe2
detr2/detectron2/export/caffe2_inference.py:131
Method__init__
(self, name, type_)
detr2/detectron2/export/torchscript_patch.py:97
Method__init__
(self, cfg, torch_model)
detr2/detectron2/export/caffe2_modeling.py:246
Method__init__
(self, cfg, torch_model)
detr2/detectron2/export/caffe2_modeling.py:290
Method__init__
Args: cfg (CfgNode): a detectron2 config used to construct caffe2-compatible model. model (nn.Module): An original py
detr2/detectron2/export/api.py:50
Method__init__
(self, predict_net, init_net)
detr2/detectron2/export/api.py:131
Method__init__
(self, ws_name, is_reset, is_cleanup=False)
detr2/detectron2/export/shared.py:130
Method__init__
(self)
detr2/detectron2/export/shared.py:785
Method__init__
(self, tensor)
detr2/detectron2/export/c10.py:29
Method__init__
(self, im_info, indices, extra_fields=None)
detr2/detectron2/export/c10.py:48
Method__init__
(self, tensor_mode)
detr2/detectron2/export/c10.py:369
Method__init__
(self, use_heatmap_max_keypoint)
detr2/detectron2/export/c10.py:515
Method__init__
(self, replaceCls)
detr2/detectron2/export/caffe2_patch.py:32
Method__init__
(self, heads, use_heatmap_max_keypoint)
detr2/detectron2/export/caffe2_patch.py:115
Method__init__
Args: model: an nn.Module inputs: An input argument or a tuple of input arguments used to call model.
detr2/detectron2/export/flatten.py:225
Method__init__
(self, cfg)
detr2/projects/DDETRS/ddetrs/ddetrs_vl_uni.py:49
Method__init__
(self, drop_prob=None)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:31
Method__init__
( self, dim, num_heads=8, qkv_bias=False, qk_scale=None, attn_drop=0., proj_drop=0., w
detr2/projects/DDETRS/ddetrs/backbone/vit.py:63
Method__init__
(self, dim, window_size, num_heads, qkv_bias=True, qk_scale=None, attn_drop=0., proj_drop=0., attn_head_dim=No
detr2/projects/DDETRS/ddetrs/backbone/vit.py:209
Method__init__
(self, dim, num_heads, mlp_ratio=4., qkv_bias=False, qk_scale=None, drop=0., attn_drop=0., dr
detr2/projects/DDETRS/ddetrs/backbone/vit.py:281
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:318
Method__init__
(self, backbone, img_size=224, feature_size=None, in_chans=3, embed_dim=768)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:345
Method__init__
(self, embed_dim)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:376
Method__init__
(self, img_size=224, patch_size=16, in_chans=3, embed_dim=768, depth=12, num_heads=12, mlp_ra
detr2/projects/DDETRS/ddetrs/backbone/vit.py:389
Method__init__
(self, cfg, input_shape)
detr2/projects/DDETRS/ddetrs/backbone/vit.py:516
Method__init__
( self, dim, window_size, num_heads, qkv_bias=True, qk_scale=N
detr2/projects/DDETRS/ddetrs/backbone/swin.py:85
Method__init__
( self, dim, num_heads, window_size=7, shift_size=0, mlp_ratio
detr2/projects/DDETRS/ddetrs/backbone/swin.py:192
Method__init__
(self, dim, norm_layer=nn.LayerNorm)
detr2/projects/DDETRS/ddetrs/backbone/swin.py:306
Method__init__
( self, dim, depth, num_heads, window_size=7, mlp_ratio=4.0,
detr2/projects/DDETRS/ddetrs/backbone/swin.py:359
Method__init__
(self, patch_size=4, in_chans=3, embed_dim=96, norm_layer=None)
detr2/projects/DDETRS/ddetrs/backbone/swin.py:466
Method__init__
( self, pretrain_img_size=224, patch_size=4, in_chans=3, embed_dim=96,
detr2/projects/DDETRS/ddetrs/backbone/swin.py:527
Method__init__
(self, cfg, input_shape)
detr2/projects/DDETRS/ddetrs/backbone/swin.py:689
Method__init__
(self, cfg, input_shape=None)
detr2/projects/DDETRS/ddetrs/backbone/masked_backbone.py:13
Method__init__
(self, detr, rel_coord=True, freeze_detr=False, new_mask_head=False, use_raft=False, mask_out_stride=4, \
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:31
Method__init__
(self, dim, fpn_dims, context_dim, use_raft=False, up_rate=4)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:696
Method__init__
(self, in_channels, channels=128, num_convs=4, sem_loss_on=False, num_classes=80, use_raft=False, up_rate=4)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:805
Method__init__
(self, query_dim, hidden_dim, num_heads, dropout=0, bias=True)
detr2/projects/DDETRS/ddetrs/models/segmentation_condInst_new_encodfpn.py:886
Method__init__
( self, vit_model="eva_clip_g", img_size=224, drop_path_rate=0, use_gr
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:38
Method__init__
(self, cfg)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:172
Method__init__
(self, hidden_dim, num_class=1)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:209
Method__init__
Initializes the model. Parameters: backbone: torch module of the backbone to be used. See backbone.py transformer: to
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:237
Method__init__
Create the criterion. Parameters: num_classes: number of object categories, omitting the special no-object category m
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_detr.py:359
Method__init__
(self, config, clamp_min_for_underflow=False, clamp_max_for_overflow=False)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/modeling_bert.py:40
Method__init__
(self, config)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/modeling_bert.py:180
Method__init__
(self, config, clamp_min_for_underflow=False, clamp_max_for_overflow=False)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/modeling_bert.py:194
Method__init__
(self, config)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/modeling_bert.py:243
Method__init__
(self, d_model=256, d_ffn=1024, dropout=0.1, activation="relu",
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_transformer.py:193
Method__init__
(self, encoder_layer, num_layers)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_transformer.py:235
Method__init__
(self, d_model=256, d_ffn=1024, dropout=0.1, activation="relu", n_levels=4,
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_transformer.py:265
Method__init__
(self, decoder_layer, num_layers, return_intermediate=False)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/deformable_transformer.py:319
Method__init__
Creates the matcher Params: cost_class: This is the relative weight of the classification error in the matching cost c
detr2/projects/DDETRS/ddetrs/models/deformable_detr/matcher.py:274
Method__init__
Inputs: embed_dim - Dimensionality of input and attention feature vectors num_heads - Number of heads to use in the M
detr2/projects/DDETRS/ddetrs/models/deformable_detr/fuse_helper.py:143
Method__init__
Inputs: embed_dim - Dimensionality of input and attention feature vectors num_heads - Number of heads to use in the M
detr2/projects/DDETRS/ddetrs/models/deformable_detr/fuse_helper.py:183
Method__init__
(self, config, clamp_min_for_underflow = False, clamp_max_for_overflow = False)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/vlfusion.py:11
Method__init__
(self, detr, ota=False)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/segmentation.py:27
Method__init__
(self, n, eps=1e-5)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/backbone.py:36
Method__init__
(self, backbone: nn.Module, train_backbone: bool, return_interm_layers: bool)
detr2/projects/DDETRS/ddetrs/models/deformable_detr/backbone.py:69
Method__init__
(self, name: str, train_backbone: bool, return_interm_layers: bool,
detr2/projects/DDETRS/ddetrs/models/deformable_detr/backbone.py:98
← previousnext →4,201–4,300 of 6,925, ranked by callers