MCPcopy Create free account

hub / github.com/GuangxingHan/QA-FewDet / functions

Functions304 in github.com/GuangxingHan/QA-FewDet

Method__init__
(self, num_groups, num_channels, eps=1e-5, affine=True)
fewx/layers/naive_group_norm.py:35
Method__init__
Args: dataset_name (str): name of the dataset, e.g., "voc_2007_test"
fewx/evaluation/pascal_voc_evaluation.py:35
Method__init__
Args: dataset_name (str): name of the dataset to be evaluated. It must have either the following corresponding me
fewx/evaluation/coco_evaluation.py:49
Method__repr__
(self)
QA_FewDet/modeling/fsod/gcn_module.py:37
Function_get_builtin_metadata_pascal_voc
(dataset_name)
datasets/pascal_voc/builtin_meta_pascal_voc.py:49
Functionaligned_bilinear
(tensor, factor)
QA_FewDet/utils/comm.py:17
Functionaligned_bilinear
(tensor, factor)
fewx/utils/comm.py:17
Methodbackward
(ctx, grad)
QA_FewDet/layers/misc.py:22
Methodbackward
(ctx, grad)
QA_FewDet/layers/deform_conv.py:14
Methodbackward
(ctx, grad)
fewx/layers/misc.py:22
Methodbackward
(ctx, grad)
fewx/layers/deform_conv.py:14
Functionbuild_detection_test_loader
Similar to `build_detection_train_loader`. But this function uses the given `dataset_name` argument (instead of the names in cfg), and us
QA_FewDet/data/build.py:176
Functionbuild_detection_train_loader
A data loader is created by the following steps: 1. Use the dataset names in config to query :class:`DatasetCatalog`, and obtain a list of di
QA_FewDet/data/build.py:121
Functionbuild_lr_scheduler
Build a LR scheduler from config.
QA_FewDet/solver/build.py:151
Functionbuild_lr_scheduler
Build a LR scheduler from config.
fewx/solver/build.py:151
Functionbuild_optimizer
Build an optimizer from config.
QA_FewDet/solver/build.py:98
Methodbuild_optimizer
Returns: torch.optim.Optimizer: It now calls :func:`detectron2.solver.build_optimizer`. Overwrite it if you'd lik
fsod_train_net.py:71
Methodbuild_optimizer
Returns: torch.optim.Optimizer: It now calls :func:`detectron2.solver.build_optimizer`. Overwrite it if you'd lik
fsod_train_net_fewx.py:71
Methodbuild_train_loader
Returns: iterable It calls :func:`detectron2.data.build_detection_train_loader` with a customized DatasetMapper,
fsod_train_net.py:47
Methodbuild_train_loader
Returns: iterable It calls :func:`detectron2.data.build_detection_train_loader` with a customized DatasetMapper,
fsod_train_net_fewx.py:47
Functionclip_grad_norm
(p: _GradientClipperInput)
QA_FewDet/solver/build.py:31
Functionclip_grad_norm
(p: _GradientClipperInput)
fewx/solver/build.py:31
Functionclip_grad_value
(p: _GradientClipperInput)
QA_FewDet/solver/build.py:34
Functionclip_grad_value
(p: _GradientClipperInput)
fewx/solver/build.py:34
Functioncompute_locations
(h, w, stride, device)
QA_FewDet/utils/comm.py:42
Functioncompute_locations
(h, w, stride, device)
fewx/utils/comm.py:42
Functionconv_with_kaiming_uniform
( norm=None, activation=None, use_deformable=False, use_sep=False)
QA_FewDet/layers/conv_with_kaiming_uniform.py:8
Functionconv_with_kaiming_uniform
( norm=None, activation=None, use_deformable=False, use_sep=False)
fewx/layers/conv_with_kaiming_uniform.py:8
Methodevaluate
Returns: dict: has a key "segm", whose value is a dict of "AP", "AP50", and "AP75".
QA_FewDet/evaluation/pascal_voc_evaluation.py:72
Methodevaluate
Returns: dict: has a key "segm", whose value is a dict of "AP", "AP50", and "AP75".
fewx/evaluation/pascal_voc_evaluation.py:72
Methodextra_repr
(self)
QA_FewDet/layers/naive_group_norm.py:68
Methodextra_repr
(self)
fewx/layers/naive_group_norm.py:68
Methodforward
Args: features (list[Tensor]): list of feature maps Returns: list[Tensor]: A list of L elements.
QA_FewDet/modeling/fsod/fsod_rpn.py:125
Methodforward
Args: images (ImageList): input images of length `N` features (dict[str, Tensor]): input data as a mapping from featu
QA_FewDet/modeling/fsod/fsod_rpn.py:378
Methodforward
(self, x_query, x_support)
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:489
Methodforward
(self, input, adj)
QA_FewDet/modeling/fsod/gcn_module.py:30
Methodforward
(self, input_features, adj_mat)
QA_FewDet/modeling/fsod/gcn_module.py:50
Methodforward
Args: batched_inputs: a list, batched outputs of :class:`DatasetMapper` . Each item in the list contains the inpu
QA_FewDet/modeling/fsod/fsod_rcnn.py:272
Methodforward
See :meth:`ROIHeads.forward`.
QA_FewDet/modeling/fsod/fsod_roi_heads.py:214
Methodforward
(ctx, x, new_shape)
QA_FewDet/layers/misc.py:17
Methodforward
(ctx, x, new_shape)
QA_FewDet/layers/deform_conv.py:9
Methodforward
(self, x, return_offset=False)
QA_FewDet/layers/deform_conv.py:95
Methodforward
(self, input)
QA_FewDet/layers/naive_group_norm.py:54
Methodforward
Args: features (list[Tensor]): list of feature maps Returns: list[Tensor]: A list of L elements.
fewx/modeling/fsod/fsod_rpn.py:125
Methodforward
Args: images (ImageList): input images of length `N` features (dict[str, Tensor]): input data as a mapping from featu
fewx/modeling/fsod/fsod_rpn.py:378
Methodforward
(self, x_query, x_support)
fewx/modeling/fsod/fsod_fast_rcnn.py:489
Methodforward
Args: batched_inputs: a list, batched outputs of :class:`DatasetMapper` . Each item in the list contains the inpu
fewx/modeling/fsod/fsod_rcnn.py:125
Methodforward
See :meth:`ROIHeads.forward`.
fewx/modeling/fsod/fsod_roi_heads.py:123
Methodforward
(ctx, x, new_shape)
fewx/layers/misc.py:17
Methodforward
(ctx, x, new_shape)
fewx/layers/deform_conv.py:9
Methodforward
(self, x, return_offset=False)
fewx/layers/deform_conv.py:95
Methodforward
(self, input)
fewx/layers/naive_group_norm.py:54
Methodfrom_config
(cls, cfg, input_shape)
QA_FewDet/modeling/fsod/fsod_rpn.py:109
Methodfrom_config
(cls, cfg, input_shape: Dict[str, ShapeSpec])
QA_FewDet/modeling/fsod/fsod_rpn.py:218
Methodfrom_config
(cls, cfg, input_shape)
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:475
Methodfrom_config
(cls, cfg, input_shape)
fewx/modeling/fsod/fsod_rpn.py:109
Methodfrom_config
(cls, cfg, input_shape: Dict[str, ShapeSpec])
fewx/modeling/fsod/fsod_rpn.py:218
Methodfrom_config
(cls, cfg, input_shape)
fewx/modeling/fsod/fsod_fast_rcnn.py:475
Functionget_center
(mask)
QA_FewDet/layers/boundary.py:33
Functionget_center
(mask)
fewx/layers/boundary.py:33
Functionget_cfg
Get a copy of the default config. Returns: a detectron2 CfgNode instance.
QA_FewDet/config/config.py:4
Functionget_instances_contour_interior
(instances_mask)
QA_FewDet/layers/boundary.py:43
Functionget_instances_contour_interior
(instances_mask)
fewx/layers/boundary.py:43
Methodinference
Deprecated
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:362
Methodinference
Returns: list[Instances]: same as `fsod_fast_rcnn_inference`. list[Tensor]: same as `fsod_fast_rcnn_inference`.
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:538
Methodinference
Deprecated
fewx/modeling/fsod/fsod_fast_rcnn.py:362
Methodinference
Returns: list[Instances]: same as `fsod_fast_rcnn_inference`. list[Tensor]: same as `fsod_fast_rcnn_inference`.
fewx/modeling/fsod/fsod_fast_rcnn.py:538
Methodinit_support_features
(self, evaluation_dataset, evaluation_shot, keepclasses, test_seeds)
QA_FewDet/modeling/fsod/fsod_rcnn.py:94
Functioninterpolate
( input, size=None, scale_factor=None, mode="nearest", align_corners=None )
QA_FewDet/layers/misc.py:27
Functioninterpolate
( input, size=None, scale_factor=None, mode="nearest", align_corners=None )
fewx/layers/misc.py:27
Functionlambda_forward
(*args)
QA_FewDet/utils/measures.py:170
Functionlambda_forward
(*args)
fewx/utils/measures.py:170
Methodlosses
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:526
Methodlosses
Args: predictions: return values of :meth:`forward()`. proposals (list[Instances]): proposals that match the features
fewx/modeling/fsod/fsod_fast_rcnn.py:526
Functionmain
(args)
fsod_train_net.py:186
Functionmain
(args)
fsod_train_net_fewx.py:186
Functionmake_conv
( in_channels, out_channels, kernel_size, stride=1, dilation=1 )
QA_FewDet/layers/conv_with_kaiming_uniform.py:11
Functionmake_conv
( in_channels, out_channels, kernel_size, stride=1, dilation=1 )
fewx/layers/conv_with_kaiming_uniform.py:11
Functionmeasure_model
(model, x)
QA_FewDet/utils/measures.py:158
Functionmeasure_model
(model, x)
fewx/utils/measures.py:158
Functionml_nms
Performs non-maximum suppression on a boxlist, with scores specified in a boxlist field via score_field. Args: boxlist (dete
QA_FewDet/layers/ml_nms.py:4
Functionml_nms
Performs non-maximum suppression on a boxlist, with scores specified in a boxlist field via score_field. Args: boxlist (dete
fewx/layers/ml_nms.py:4
Functionoptimizer_wgc_step
(self, closure=None)
QA_FewDet/solver/build.py:52
Functionoptimizer_wgc_step
(self, closure=None)
fewx/solver/build.py:52
Methodpredict_boxes_for_gt_classes
Returns: list[Tensor]: A list of Tensors of predicted boxes for GT classes in case of class-specific box head. El
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:560
Methodpredict_boxes_for_gt_classes
Returns: list[Tensor]: A list of Tensors of predicted boxes for GT classes in case of class-specific box head. El
fewx/modeling/fsod/fsod_fast_rcnn.py:560
Methodprocess
(self, inputs, outputs)
QA_FewDet/evaluation/pascal_voc_evaluation.py:56
Methodprocess
Args: inputs: the inputs to a COCO model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
QA_FewDet/evaluation/coco_evaluation.py:114
Methodprocess
(self, inputs, outputs)
fewx/evaluation/pascal_voc_evaluation.py:56
Methodprocess
Args: inputs: the inputs to a COCO model (e.g., GeneralizedRCNN). It is a list of dict. Each dict corresponds to
fewx/evaluation/coco_evaluation.py:114
Functionreduce_sum
(tensor)
QA_FewDet/utils/comm.py:8
Functionreduce_sum
(tensor)
fewx/utils/comm.py:8
Methodreset
(self)
QA_FewDet/evaluation/pascal_voc_evaluation.py:53
Methodreset
(self)
QA_FewDet/evaluation/coco_evaluation.py:99
Methodreset
(self)
fewx/evaluation/pascal_voc_evaluation.py:53
Methodreset
(self)
fewx/evaluation/coco_evaluation.py:99
Methodreset_parameters
(self)
QA_FewDet/modeling/fsod/gcn_module.py:26
Functionvis_image
(im, bboxs, im_name)
datasets/pascal_voc/3_gen_support_pool_any_shot.py:26
Functionvis_image
(im, bboxs, im_name)
datasets/pascal_voc/2_gen_support_pool.py:26
Functionvis_image
(im, bboxs, im_name)
datasets/coco/3_gen_support_pool_any_shot_novel_class.py:25
← previousnext →201–300 of 304, ranked by callers