MCPcopy Create free account

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

Functions304 in github.com/GuangxingHan/QA-FewDet

↓ 1 callersFunctionfsod_get_detection_dataset_dicts
Load and prepare dataset dicts for instance detection/segmentation and semantic segmentation. Args: dataset_names (list[str]): a list
QA_FewDet/data/build.py:36
↓ 1 callersFunctionfsod_get_detection_dataset_dicts
Load and prepare dataset dicts for instance detection/segmentation and semantic segmentation. Args: dataset_names (list[str]): a list
fewx/data/build.py:36
↓ 1 callersMethodgenerate_support
(self, dataset_dict)
QA_FewDet/data/dataset_mapper_coco.py:211
↓ 1 callersMethodgenerate_support
(self, dataset_dict)
QA_FewDet/data/dataset_mapper_pascal_voc.py:210
↓ 1 callersMethodgenerate_support
(self, dataset_dict)
fewx/data/dataset_mapper_coco.py:211
↓ 1 callersMethodgenerate_support
(self, dataset_dict)
fewx/data/dataset_mapper_pascal_voc.py:210
↓ 1 callersFunctionget_contour_interior
(mask, bold=False)
QA_FewDet/layers/boundary.py:17
↓ 1 callersFunctionget_contour_interior
(mask, bold=False)
fewx/layers/boundary.py:17
↓ 1 callersFunctionget_layer_info
(layer)
QA_FewDet/utils/measures.py:29
↓ 1 callersFunctionget_layer_info
(layer)
fewx/utils/measures.py:29
↓ 1 callersFunctionget_num_gen
(gen)
QA_FewDet/utils/measures.py:13
↓ 1 callersFunctionget_num_gen
(gen)
fewx/utils/measures.py:13
↓ 1 callersMethodinit_model_coco
(self)
QA_FewDet/modeling/fsod/fsod_rcnn.py:650
↓ 1 callersMethodinit_model_coco
(self)
fewx/modeling/fsod/fsod_rcnn.py:361
↓ 1 callersMethodinit_model_voc
(self)
QA_FewDet/modeling/fsod/fsod_rcnn.py:507
↓ 1 callersMethodinit_model_voc
(self)
fewx/modeling/fsod/fsod_rcnn.py:304
↓ 1 callersFunctioninstances_to_coco_json
Dump an "Instances" object to a COCO-format json that's used for evaluation. Args: instances (Instances): img_id (int): the
QA_FewDet/evaluation/coco_evaluation.py:405
↓ 1 callersFunctioninstances_to_coco_json
Dump an "Instances" object to a COCO-format json that's used for evaluation. Args: instances (Instances): img_id (int): the
fewx/evaluation/coco_evaluation.py:405
↓ 1 callersFunctionis_pruned
(layer)
QA_FewDet/utils/measures.py:17
↓ 1 callersFunctionis_pruned
(layer)
fewx/utils/measures.py:17
↓ 1 callersMethodlabel_and_sample_anchors
Args: anchors (list[Boxes]): anchors for each feature map. gt_instances: the ground-truth instances for each image.
QA_FewDet/modeling/fsod/fsod_rpn.py:261
↓ 1 callersMethodlabel_and_sample_anchors
Args: anchors (list[Boxes]): anchors for each feature map. gt_instances: the ground-truth instances for each image.
fewx/modeling/fsod/fsod_rpn.py:261
↓ 1 callersFunctionload_filtered_voc_instances
Load Pascal VOC detection annotations to Detectron2 format. Args: dirname: Contain "Annotations", "ImageSets", "JPEGImages"
QA_FewDet/data/datasets/meta_pascal_voc.py:21
↓ 1 callersFunctionload_filtered_voc_instances
Load Pascal VOC detection annotations to Detectron2 format. Args: dirname: Contain "Annotations", "ImageSets", "JPEGImages"
fewx/data/datasets/meta_pascal_voc.py:21
↓ 1 callersMethodlosses
Compute the default losses for box head in Fast(er) R-CNN, with softmax cross entropy loss and smooth L1 loss. Returns:
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:336
↓ 1 callersMethodlosses
Compute the default losses for box head in Fast(er) R-CNN, with softmax cross entropy loss and smooth L1 loss. Returns:
fewx/modeling/fsod/fsod_fast_rcnn.py:336
↓ 1 callersFunctionmain
(root_path, year, split, keepclasses, sid, shot)
datasets/pascal_voc/3_gen_support_pool_any_shot.py:187
↓ 1 callersFunctionmain
(root_path, year, split, keepclasses, sid)
datasets/pascal_voc/2_gen_support_pool.py:187
↓ 1 callersFunctionmain
(shot)
datasets/coco/3_gen_support_pool_any_shot_novel_class.py:186
↓ 1 callersFunctionmain
(shot)
datasets/coco/4_gen_support_pool_any_shot_full_class.py:186
↓ 1 callersFunctionmain
()
datasets/coco/2_gen_support_pool.py:186
↓ 1 callersFunctionmaybe_add_gradient_clipping
If gradient clipping is enabled through config options, wraps the existing optimizer instance of some type OptimizerType to become an instanc
QA_FewDet/solver/build.py:66
↓ 1 callersFunctionmaybe_add_gradient_clipping
If gradient clipping is enabled through config options, wraps the existing optimizer instance of some type OptimizerType to become an instanc
fewx/solver/build.py:66
↓ 1 callersFunctionmeasure_layer
(layer, *args)
QA_FewDet/utils/measures.py:40
↓ 1 callersFunctionmeasure_layer
(layer, *args)
fewx/utils/measures.py:40
↓ 1 callersFunctionmodify_forward
(model)
QA_FewDet/utils/measures.py:166
↓ 1 callersFunctionmodify_forward
(model)
fewx/utils/measures.py:166
↓ 1 callersFunctionnew_forward
(m)
QA_FewDet/utils/measures.py:169
↓ 1 callersFunctionnew_forward
(m)
fewx/utils/measures.py:169
↓ 1 callersMethodpairwise_distance
(self, boxes1, boxes2)
QA_FewDet/modeling/fsod/fsod_rcnn.py:148
↓ 1 callersFunctionparse_rec
Parse a PASCAL VOC xml file.
QA_FewDet/evaluation/pascal_voc_evaluation.py:166
↓ 1 callersFunctionparse_rec
Parse a PASCAL VOC xml file.
fewx/evaluation/pascal_voc_evaluation.py:166
↓ 1 callersMethodpredict_boxes
Deprecated
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:349
↓ 1 callersMethodpredict_boxes
Returns: list[Tensor]: A list of Tensors of predicted class-specific or class-agnostic boxes for each image. Elem
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:590
↓ 1 callersMethodpredict_boxes
Deprecated
fewx/modeling/fsod/fsod_fast_rcnn.py:349
↓ 1 callersMethodpredict_boxes
Returns: list[Tensor]: A list of Tensors of predicted class-specific or class-agnostic boxes for each image. Elem
fewx/modeling/fsod/fsod_fast_rcnn.py:590
↓ 1 callersMethodpredict_probs
Deprecated
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:355
↓ 1 callersMethodpredict_probs
Returns: list[Tensor]: A list of Tensors of predicted class probabilities for each image. Element i has shape (Ri
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:608
↓ 1 callersMethodpredict_probs
Deprecated
fewx/modeling/fsod/fsod_fast_rcnn.py:355
↓ 1 callersMethodpredict_probs
Returns: list[Tensor]: A list of Tensors of predicted class probabilities for each image. Element i has shape (Ri
fewx/modeling/fsod/fsod_fast_rcnn.py:608
↓ 1 callersFunctionregister_all_coco
(root)
QA_FewDet/data/datasets/builtin.py:36
↓ 1 callersFunctionregister_all_coco
(root)
fewx/data/datasets/builtin.py:36
↓ 1 callersFunctionregister_all_pascal_voc
(root="datasets")
QA_FewDet/data/datasets/builtin.py:58
↓ 1 callersFunctionregister_all_pascal_voc
(root="datasets")
fewx/data/datasets/builtin.py:58
↓ 1 callersFunctionregister_coco_instances
Register a dataset in COCO's json annotation format for instance detection, instance segmentation and keypoint detection. (i.e., Type 1 a
QA_FewDet/data/datasets/register_coco.py:16
↓ 1 callersFunctionregister_coco_instances
Register a dataset in COCO's json annotation format for instance detection, instance segmentation and keypoint detection. (i.e., Type 1 a
fewx/data/datasets/register_coco.py:16
↓ 1 callersFunctionregister_meta_pascal_voc
( name, metadata, dirname, split, year, keepclasses, sid)
QA_FewDet/data/datasets/meta_pascal_voc.py:142
↓ 1 callersFunctionregister_meta_pascal_voc
( name, metadata, dirname, split, year, keepclasses, sid)
fewx/data/datasets/meta_pascal_voc.py:142
↓ 1 callersMethodreset_parameters
(self)
QA_FewDet/layers/naive_group_norm.py:49
↓ 1 callersMethodreset_parameters
(self)
fewx/layers/naive_group_norm.py:49
↓ 1 callersFunctionrestore_forward
(model)
QA_FewDet/utils/measures.py:179
↓ 1 callersFunctionrestore_forward
(model)
fewx/utils/measures.py:179
↓ 1 callersFunctionsetup
Create configs and perform basic setups.
fsod_train_net.py:170
↓ 1 callersFunctionsetup
Create configs and perform basic setups.
fsod_train_net_fewx.py:170
↓ 1 callersFunctionshould_measure
(x)
QA_FewDet/utils/measures.py:163
↓ 1 callersFunctionshould_measure
(x)
fewx/utils/measures.py:163
↓ 1 callersMethodsmooth_l1_loss
Compute the smooth L1 loss for box regression. Returns: scalar Tensor
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:266
↓ 1 callersMethodsmooth_l1_loss
Compute the smooth L1 loss for box regression. Returns: scalar Tensor
fewx/modeling/fsod/fsod_fast_rcnn.py:266
↓ 1 callersMethodsoftmax_cross_entropy_loss
Compute the softmax cross entropy loss for box classification. Returns: scalar Tensor
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:233
↓ 1 callersMethodsoftmax_cross_entropy_loss
Compute the softmax cross entropy loss for box classification. Returns: scalar Tensor
fewx/modeling/fsod/fsod_fast_rcnn.py:233
↓ 1 callersMethodtest
Args: cfg (CfgNode): model (nn.Module): evaluators (list[DatasetEvaluator] or None): if None, will call
fsod_train_net.py:90
↓ 1 callersMethodtest
Args: cfg (CfgNode): model (nn.Module): evaluators (list[DatasetEvaluator] or None): if None, will call
fsod_train_net_fewx.py:90
↓ 1 callersFunctionvoc_ap
Compute VOC AP given precision and recall. If use_07_metric is true, uses the VOC 07 11-point method (default:False).
QA_FewDet/evaluation/pascal_voc_evaluation.py:188
↓ 1 callersFunctionvoc_ap
Compute VOC AP given precision and recall. If use_07_metric is true, uses the VOC 07 11-point method (default:False).
fewx/evaluation/pascal_voc_evaluation.py:188
↓ 1 callersFunctionvoc_eval
rec, prec, ap = voc_eval(detpath, annopath, imagesetfile,
QA_FewDet/evaluation/pascal_voc_evaluation.py:220
↓ 1 callersFunctionvoc_eval
rec, prec, ap = voc_eval(detpath, annopath, imagesetfile,
fewx/evaluation/pascal_voc_evaluation.py:220
Method__call__
Args: dataset_dict (dict): Metadata of one image, in Detectron2 Dataset format. Returns: dict: a format that
QA_FewDet/data/dataset_mapper_coco.py:108
Method__call__
Args: dataset_dict (dict): Metadata of one image, in Detectron2 Dataset format. Returns: dict: a format that
QA_FewDet/data/dataset_mapper_pascal_voc.py:107
Method__call__
Args: dataset_dict (dict): Metadata of one image, in Detectron2 Dataset format. Returns: dict: a format that
fewx/data/dataset_mapper_coco.py:108
Method__call__
Args: dataset_dict (dict): Metadata of one image, in Detectron2 Dataset format. Returns: dict: a format that
fewx/data/dataset_mapper_pascal_voc.py:107
Method__init__
NOTE: this interface is experimental. Args: in_channels (int): number of input feature channels. When using multiple
QA_FewDet/modeling/fsod/fsod_rpn.py:82
Method__init__
NOTE: this interface is experimental. Args: input_shape (ShapeSpec): shape of the input feature to this module
QA_FewDet/modeling/fsod/fsod_fast_rcnn.py:382
Method__init__
(self, in_features, out_features, bias=True)
QA_FewDet/modeling/fsod/gcn_module.py:19
Method__init__
(self, cfg)
QA_FewDet/modeling/fsod/fsod_rcnn.py:53
Method__init__
(self, cfg, input_shape)
QA_FewDet/modeling/fsod/fsod_roi_heads.py:60
Method__init__
(self, cfg, is_train=True)
QA_FewDet/data/dataset_mapper_coco.py:44
Method__init__
(self, cfg, is_train=True)
QA_FewDet/data/dataset_mapper_pascal_voc.py:44
Method__init__
( self, in_channels, out_channels, with_modulated_dcn=True,
QA_FewDet/layers/deform_conv.py:29
Method__init__
(self, loc_loss_type='iou')
QA_FewDet/layers/iou_loss.py:13
Method__init__
(self, num_groups, num_channels, eps=1e-5, affine=True)
QA_FewDet/layers/naive_group_norm.py:35
Method__init__
Args: dataset_name (str): name of the dataset, e.g., "voc_2007_test"
QA_FewDet/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
QA_FewDet/evaluation/coco_evaluation.py:49
Method__init__
NOTE: this interface is experimental. Args: in_channels (int): number of input feature channels. When using multiple
fewx/modeling/fsod/fsod_rpn.py:82
Method__init__
NOTE: this interface is experimental. Args: input_shape (ShapeSpec): shape of the input feature to this module
fewx/modeling/fsod/fsod_fast_rcnn.py:382
Method__init__
(self, cfg)
fewx/modeling/fsod/fsod_rcnn.py:50
Method__init__
(self, cfg, input_shape)
fewx/modeling/fsod/fsod_roi_heads.py:59
Method__init__
(self, cfg, is_train=True)
fewx/data/dataset_mapper_coco.py:44
Method__init__
(self, cfg, is_train=True)
fewx/data/dataset_mapper_pascal_voc.py:44
Method__init__
( self, in_channels, out_channels, with_modulated_dcn=True,
fewx/layers/deform_conv.py:29
Method__init__
(self, loc_loss_type='iou')
fewx/layers/iou_loss.py:13
← previousnext →101–200 of 304, ranked by callers