MCPcopy Create free account

hub / github.com/cjrd/self-supervised-pretraining / types & classes

Types & classes424 in github.com/cjrd/self-supervised-pretraining

↓ 51 callersClassBoxes
This structure stores a list of boxes as a Nx4 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonempty`, etc
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/boxes.py:133
↓ 51 callersClassConv2d
A wrapper around :class:`torch.nn.Conv2d` to support empty inputs and more features.
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/wrappers.py:42
↓ 39 callersClassInstances
This class represents a list of instances in an image. It stores the attributes of instances (e.g., boxes, masks, labels, scores) as "fields"
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/instances.py:7
↓ 38 callersClassRotatedBoxes
This structure stores a list of rotated boxes as a Nx5 torch.Tensor. It supports some common methods about boxes (`area`, `clip`, `nonemp
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/rotated_boxes.py:11
↓ 28 callersClassShapeSpec
A simple structure that contains basic shape specification about a tensor. It is often used as the auxiliary inputs/outputs of models, to
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/shape_spec.py:6
↓ 26 callersClassVisualizer
Visualizer that draws data about detection/segmentation on images. It contains methods like `draw_{text,box,circle,line,binary_mask,polygon}
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/visualizer.py:312
↓ 25 callersClassRegistry
OpenSelfSup/openselfsup/utils/registry.py:7
↓ 19 callersClassDetectionCheckpointer
Same as :class:`Checkpointer`, but is able to handle models in detectron & detectron2 model zoo, and apply conversions for legacy models.
OpenSelfSup/benchmarks/detection/detection/detectron2/checkpoint/detection_checkpoint.py:11
↓ 14 callersClassBitMasks
This class stores the segmentation masks for all objects in one image, in the form of bitmaps. Attributes: tensor: bool Tensor o
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/masks.py:84
↓ 12 callersClassConvTranspose2d
A wrapper around :class:`torch.nn.ConvTranspose2d` to support zero-size tensor.
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/wrappers.py:116
↓ 12 callersClassEventStorage
The user-facing class that provides metric storage functionalities. In the future we may add support for storing / logging other types of da
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/events.py:262
↓ 12 callersClassImageList
Structure that holds a list of images (of possibly varying sizes) as a single tensor. This works by padding the images to the same size,
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/image_list.py:9
↓ 11 callersClassROIPooler
Region of interest feature map pooler that supports pooling from one or more feature maps.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/poolers.py:98
↓ 9 callersClassBox2BoxTransform
The box-to-box transform defined in R-CNN. The transformation is parameterized by 4 deltas: (dx, dy, dw, dh). The transformation scales the b
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/box_regression.py:16
↓ 9 callersClassCOCOEvaluator
Evaluate AR for object proposals, AP for instance detection/segmentation, AP for keypoint detection outputs using COCO's metrics. See htt
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/coco_evaluation.py:29
↓ 7 callersClassDatasetEvaluators
Wrapper class to combine multiple :class:`DatasetEvaluator` instances. This class dispatches every evaluation call to all of its :class:
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/evaluator.py:64
↓ 7 callersClassROIAlign
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/roi_align.py:63
↓ 7 callersClass_TestClassD
OpenSelfSup/benchmarks/detection/detection/tests/test_config.py:133
↓ 7 callersClassf
OpenSelfSup/benchmarks/detection/detection/tests/structures/test_instances.py:27
↓ 6 callersClassMatcher
This class assigns to each predicted "element" (e.g., a box) a ground-truth element. Each predicted element will have exactly zero or one mat
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/matcher.py:8
↓ 6 callersClass_TestClassA
OpenSelfSup/benchmarks/detection/detection/tests/test_config.py:63
↓ 6 callersClass_TestClassB
OpenSelfSup/benchmarks/detection/detection/tests/test_config.py:80
↓ 6 callersClass_TestClassC
OpenSelfSup/benchmarks/detection/detection/tests/test_config.py:124
↓ 5 callersClassCityscapesSemSegEvaluator
Evaluate semantic segmentation results on cityscapes dataset using cityscapes API. Note: * It does not work in multi-machine distrib
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/cityscapes_evaluation.py:129
↓ 5 callersClassFastRCNNOutputLayers
Two linear layers for predicting Fast R-CNN outputs: 1. proposal-to-detection box regression deltas 2. classification scores
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/roi_heads/fast_rcnn.py:349
↓ 5 callersClassJSONWriter
Write scalars to a json file. It saves scalars as one json per line (instead of a big json) for easy parsing. Examples parsing such a j
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/events.py:48
↓ 5 callersClassPolygonMasks
This class stores the segmentation masks for all objects in one image, in the form of polygons. Attributes: polygons: list[list[ndar
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/masks.py:239
↓ 4 callersClassAverageMeter
Computes and stores the average and current value
utils/simclr-converter/eval.py:120
↓ 4 callersClassBox2BoxTransformRotated
The box-to-box transform defined in Rotated R-CNN. The transformation is parameterized by 5 deltas: (dx, dy, dw, dh, da). The transformation
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/box_regression.py:114
↓ 4 callersClassCityscapesInstanceEvaluator
Evaluate instance segmentation results on cityscapes dataset using cityscapes API. Note: * It does not work in multi-machine distrib
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/cityscapes_evaluation.py:47
↓ 4 callersClassCommonMetricPrinter
Print **common** metrics to the terminal, including iteration time, ETA, memory, all losses, and the learning rate. It also applies smoot
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/events.py:179
↓ 4 callersClassROIAlignRotated
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/roi_align_rotated.py:49
↓ 4 callersClassScopedWS
OpenSelfSup/benchmarks/detection/detection/detectron2/export/shared.py:129
↓ 4 callersClassSemSegEvaluator
Evaluate semantic segmentation metrics.
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/sem_seg_evaluation.py:19
↓ 4 callersClassSwapAlign2Nat
The op `SwapAlign2Nat` described in https://arxiv.org/abs/1903.12174. Given an input tensor that predicts masks of shape (N, C=VxU, H
OpenSelfSup/benchmarks/detection/detection/projects/TensorMask/tensormask/layers/swap_align2nat.py:32
↓ 3 callersClassASPPConv
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/roi_heads/deeplab.py:81
↓ 3 callersClassBasicStem
The standard ResNet stem (layers before the first residual block).
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/backbone/resnet.py:331
↓ 3 callersClassCOCOPanopticEvaluator
Evaluate Panoptic Quality metrics on COCO using PanopticAPI. It saves panoptic segmentation prediction in `output_dir` It contains a syn
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/panoptic_evaluation.py:23
↓ 3 callersClassCaffe2Tracer
Make a detectron2 model traceable with caffe2 style. An original detectron2 model may not be traceable, or cannot be deployed directly a
OpenSelfSup/benchmarks/detection/detection/detectron2/export/api.py:43
↓ 3 callersClassCompoundExtractor
Extracts data for CompoundVisualizer
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/vis/extractor.py:98
↓ 3 callersClassDeepLabCE
Hard pixel mining with cross entropy loss, for semantic segmentation. This is used in TensorFlow DeepLab frameworks. Paper: DeeperLab: Si
OpenSelfSup/benchmarks/detection/detection/projects/DeepLab/deeplab/loss.py:6
↓ 3 callersClassDefaultPredictor
Create a simple end-to-end predictor with the given config that runs on single device for a single input image. Compared to using the mo
OpenSelfSup/benchmarks/detection/detection/detectron2/engine/defaults.py:160
↓ 3 callersClassDensePoseChartPredictorOutput
Predictor output that contains segmentation and inner coordinates predictions for predefined body parts: * coarse segmentation, a tensor
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/structures/chart.py:9
↓ 3 callersClassDensePoseCocoEval
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/densepose_coco_evaluation.py:53
↓ 3 callersClassGenericMask
Attribute: polygons (list[ndarray]): list[ndarray]: polygons for this mask. Each ndarray has format [x, y, x, y, ...]
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/visualizer.py:59
↓ 3 callersClassKeypoints
Stores keypoint **annotation** data. GT Instances have a `gt_keypoints` property containing the x,y location and visibility flag of each keyp
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/keypoints.py:9
↓ 3 callersClassLVISEvaluator
Evaluate object proposal and instance detection/segmentation outputs using LVIS's metrics and evaluation API.
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/lvis_evaluation.py:21
↓ 3 callersClassLinear
A wrapper around :class:`torch.nn.Linear` to support empty inputs and more features. Because of https://github.com/pytorch/pytorch/is
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/wrappers.py:169
↓ 3 callersClassMatrixVisualizer
Base visualizer for matrix data
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/vis/base.py:11
↓ 3 callersClassPascalVOCDetectionEvaluator
Evaluate Pascal VOC style AP for Pascal VOC dataset. It contains a synchronization, therefore has to be called from all ranks. Note that
OpenSelfSup/benchmarks/detection/detection/detectron2/evaluation/pascal_voc_evaluation.py:20
↓ 3 callersClassPoint
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_utils.h:27
↓ 3 callersClassResNet
Implement :paper:`ResNet`.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/backbone/resnet.py:362
↓ 3 callersClassResNet
utils/simclr-converter/resnet_wider.py:101
↓ 3 callersClassSimpleTrainer
A simple trainer for the most common type of task: single-cost single-optimizer single-data-source iterative optimization. It assumes tha
OpenSelfSup/benchmarks/detection/detection/detectron2/engine/train_loop.py:179
↓ 3 callersClassSobel
Sobel layer.
OpenSelfSup/openselfsup/models/utils/sobel.py:5
↓ 2 callersClassASPP
Atrous Spatial Pyramid Pooling (ASPP).
OpenSelfSup/benchmarks/detection/detection/detectron2/layers/aspp.py:12
↓ 2 callersClassBufferList
Similar to nn.ParameterList, but for buffers
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/anchor_generator.py:20
↓ 2 callersClassCaffe2Boxes
Representing a list of detectron2.structures.Boxes from minibatch, each box is represented by a 5d vector (batch index + 4 coordinates), or a
OpenSelfSup/benchmarks/detection/detection/detectron2/export/c10.py:22
↓ 2 callersClassCaffe2Model
A wrapper around the traced model in caffe2's pb format. Examples: :: model = Caffe2Model.load_protobuf("dir/with/pb/files")
OpenSelfSup/benchmarks/detection/detection/detectron2/export/api.py:187
↓ 2 callersClassCompoundVisualizer
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/vis/base.py:174
↓ 2 callersClassConcatDataset
A wrapper of concatenated dataset. Same as :obj:`torch.utils.data.dataset.ConcatDataset`, but concat the group flag for image aspect ratio.
OpenSelfSup/openselfsup/datasets/dataset_wrappers.py:8
↓ 2 callersClassDefaultAnchorGenerator
Compute anchors in the standard ways described in "Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks".
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/anchor_generator.py:80
↓ 2 callersClassDensePoseChartResultQuantized
DensePose results for chart-based methods represented by labels and quantized inner coordinates (U, V) of individual charts. Each chart is a
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/structures/chart_result.py:27
↓ 2 callersClassFPN
This module implements :paper:`FPN`. It creates pyramid features built on top of some input feature maps.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/backbone/fpn.py:16
↓ 2 callersClassInstancesList
Tensor representation of a list of Instances object for a batch of images. When dealing with a batch of images with Caffe2 ops, a list of bb
OpenSelfSup/benchmarks/detection/detection/detectron2/export/c10.py:38
↓ 2 callersClassMcLoader
OpenSelfSup/openselfsup/datasets/data_sources/utils.py:14
↓ 2 callersClassMultiPooling
Pooling layers for features from multiple depth.
OpenSelfSup/openselfsup/models/utils/multi_pooling.py:4
↓ 2 callersClassROIHeadsPatcher
OpenSelfSup/benchmarks/detection/detection/detectron2/export/caffe2_patch.py:114
↓ 2 callersClassRPN
Region Proposal Network, introduced by :paper:`Faster R-CNN`.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/proposal_generator/rpn.py:143
↓ 2 callersClassRectangleVisualizer
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/vis/base.py:77
↓ 2 callersClassRotatedFastRCNNOutputLayers
Two linear layers for predicting Rotated Fast R-CNN outputs.
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/roi_heads/rotated_fast_rcnn.py:134
↓ 2 callersClassSimpleModel
OpenSelfSup/benchmarks/detection/detection/tests/test_engine.py:16
↓ 2 callersClassTensorToImageList
OpenSelfSup/benchmarks/detection/detection/tests/structures/test_imagelist.py:13
↓ 2 callersClassTensorboardXWriter
Write all scalars to a tensorboard file.
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/events.py:129
↓ 2 callersClassWrapModel
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/analysis.py:134
↓ 2 callersClass_DetectedInstance
Used to store data about detected objects in video frame, in order to transfer color to objects in the future frames. Attributes:
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/video_visualizer.py:15
↓ 2 callersClass_LegacySubClass
OpenSelfSup/benchmarks/detection/detection/tests/test_config.py:96
↓ 2 callersClass_LegacySubClassNotCfg
OpenSelfSup/benchmarks/detection/detection/tests/test_config.py:115
↓ 2 callersClass_NewSubClassNewInit
OpenSelfSup/benchmarks/detection/detection/tests/test_config.py:105
↓ 2 callersClass_PanopticPrediction
OpenSelfSup/benchmarks/detection/detection/detectron2/utils/visualizer.py:152
↓ 2 callersClassg
OpenSelfSup/benchmarks/detection/detection/tests/structures/test_instances.py:33
↓ 2 callersClassg2
OpenSelfSup/benchmarks/detection/detection/tests/structures/test_instances.py:38
↓ 1 callersClassASPP
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/roi_heads/deeplab.py:108
↓ 1 callersClassASPPPooling
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/roi_heads/deeplab.py:93
↓ 1 callersClassAliasMethod
The alias method for sampling. From: https://hips.seas.harvard.edu/blog/2013/03/03/the-alias-method-efficient-sampling-with-many-discrete-outcome
OpenSelfSup/openselfsup/utils/alias_multinomial.py:5
↓ 1 callersClassAllEntrySelector
Selector that accepts all entries
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/utils/dbhelper.py:17
↓ 1 callersClassAsyncPredictor
A predictor that runs the model asynchronously, possibly on >1 GPUs. Because rendering the visualization takes considerably amount of time,
OpenSelfSup/benchmarks/detection/detection/demo/predictor.py:132
↓ 1 callersClassBilinearInterpolationHelper
Args: tensors_helper (SingleTensorsHelper) j_valid (:obj: `torch.Tensor`): uint8 tensor of size M containing 0 for po
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/losses/utils.py:119
↓ 1 callersClassBoundingBoxVisualizer
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/vis/bounding_box.py:5
↓ 1 callersClassBoxMode
Enum of different ways to represent a box.
OpenSelfSup/benchmarks/detection/detection/detectron2/structures/boxes.py:13
↓ 1 callersClassCaffe2FastRCNNOutputsInference
OpenSelfSup/benchmarks/detection/detection/detectron2/export/c10.py:345
↓ 1 callersClassCaffe2KeypointRCNNInference
OpenSelfSup/benchmarks/detection/detection/detectron2/export/c10.py:483
↓ 1 callersClassCaffe2MaskRCNNInference
OpenSelfSup/benchmarks/detection/detection/detectron2/export/c10.py:471
↓ 1 callersClassCfgNode
The same as `fvcore.common.config.CfgNode`, but different in: 1. Use unsafe yaml loading by default. Note that this may lead to arbit
OpenSelfSup/benchmarks/detection/detection/detectron2/config/config.py:11
↓ 1 callersClassColorAugSSDTransform
A color related data augmentation used in Single Shot Multibox Detector (SSD). Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy,
OpenSelfSup/benchmarks/detection/detection/projects/PointRend/point_rend/color_augmentation.py:8
↓ 1 callersClassDataForMaskLoss
Contains mask GT and estimated data for proposals from multiple images:
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/losses/chart.py:16
↓ 1 callersClassDatasetMapperTTA
Implement test-time augmentation for detection data. It is a callable which takes a dataset dict from a detection dataset, and returns a
OpenSelfSup/benchmarks/detection/detection/detectron2/modeling/test_time_augmentation.py:27
↓ 1 callersClassDecoder
A semantic segmentation head described in detail in the Panoptic Feature Pyramid Networks paper (https://arxiv.org/abs/1901.02446). It takes
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/modeling/roi_heads/roi_head.py:25
↓ 1 callersClassDeepLabStem
The DeepLab ResNet stem (layers before the first residual block).
OpenSelfSup/benchmarks/detection/detection/projects/DeepLab/deeplab/resnet.py:14
↓ 1 callersClassDensePoseCOCOEvaluator
OpenSelfSup/benchmarks/detection/detection/projects/DensePose/densepose/evaluator.py:28
next →1–100 of 424, ranked by callers