Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GRAP-UdL-AT/Amodal_Fruit_Sizing
/ functions
Functions
1,212 in github.com/GRAP-UdL-AT/Amodal_Fruit_Sizing
⨍
Functions
1,212
◇
Types & classes
203
Method
_load_model
(self, checkpoint)
detectron2/checkpoint/detection_checkpoint.py:47
Method
_make_array
(t: Union[torch.Tensor, np.ndarray])
detectron2/structures/masks.py:247
Method
_nan_tensor
(self, *shape)
tests/test_model_e2e.py:74
Method
_open
(self, path, mode="r", **kwargs)
detectron2/checkpoint/catalog.py:108
Method
_open
(self, path, mode="r", **kwargs)
detectron2/checkpoint/catalog.py:127
Function
_other_ops_updater
(op, input_types, output_types)
detectron2/export/shared.py:466
Function
_quantize
(x, bin_edges)
detectron2/data/build.py:157
Method
_rand_poly
()
tests/test_visualizer.py:22
Function
_rename_blob
(name, blob_sizes, blob_ranges)
detectron2/export/shared.py:504
Method
_set_tensor_mode
(self, v)
detectron2/export/c10.py:148
Method
_summarize
( ap=1, iouThr=None, areaRng='all', maxDets=100 )
detectron2/evaluation/Amodal_cocoeval.py:189
Method
_summarizeDets
()
detectron2/evaluation/Amodal_cocoeval.py:220
Method
_summarizeKps
()
detectron2/evaluation/Amodal_cocoeval.py:235
Method
_toMask
(anns, coco)
detectron2/evaluation/Amodal_cocoeval.py:48
Method
_toVisibleMask
(anns, coco)
detectron2/evaluation/Amodal_cocoeval.py:75
Method
after_step
(self)
Train_AmodalFruitSize.py:69
Method
after_step
(self)
detectron2/engine/hooks.py:70
Method
after_step
(self)
detectron2/engine/hooks.py:133
Method
after_step
(self)
detectron2/engine/hooks.py:164
Method
after_step
(self)
detectron2/engine/hooks.py:190
Method
after_step
(self)
detectron2/engine/hooks.py:229
Method
after_step
(self)
detectron2/engine/hooks.py:280
Method
after_step
(self)
detectron2/engine/hooks.py:346
Method
after_step
(self)
detectron2/engine/hooks.py:397
Method
after_train
(self)
detectron2/engine/hooks.py:58
Method
after_train
(self)
detectron2/engine/hooks.py:103
Method
after_train
(self)
detectron2/engine/hooks.py:171
Method
after_train
(self)
detectron2/engine/hooks.py:352
Function
amodal_diameter_estimation
(depth_map, predictions,focal_length)
utils/utils_diameter.py:10
Function
annotations_to_instances
Create an :class:`Instances` object used by the models, from instance annotations in the dataset dict. Args: annos (list[dict]):
detectron2/data/detection_utils.py:255
Function
annotations_to_instances_rotated
Create an :class:`Instances` object used by the models, from instance annotations in the dataset dict. Compared to `annotations_to_instan
detectron2/data/detection_utils.py:341
Method
apply_coords
(self, coords)
detectron2/data/transforms/transform.py:87
Method
apply_segmentation
(self, segmentation)
detectron2/data/transforms/transform.py:92
Function
apply_transform_gens
Apply a list of :class:`TransformGen` on the input image, and returns the transformed image and a list of transforms. We cannot simply c
detectron2/data/transforms/transform_gen.py:416
Function
autodoc_skip_member
(app, what, name, obj, skip, options)
docs/conf.py:258
Method
backward
(ctx, grad_output)
detectron2/modeling/roi_heads/cascade_rcnn.py:25
Method
backward
(ctx, grad_output)
detectron2/layers/deform_conv.py:77
Method
backward
(ctx, grad_output)
detectron2/layers/deform_conv.py:238
Method
backward
(ctx, grad_output)
detectron2/layers/batch_norm.py:158
Method
backward
(ctx, grad_output)
detectron2/layers/roi_align_rotated.py:25
Method
backward
(ctx, grad)
detectron2/layers/wrappers.py:35
Method
before_step
(self)
detectron2/engine/hooks.py:66
Method
before_step
(self)
detectron2/engine/hooks.py:129
Method
before_step
(self)
detectron2/engine/hooks.py:273
Method
before_train
(self)
detectron2/engine/hooks.py:54
Method
before_train
(self)
detectron2/engine/hooks.py:98
Method
before_train
(self)
detectron2/engine/hooks.py:187
Function
bench
()
tests/test_mask_ops.py:172
Function
bench
()
tests/test_rotated_boxes.py:572
Function
bench
()
tests/test_roi_align.py:139
Function
benchmark_data
(args)
tools/benchmark.py:43
Function
benchmark_eval
(args)
tools/benchmark.py:102
Function
benchmark_train
(args)
tools/benchmark.py:72
Method
box_dim
Returns: int: the dimension of each anchor box.
detectron2/modeling/anchor_generator.py:109
Method
box_dim
Returns: int: the dimension of each anchor box.
detectron2/modeling/anchor_generator.py:265
Function
box_iou_rotated
Interface for Python inline is needed to prevent multiple function definitions when this header is included by different cpps
detectron2/layers/csrc/box_iou_rotated/box_iou_rotated.h:20
Function
box_iou_rotated_cpu_kernel
detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.cpp:8
Function
boxplot_time
(num_images, inference_times, digit_size, text_size)
utils/statistics.py:179
Method
build_evaluator
(cls, cfg, dataset_name, output_folder=None)
Train_AmodalFruitSize.py:80
Method
build_evaluator
Returns: DatasetEvaluator or None It is not implemented by default.
detectron2/engine/defaults.py:776
Method
build_hooks
(self)
Train_AmodalFruitSize.py:85
Function
build_invisible_mask_head
Build a mask head defined by `cfg.MODEL.ROI_INVISIBLE_MASK_HEAD.NAME`.
detectron2/modeling/roi_heads/mask_invisible_head.py:179
Function
build_resnet_fpn_backbone
Args: cfg: a detectron2 CfgNode Returns: backbone (Backbone): backbone module, must be a subclass of :class:`Backbone`.
detectron2/modeling/backbone/fpn.py:202
Function
build_retinanet_resnet_fpn_backbone
Args: cfg: a detectron2 CfgNode Returns: backbone (Backbone): backbone module, must be a subclass of :class:`Backbone`.
detectron2/modeling/backbone/fpn.py:225
Method
build_test_loader
Returns: iterable It now calls :func:`detectron2.data.build_detection_test_loader`. Overwrite it if you'd like a
detectron2/engine/defaults.py:765
Function
build_transform_gen
Create a list of :class:`TransformGen` from config. Now it includes resizing and flipping. Returns: list[TransformGen]
detectron2/data/detection_utils.py:482
Function
calculate_iou
(annotations, predictions, classes_annotations, classes_predictions)
utils/statistics.py:37
Method
cat
Concatenates a list of RotatedBoxes into a single RotatedBoxes Arguments: boxes_list (list[RotatedBoxes]) Retur
detectron2/structures/rotated_boxes.py:455
Method
cat
Args: instance_lists (list[Instances]) Returns: Instances
detectron2/structures/instances.py:142
Method
cat
Concatenates a list of PolygonMasks into a single PolygonMasks Arguments: polymasks_list (list[PolygonMasks]) R
detectron2/structures/masks.py:406
Function
ceil_to_25
(x, base=25)
utils/statistics.py:28
Function
ceil_to_5
(x, base=5)
utils/statistics.py:19
Function
ceil_to_decimal
(x, base=0.1)
utils/statistics.py:8
Function
check_image_size
Raise an error if the image does not match the size specified in the dict.
detectron2/data/detection_utils.py:73
Function
cityscapes_files_to_dict
Parse cityscapes annotation files to a dict. Args: files (tuple): consists of (image_file, instance_id_file, label_id_file, json_fil
detectron2/data/datasets/cityscapes.py:117
Method
close
(self)
detectron2/utils/events.py:35
Method
close
(self)
detectron2/utils/events.py:137
Function
colormap
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a flo
detectron2/utils/colormap.py:95
Method
computeIoU
(self, imgId, catId)
detectron2/evaluation/Amodal_cocoeval.py:152
Method
computeIoU
(self, imgId, catId)
detectron2/evaluation/rotated_coco_evaluation.py:67
Function
convex_hull_graham
detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:158
Function
counts_between
(bins, counts, value)
utils/statistics.py:122
Function
counts_larger
(bins, counts, value)
utils/statistics.py:130
Function
create_keypoint_hflip_indices
Args: dataset_names (list[str]): list of dataset names Returns: ndarray[int]: a vector of size=#keypoints, storing the
detectron2/data/detection_utils.py:401
Method
crop_and_resize
Crop each mask by the given box, and resize results to (mask_size, mask_size). This can be used to prepare training targets for Mask
detectron2/structures/masks.py:354
Function
cross_2d
detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:52
Method
data_loader
()
detectron2/engine/hooks.py:413
Function
deform_conv_backward_filter
detectron2/layers/csrc/deformable/deform_conv.h:213
Function
deform_conv_backward_input
detectron2/layers/csrc/deformable/deform_conv.h:163
Function
deform_conv_forward
detectron2/layers/csrc/deformable/deform_conv.h:116
Function
detect_measure_and_eval
(predictor, dataset_dicts, confidence_scores,split,iou_thr,output_dir, focal_length)
utils/utils_eval.py:9
Method
device
(self)
detectron2/structures/image_list.py:46
Method
device
(self)
detectron2/structures/masks.py:277
Function
dot_2d
detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:47
Method
downgrade
(cls, cfg: CN)
detectron2/config/compat.py:159
Method
draw_instance_predictions
Draw instance-level prediction results on an image. Args: frame (ndarray): an RGB image of shape (H, W, C), in the range
detectron2/utils/video_visualizer.py:53
Method
draw_panoptic_seg_predictions
( self, frame, panoptic_seg, segments_info, area_threshold=None, alpha=0.5 )
detectron2/utils/video_visualizer.py:124
Method
draw_panoptic_seg_predictions
Draw panoptic prediction results on an image. Args: panoptic_seg (Tensor): of shape (height, width) where the values are
detectron2/utils/visualizer.py:417
Method
draw_sem_seg
Args: sem_seg (ndarray or Tensor): semantic segmentation of shape (H, W), each value is the integer label.
detectron2/utils/video_visualizer.py:112
Method
encode_additional_info
(self, predict_net, init_net)
detectron2/export/caffe2_modeling.py:251
← previous
next →
801–900 of 1,212, ranked by callers