Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/semantic-segmentation
/ types & classes
Types & classes
99 in github.com/NVIDIA/semantic-segmentation
⨍
Functions
433
◇
Types & classes
99
↓ 20 callers
Class
Block
network/xception.py:43
↓ 12 callers
Class
AttrDict
utils/attr_dict.py:30
↓ 8 callers
Class
SeparableConv2d
network/xception.py:24
↓ 7 callers
Class
DeepV3Plus
DeepLabV3+ with various trunks supported Always stride8
network/deepv3.py:40
↓ 7 callers
Class
MscaleV3Plus
DeepLabV3Plus-based mscale segmentation model
network/mscale.py:232
↓ 5 callers
Class
ResNet
Resnet Global Module for Initialization
network/Resnet.py:136
↓ 4 callers
Class
ConvBnRelu
network/utils.py:144
↓ 3 callers
Class
ASDV3P
DeepLabV3+ with Attention-to-scale style attention Attn head: conv 3x3 512 ch relu conv 1x1 3 ch -> 1.0, 0.75, 0.5 train
network/attnscale.py:39
↓ 3 callers
Class
AverageMeter
utils/misc.py:485
↓ 3 callers
Class
DeeperS8
Panoptic DeepLab-style semantic segmentation network stride8 only
network/deeper.py:36
↓ 3 callers
Class
MscaleDeeper
Panoptic DeepLab-style semantic segmentation network stride8 only
network/mscale.py:363
↓ 3 callers
Class
OCR_block
Some of the code in this class is borrowed from: https://github.com/HRNet/HRNet-Semantic-Segmentation/tree/HRNet-OCR
network/ocrnet.py:42
↓ 3 callers
Class
ResultsPage
This creates an HTML page of embedded images, useful for showing evaluation results. Usage: ip = ImagePage(html_fn) # Add a t
utils/results_page.py:80
↓ 3 callers
Class
SEModule
Sequeeze Excitation Module
network/SEresnext.py:70
↓ 2 callers
Class
CrossEntropyLoss2d
Cross Entroply NLL Loss
loss/utils.py:121
↓ 2 callers
Class
DistributedSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distrib
datasets/sampler.py:43
↓ 2 callers
Class
GlobalAvgPool2d
Global average pooling over the input's spatial dimensions
network/wider_resnet.py:53
↓ 2 callers
Class
IdentityResidualBlock
Identity Residual Block for WideResnet
network/wider_resnet.py:67
↓ 2 callers
Class
RandomCrop
Take a random crop from the image. First the image or crop size may need to be adjusted if the incoming image is too small... If th
transforms/joint_transforms.py:73
↓ 2 callers
Class
SENet
Main Squeeze Excitation Network Module
network/SEresnext.py:194
↓ 2 callers
Class
get_resnet
network/utils.py:48
↓ 2 callers
Class
xception71
Modified Alighed Xception
network/xception.py:110
↓ 1 callers
Class
ASDV3P_Paired
DeepLabV3+ with Attention-to-scale style attention Attn head: conv 3x3 512 ch relu conv 1x1 3 ch -> 1.0, 0.75, 0.5 train
network/attnscale.py:199
↓ 1 callers
Class
ASPP
ASPP-based Mscale
network/mscale.py:479
↓ 1 callers
Class
ASPP
ASPP-based Segmentation network
network/basic.py:67
↓ 1 callers
Class
AtrousSpatialPyramidPoolingModule
operations performed: 1x1 x depth 3x3 x depth dilation 6 3x3 x depth dilation 12 3x3 x depth dilation 18 image pool
network/utils.py:162
↓ 1 callers
Class
Basic
network/mscale2.py:231
↓ 1 callers
Class
Basic
Basic segmentation network, no ASPP, no Mscale
network/basic.py:38
↓ 1 callers
Class
CenterCrop
transforms/joint_transforms.py:196
↓ 1 callers
Class
DPC
From: Searching for Efficient Multi-scale architectures for dense prediction
network/utils.py:263
↓ 1 callers
Class
DeepV3
DeepLabV3 with various trunks supported
network/deepv3.py:126
↓ 1 callers
Class
HighResolutionModule
network/hrnetv2.py:109
↓ 1 callers
Class
HighResolutionNet
network/hrnetv2.py:263
↓ 1 callers
Class
ImageBasedCrossEntropyLoss2d
Image Weighted Cross Entropy Loss
loss/utils.py:70
↓ 1 callers
Class
ImageDumper
Image dumping class You pass images/tensors from training pipeline into this object and it first converts them to images (doing tran
utils/misc.py:204
↓ 1 callers
Class
ImgWtLossSoftNLL
Relax Loss
loss/utils.py:150
↓ 1 callers
Class
MscaleBasic
network/mscale.py:450
↓ 1 callers
Class
MscaleOCR
OCR net
network/ocrnet.py:158
↓ 1 callers
Class
MscaleV3Plus
DeepLabV3Plus-based mscale segmentation model
network/mscale2.py:165
↓ 1 callers
Class
OCRNet
OCR net
network/ocrnet.py:94
↓ 1 callers
Class
ObjectAttentionBlock
The basic implementation for object context block Input: N X C X H X W Parameters: in_channels : the dimension of t
network/ocr_utils.py:49
↓ 1 callers
Class
RAdam
RAdam optimizer
loss/radam.py:11
↓ 1 callers
Class
RMILoss
region mutual information I(A, B) = H(A) + H(B) - H(A, B) This version need a lot of memory if do not dwonsample.
loss/rmi.py:33
↓ 1 callers
Class
RandAugment
datasets/randaugment.py:250
↓ 1 callers
Class
Scale
Scale image such that longer side is == size
transforms/joint_transforms.py:293
↓ 1 callers
Class
SpatialGather_Module
Aggregate the context features according to the initial predicted probability distribution. Employ the soft-weighted method t
network/ocr_utils.py:17
↓ 1 callers
Class
SpatialOCR_Module
Implementation of the OCR module: We aggregate the global object representation to update the representation for each pixel.
network/ocr_utils.py:122
↓ 1 callers
Class
wrn38
This is wider resnet 38, output_stride=8
network/wider_resnet.py:399
Class
ASPP_edge
network/utils.py:221
Class
BaseLoader
datasets/base_loader.py:45
Class
BasicBlock
network/hrnetv2.py:37
Class
BasicBlock
Basic Block for Resnet
network/Resnet.py:59
Class
Bottleneck
network/hrnetv2.py:69
Class
Bottleneck
Base class for bottlenecks that implements `forward()` method.
network/SEresnext.py:94
Class
Bottleneck
Bottleneck Layer for Resnet
network/Resnet.py:94
Class
CenterCropPad
transforms/joint_transforms.py:212
Class
ColorJitter
Randomly change the brightness, contrast and saturation of an image. Args: brightness (float): How much to jitter brightness. brightness_
transforms/transforms.py:297
Class
Compose
transforms/joint_transforms.py:37
Class
CutoutDefault
Reference : https://github.com/quark0/darts/blob/master/cnn/utils.py
datasets/randaugment.py:225
Class
DeNormalize
transforms/transforms.py:59
Class
EdgeWeightedCrossEntropyLoss2d
loss/utils.py:319
Class
FlipChannels
Flip around the x-axis
transforms/transforms.py:145
Class
FreeScale
transforms/transforms.py:136
Class
FreeScale
transforms/joint_transforms.py:284
Class
Lighting
Lighting noise(AlexNet - style PCA - based noise)
datasets/randaugment.py:204
Class
Loader
Null Dataset for Performance
datasets/nullloader.py:41
Class
Loader
datasets/cityscapes.py:105
Class
Loader
datasets/mapillary.py:43
Class
MaskToTensor
transforms/transforms.py:70
Class
MscaleBase
Multi-scale attention segmentation model base class
network/mscale2.py:44
Class
MscaleBase
Multi-scale attention segmentation model base class
network/mscale.py:41
Class
MultiChannelBCEWithLogits
loss/utils.py:234
Class
MyDataParallel
Implements data parallelism at the module level. This container parallelizes the application of the given module by splitting the input a
utils/my_data_parallel.py:107
Class
OCRNetASPP
OCR net
network/ocrnet.py:125
Class
PadImage
transforms/joint_transforms.py:251
Class
Point
Point Class For X and Y Location
datasets/uniform.py:58
Class
RandomBilateralBlur
Apply Bilateral Filtering
transforms/transforms.py:173
Class
RandomBrightness
transforms/transforms.py:165
Class
RandomGaussianBlur
Apply Gaussian Blur
transforms/transforms.py:154
Class
RandomHorizontallyFlip
transforms/joint_transforms.py:276
Class
RandomRotate
transforms/joint_transforms.py:423
Class
RandomSizeAndCrop
transforms/joint_transforms.py:433
Class
RandomSizedCrop
transforms/joint_transforms.py:389
Class
RandomVerticalFlip
transforms/transforms.py:52
Class
RelaxedBoundaryLossToTensor
Boundary Relaxation
transforms/transforms.py:74
Class
Resize
Resize image to exact size of crop
transforms/joint_transforms.py:372
Class
ResizeHeight
transforms/transforms.py:125
Class
ResizeHeight
transforms/joint_transforms.py:184
Class
SEBottleneck
Bottleneck for SENet154.
network/SEresnext.py:121
Class
SEResNeXtBottleneck
ResNeXt bottleneck type C with a Squeeze-and-Excitation module.
network/SEresnext.py:170
Class
SEResNetBottleneck
ResNet bottleneck with a Squeeze-and-Excitation module. It follows Caffe implementation and uses `stride=stride` in `conv1` and not in `conv2
network/SEresnext.py:145
Class
ScaleMin
Scale image such that shorter side is == size
transforms/joint_transforms.py:347
Class
SlidingCrop
transforms/joint_transforms.py:526
Class
SlidingCropOld
transforms/joint_transforms.py:474
Class
WiderResNet
WideResnet Global Module for Initialization
network/wider_resnet.py:190
Class
WiderResNetA2
Wider ResNet with pre-activation (identity mapping) blocks This variant uses down-sampling by max-pooling in the first two blocks and b
network/wider_resnet.py:270
Class
_ClassUniform
transforms/joint_transforms.py:579
Class
new_Scale
Scale image such that longer side is == size
transforms/joint_transforms.py:322
Class
wrn38_gscnn
network/wider_resnet.py:438