MCPcopy Create free account

hub / github.com/GRAP-UdL-AT/Amodal_Fruit_Sizing / functions

Functions1,212 in github.com/GRAP-UdL-AT/Amodal_Fruit_Sizing

↓ 1 callersFunctionkeypoint_rcnn_loss
Arguments: pred_keypoint_logits (Tensor): A tensor of shape (N, K, S, S) where N is the total number of instances in the batc
detectron2/modeling/roi_heads/keypoint_head.py:29
↓ 1 callersMethodlatest
Returns: dict[name -> number]: the scalars that's added in the current iteration.
detectron2/utils/events.py:303
↓ 1 callersMethodlayers
(self, x)
detectron2/modeling/roi_heads/mask_amodal_head.py:203
↓ 1 callersMethodlayers
Neural network layers that makes predictions from input features.
detectron2/modeling/roi_heads/mask_head.py:169
↓ 1 callersMethodlayers
(self, x)
detectron2/modeling/roi_heads/mask_visible_head.py:206
↓ 1 callersMethodlist
List all registered datasets. Returns: list[str]
detectron2/data/catalog.py:65
↓ 1 callersFunctionload_dataset_dicts
(dataset_path, split)
AmodalFruitSize_val_test_evaluation.py:47
↓ 1 callersFunctionload_proposals_into_dataset
Load precomputed object proposals into the dataset. The proposal file should be a pickled dict with the following keys: - "ids": list[i
detectron2/data/build.py:103
↓ 1 callersFunctionload_voc_instances
Load Pascal VOC detection annotations to Detectron2 format. Args: dirname: Contain "Annotations", "ImageSets", "JPEGImages"
detectron2/data/datasets/pascal_voc.py:25
↓ 1 callersFunctionlog_every_n_seconds
Log no more than once per n seconds. Args: lvl (int): the logging level msg (str): n (int): name (str): name
detectron2/utils/logger.py:183
↓ 1 callersFunctionmask_rcnn_loss
Compute the mask prediction loss defined in the Mask R-CNN paper. Args: pred_mask_logits (Tensor): A tensor of shape (B, C, Hmask, Wm
detectron2/modeling/roi_heads/mask_head.py:21
↓ 1 callersFunctionmatch
(a, b)
detectron2/checkpoint/c2_model_loading.py:239
↓ 1 callersFunctionmerge_to_panoptic
Create dataset dicts for panoptic segmentation, by merging two dicts using "file_name" field to match their entries. Args: detec
detectron2/data/datasets/register_coco.py:102
↓ 1 callersFunctionmock_fastrcnn_outputs_inference
(tensor_mode, check=True)
detectron2/export/patcher.py:79
↓ 1 callersFunctionmock_keypoint_rcnn_inference
(tensor_mode, patched_module, use_heatmap_max_keypoint, check=True)
detectron2/export/patcher.py:102
↓ 1 callersFunctionmock_mask_rcnn_inference
(tensor_mode, patched_module, check=True)
detectron2/export/patcher.py:92
↓ 1 callersMethodname_scope
Yields: A context within which all the events added to this storage will be prefixed by the name scope.
detectron2/utils/events.py:364
↓ 1 callersFunctionnms_rotated_cpu
detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.cpp:61
↓ 1 callersMethodnonempty
Find boxes that are non-empty. A box is considered empty, if either of its side is no larger than threshold. Returns:
detectron2/structures/rotated_boxes.py:301
↓ 1 callersMethodoverlay_rotated_instances
Args: boxes (ndarray): an Nx5 numpy array of (x_center, y_center, width, height, angle_degrees) format
detectron2/utils/visualizer.py:657
↓ 1 callersFunctionpad_masks
Args: masks (tensor): A tensor of shape (B, M, M) representing B masks. padding (int): Number of cells to pad on all sides.
detectron2/layers/mask_ops.py:200
↓ 1 callersFunctionparse_args
()
AmodalFruitSize_val_test_evaluation.py:62
↓ 1 callersFunctionparse_args
()
Train_AmodalFruitSize.py:104
↓ 1 callersFunctionparse_args
()
AmodalFruitSize_inference.py:32
↓ 1 callersFunctionparse_args
(in_args=None)
tools/visualize_data.py:27
↓ 1 callersFunctionparse_rec
Parse a PASCAL VOC xml file.
detectron2/evaluation/pascal_voc_evaluation.py:125
↓ 1 callersFunctionpaste_mask_in_image_old
Paste a single mask in an image. This is a per-box implementation of :func:`paste_masks_in_image`. This function has larger quantization
detectron2/layers/mask_ops.py:136
↓ 1 callersFunctionpermute_all_cls_and_box_to_N_HWA_K_and_concat
Rearrange the tensor layout from the network output, i.e.: list[Tensor]: #lvl tensors of shape (N, A x K, Hi, Wi) to per-image prediction
detectron2/modeling/meta_arch/retinanet.py:35
↓ 1 callersFunctionpolygon_area
(x, y)
detectron2/structures/masks.py:15
↓ 1 callersFunctionpre_calc_for_bilinear_interpolate
detectron2/layers/csrc/ROIAlign/ROIAlign_cpu.cpp:21
↓ 1 callersFunctionpre_calc_for_bilinear_interpolate
detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:28
↓ 1 callersMethodpreprocess_image
Normalize, pad and batch the input images.
detectron2/modeling/meta_arch/retinanet.py:349
↓ 1 callersFunctionprint_instances_class_histogram
Args: dataset_dicts (list[dict]): list of dataset dicts. class_names (list[str]): list of class names (zero-indexed).
detectron2/data/build.py:164
↓ 1 callersMethodprocess
Process an input/output pair. Args: input: the input that's used to call the model. output: the return value
detectron2/evaluation/evaluator.py:31
↓ 1 callersMethodprocess
(self, input, output)
detectron2/evaluation/evaluator.py:67
↓ 1 callersMethodprocess_annotation
(self, ann, mask_side_len=28)
tests/test_mask_ops.py:99
↓ 1 callersFunctionrandom_boxes
(mean_box, stdev, N, maxsize)
tests/test_roi_align.py:117
↓ 1 callersFunctionrasterize_polygons_with_grid_sample
(full_image_bit_mask, box, mask_size, threshold=0.5)
tests/test_mask_ops.py:34
↓ 1 callersFunctionrasterize_polygons_within_box
Rasterize the polygons into a mask image and crop the mask content in the given box. The cropped mask is resized to (mask_size, mask_size
detectron2/structures/masks.py:35
↓ 1 callersFunctionread_image
Read an image into the given format. Will apply rotation and flipping if the image has such exif information. Args: file_name (s
detectron2/data/detection_utils.py:36
↓ 1 callersFunctionregister_all_cityscapes
(root="datasets")
detectron2/data/datasets/builtin.py:168
↓ 1 callersFunctionregister_all_coco
(root="datasets")
detectron2/data/datasets/builtin.py:104
↓ 1 callersFunctionregister_all_lvis
(root="datasets")
detectron2/data/datasets/builtin.py:146
↓ 1 callersFunctionregister_all_pascal_voc
(root="datasets")
detectron2/data/datasets/builtin.py:195
↓ 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
detectron2/data/datasets/register_coco.py:14
↓ 1 callersFunctionregister_coco_panoptic_separated
Register a COCO panoptic segmentation dataset named `name`. The annotations in this registered dataset will contain both instance annotations
detectron2/data/datasets/register_coco.py:41
↓ 1 callersFunctionregister_lvis_instances
Register a dataset in LVIS's json annotation format for instance detection and segmentation. Args: name (str): a name that identifie
detectron2/data/datasets/lvis.py:22
↓ 1 callersFunctionregister_pascal_voc
(name, dirname, split, year)
detectron2/data/datasets/pascal_voc.py:74
↓ 1 callersFunctionremove_dead_end_ops
remove ops if its output is not used or not in external_output
detectron2/export/shared.py:1007
↓ 1 callersFunctionremove_reshape_for_fc
In PyTorch nn.Linear has to take 2D tensor, this often leads to reshape a 4D tensor to 2D by calling .view(). However this (dynamic) resh
detectron2/export/shared.py:879
↓ 1 callersFunctionrename_op_input
Rename the op_id-th operator in predict_net, change it's input_id-th input's name to the new_name. It also does automatic re-route and ch
detectron2/export/shared.py:659
↓ 1 callersMethodreset
(self)
detectron2/evaluation/evaluator.py:63
↓ 1 callersFunctionrpn_losses
Args: gt_objectness_logits (Tensor): shape (N,), each element in {-1, 0, 1} representing ground-truth objectness labels with:
detectron2/modeling/proposal_generator/rpn_outputs.py:158
↓ 1 callersFunctionrun_and_save_graph
Run the caffe2 model on given inputs, recording the shape and draw the graph. predict_net/init_net: caffe2 model. tensor_inputs: a list
detectron2/export/caffe2_export.py:162
↓ 1 callersMethodrun_step
(self)
detectron2/engine/train_loop.py:158
↓ 1 callersMethodsave_graph
Save the graph as SVG format. Args: output_file (str): a SVG file inputs: optional inputs given to the model
detectron2/export/api.py:102
↓ 1 callersFunctionsave_graph_base
(net, file_name, graph_name="net", op_only=True, blob_rename_func=None)
detectron2/export/shared.py:525
↓ 1 callersMethodsave_protobuf
Save the model as caffe2's protobuf format. Args: output_dir (str): the output directory to save protobuf files.
detectron2/export/api.py:84
↓ 1 callersMethodscale
Scale the box with horizontal and vertical scaling factors
detectron2/structures/boxes.py:261
↓ 1 callersFunctionscale_boxes
Args: boxes (tensor): A tensor of shape (B, 4) representing B boxes with 4 coords representing the corners x0, y0, x1, y1,
detectron2/layers/mask_ops.py:218
↓ 1 callersFunctionselect_proposals_with_visible_keypoints
Args: proposals (list[Instances]): a list of N Instances, where N is the number of images. Returns: proposals: o
detectron2/modeling/roi_heads/roi_heads.py:82
↓ 1 callersMethodset
(self, name, value)
detectron2/export/c10.py:72
↓ 1 callersMethodsetDetParams
(self)
detectron2/evaluation/Amodal_cocoeval.py:264
↓ 1 callersMethodsetKpParams
(self)
detectron2/evaluation/Amodal_cocoeval.py:275
↓ 1 callersFunctionset_caffe2_compatible_tensor_mode
(model, enable=True)
detectron2/export/caffe2_modeling.py:98
↓ 1 callersMethodset_low_quality_matches_
Produce additional matches for predictions that have only low-quality matches. Specifically, for each ground-truth G find the set of
detectron2/modeling/matcher.py:102
↓ 1 callersFunctionsetup
Create configs and perform basic setups.
tools/plain_train_net.py:185
↓ 1 callersFunctionsetup
(args)
tools/visualize_data.py:18
↓ 1 callersFunctionsetup
Create configs and perform basic setups.
tools/train_net.py:113
↓ 1 callersFunctionsetup
(app)
docs/conf.py:279
↓ 1 callersFunctionsetup_cfg
(args)
tools/caffe2_converter.py:14
↓ 1 callersFunctionsetup_custom_environment
Load custom environment setup by importing a Python source file or a module, and run the setup function.
detectron2/utils/env.py:92
↓ 1 callersFunctionsetup_environment
Perform environment setup work. The default setup is a no-op, but this function allows the user to specify a Python source file or a module in
detectron2/utils/env.py:70
↓ 1 callersFunctionshort_name
(x)
detectron2/data/build.py:180
↓ 1 callersMethodsmooth_l1_loss
Compute the smooth L1 loss for box regression. Returns: scalar Tensor
detectron2/modeling/roi_heads/fast_rcnn.py:206
↓ 1 callersMethodsoftmax_cross_entropy_loss
Compute the softmax cross entropy loss for box classification. Returns: scalar Tensor
detectron2/modeling/roi_heads/fast_rcnn.py:196
↓ 1 callersFunctionsynchronize
Helper function to synchronize (barrier) among all processes when using distributed training
detectron2/utils/comm.py:67
↓ 1 callersMethodtest
Args: cfg (CfgNode): model (nn.Module): evaluators (list[DatasetEvaluator] or None): if None, will call
detectron2/engine/defaults.py:789
↓ 1 callersMethodto_heatmap
Arguments: boxes: Nx4 tensor, the boxes to draw the keypoints to Returns: heatmaps: A tensor
detectron2/structures/keypoints.py:43
↓ 1 callersMethodtrain
Run training. Returns: OrderedDict of results, if evaluation is enabled. Otherwise None.
detectron2/engine/defaults.py:376
↓ 1 callersFunctiontransform_keypoint_annotations
Transform keypoint annotations of an image. Args: keypoints (list[float]): Nx3 float in Detectron2 Dataset format. transform
detectron2/data/detection_utils.py:221
↓ 1 callersMethodupdate_stats
Update the model with precise statistics. Users can manually call this method.
detectron2/engine/hooks.py:403
↓ 1 callersMethodupgrade
(cls, cfg: CN)
detectron2/config/compat.py:204
↓ 1 callersFunctionupsample_filt
(size)
detectron2/export/shared.py:51
↓ 1 callersFunctionvalid
(anns)
detectron2/data/build.py:52
↓ 1 callersFunctionvisible_keypoints_in_image
(dic)
detectron2/data/build.py:81
↓ 1 callersFunctionvisible_mask_rcnn_inference
Convert pred_mask_logits to estimated foreground probability masks while also extracting only the masks for the predicted classes in pred_ins
detectron2/modeling/roi_heads/mask_visible_head.py:106
↓ 1 callersFunctionvisible_mask_rcnn_loss
Compute the mask prediction loss defined in the Mask R-CNN paper. Args: pred_mask_logits (Tensor): A tensor of shape (B, C, Hmask, W
detectron2/modeling/roi_heads/mask_visible_head.py:22
↓ 1 callersMethodvisualize_training
A function used to visualize images and proposals. It shows ground truth bounding boxes on the original image and up to 20 predicted
detectron2/modeling/meta_arch/rcnn.py:46
↓ 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).
detectron2/evaluation/pascal_voc_evaluation.py:147
↓ 1 callersFunctionvoc_eval
rec, prec, ap = voc_eval(detpath, annopath, imagesetfile,
detectron2/evaluation/pascal_voc_evaluation.py:179
FunctionHFlip_rotated_box
Apply the horizontal flip transform on rotated boxes. Args: rotated_boxes (ndarray): Nx5 floating point array of (x_cent
detectron2/data/transforms/transform.py:97
FunctionPYBIND11_MODULE
detectron2/layers/csrc/vision.cpp:63
FunctionROIAlignBackward
detectron2/layers/csrc/ROIAlign/ROIAlign_cpu.cpp:287
FunctionROIAlignForward
detectron2/layers/csrc/ROIAlign/ROIAlign_cpu.cpp:117
FunctionROIAlignRotatedBackward
detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:313
FunctionROIAlignRotatedForward
detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.cpp:202
FunctionROIAlignRotated_backward
detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h:74
FunctionROIAlignRotated_forward
Interface for Python
detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated.h:50
FunctionROIAlign_backward
detectron2/layers/csrc/ROIAlign/ROIAlign.h:86
← previousnext →501–600 of 1,212, ranked by callers