MCPcopy Create free account

hub / github.com/dbolya/yolact / types & classes

Types & classes63 in github.com/dbolya/yolact

↓ 10 callersClassConfig
Holds the configuration for anything you want it to. To get the currently active config, call get_cfg(). To use, just do cfg.x instead o
data/config.py:61
↓ 8 callersClassMovingAverage
Keeps an average window of the specified number of items.
utils/functions.py:9
↓ 4 callersClassCompose
Composes several augmentations together. Args: transforms (List[Transform]): list of transforms to compose. Example: >>> augme
utils/augmentations.py:39
↓ 4 callersClassDCNv2Pooling
external/DCNv2/dcn_v2.py:187
↓ 3 callersClassCOCODetection
`MS Coco Detection <http://mscoco.org/dataset/#detections-challenge2016>`_ Dataset. Args: root (string): Root directory where images are d
data/coco.py:52
↓ 3 callersClassYolact
██╗ ██╗ ██████╗ ██╗ █████╗ ██████╗████████╗ ╚██╗ ██╔╝██╔═══██╗██║ ██╔══██╗██╔════╝╚══██╔══╝ ╚████╔╝ ██║ ██║██║ █████
yolact.py:379
↓ 2 callersClassAPDataObject
Stores all the information necessary to calculate the AP for one IoU and one class. Note: I type annotated this because why not.
eval.py:513
↓ 2 callersClassBackboneTransform
Transforms a BRG image made of floats in the range [0, 255] to whatever input the current backbone network needs. transform is a transfo
utils/augmentations.py:566
↓ 2 callersClassBaseTransform
Transorm to be used when evaluating.
utils/augmentations.py:601
↓ 2 callersClassCOCOAnnotationTransform
Transforms a COCO annotation into a Tensor of bbox coords and label index Initilized with a dictionary lookup of classnames to indexes
data/coco.py:19
↓ 2 callersClassConvertColor
utils/augmentations.py:226
↓ 2 callersClassConvertFromInts
utils/augmentations.py:70
↓ 2 callersClassDCN
external/DCNv2/dcn_v2.py:97
↓ 2 callersClassFastBaseTransform
Transform that does all operations on the GPU for super speed. This doesn't suppport a lot of config settings and should only be used for pro
utils/augmentations.py:616
↓ 2 callersClassLogEntry
A class that allows you to navigate a dictonary using x.a.b[2].c, etc.
utils/logger.py:130
↓ 2 callersClassProgressBar
A simple progress bar that just outputs a string.
utils/functions.py:51
↓ 2 callersClassRandomContrast
utils/augmentations.py:241
↓ 2 callersClassResize
If preserve_aspect_ratio is true, this resizes to an approximate area of max_size * max_size
utils/augmentations.py:129
↓ 2 callersClassSavePath
Why is this a class? Why do I have a class for creating and parsing save paths? What am I doing with my life?
utils/functions.py:98
↓ 1 callersClassBottleneck
Adapted from torchvision.models.resnet
backbone.py:13
↓ 1 callersClassConcat
yolact.py:34
↓ 1 callersClassCustomDataParallel
A Custom Data Parallel class that properly gathers lists of dictionaries.
eval.py:630
↓ 1 callersClassCustomDataParallel
This is a custom version of DataParallel that works better with our training data. It should also be faster than the general case.
train.py:149
↓ 1 callersClassDCNPooling
external/DCNv2/dcn_v2.py:223
↓ 1 callersClassDCNv2
external/DCNv2/dcn_v2.py:57
↓ 1 callersClassDarkNetBackbone
An implementation of YOLOv3's Darnet53 in https://pjreddie.com/media/files/papers/YOLOv3.pdf This is based off of the implementation of
backbone.py:252
↓ 1 callersClassDetect
At test time, Detect is the final layer of SSD. Decode location preds, apply non-maximum suppression to location predictions based on conf sc
layers/functions/detection.py:11
↓ 1 callersClassDetections
eval.py:300
↓ 1 callersClassExpand
utils/augmentations.py:408
↓ 1 callersClassFPN
Implements a general version of the FPN introduced in https://arxiv.org/pdf/1612.03144.pdf Parameters (in cfg.fpn): - num_featur
yolact.py:265
↓ 1 callersClassFastMaskIoUNet
yolact.py:363
↓ 1 callersClassInterpolateModule
This is a module version of F.interpolate (rip nn.Upsampling). Any arguments you give it just get passed along for the ride.
layers/interpolate.py:4
↓ 1 callersClassLog
A class to log information during training per information and save it out. It also can include extra debug information like GPU usage / temp
utils/logger.py:21
↓ 1 callersClassLogVisualizer
utils/logger.py:153
↓ 1 callersClassMultiBoxLoss
SSD Weighted Loss Function Compute Targets: 1) Produce Confidence Target Indices by matching ground truth boxes with (default)
layers/modules/multibox_loss.py:10
↓ 1 callersClassNetLoss
A wrapper for running the network and computing the loss This is so we can more efficiently use DataParallel.
train.py:132
↓ 1 callersClassPad
Pads the image to the input width and height, filling the background with mean and putting the image in the top-left. Note: this expects
utils/augmentations.py:98
↓ 1 callersClassPhotometricDistort
utils/augmentations.py:504
↓ 1 callersClassPredictionModule
The (c) prediction module adapted from DSSD: https://arxiv.org/pdf/1701.06659.pdf Note that this is slightly different to the module in
yolact.py:47
↓ 1 callersClassPrepareMasks
Prepares the gt masks for use_gt_bboxes by cropping with the gt box and downsampling the resulting mask to mask_size, mask_size. This fun
utils/augmentations.py:527
↓ 1 callersClassRandomBrightness
utils/augmentations.py:256
↓ 1 callersClassRandomFlip
utils/augmentations.py:454
↓ 1 callersClassRandomHue
utils/augmentations.py:197
↓ 1 callersClassRandomLightingNoise
utils/augmentations.py:210
↓ 1 callersClassRandomMirror
utils/augmentations.py:443
↓ 1 callersClassRandomRot90
utils/augmentations.py:465
↓ 1 callersClassRandomSampleCrop
Crop Arguments: img (Image): the image being input during training boxes (Tensor): the original bounding boxes in pt form
utils/augmentations.py:279
↓ 1 callersClassRandomSaturation
utils/augmentations.py:183
↓ 1 callersClassSSDAugmentation
Transform to be used when training.
utils/augmentations.py:667
↓ 1 callersClassToAbsoluteCoords
utils/augmentations.py:76
↓ 1 callersClassToPercentCoords
utils/augmentations.py:87
ClassDarkNetBlock
Note: channels is the lesser of the two. The output will be expansion * channels.
backbone.py:235
ClassHandler
web/server.py:9
ClassLambda
Applies a lambda as a transform.
utils/augmentations.py:59
ClassResNetBackbone
Adapted from torchvision.models.resnet
backbone.py:60
ClassResNetBackboneGN
backbone.py:163
ClassSwapChannels
Transforms a tensorized image by swapping the channels in the order specified in the swap tuple. Args: swaps (int triple): final orde
utils/augmentations.py:478
ClassToCV2Image
utils/augmentations.py:269
ClassToTensor
utils/augmentations.py:274
ClassVGGBackbone
Args: - cfg: A list of layers given as lists. Layers can be either 'M' signifying a max pooling layer, a number signifyin
backbone.py:324
Class_DCNv2
external/DCNv2/dcn_v2.py:16
Class_DCNv2Pooling
external/DCNv2/dcn_v2.py:132
Classenv
A class that lets you go: with timer.env(fn_name): # (...) That automatically manages a timer start and stop for you.
utils/timer.py:114