Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baaivision/Painter
/ types & classes
Types & classes
47 in github.com/baaivision/Painter
⨍
Functions
326
◇
Types & classes
47
↳
Endpoints
2
↓ 5 callers
Class
DatasetTest
define dataset for ddp
Painter/util/ddp_utils.py:11
↓ 4 callers
Class
PairStandardTransform
Painter/data/pairdataset.py:196
↓ 3 callers
Class
COCOEvaluatorCustom
Painter/eval/coco_panoptic/COCOCAInstSegEvaluatorCustom.py:81
↓ 3 callers
Class
SemSegEvaluatorCustom
Painter/eval/coco_panoptic/COCOPanoSemSegEvaluatorCustom.py:26
↓ 2 callers
Class
Cache
SegGPT/SegGPT_inference/seggpt_engine.py:13
↓ 2 callers
Class
DatasetFromSampler
Dataset to create indexes from `Sampler`. Args: sampler: PyTorch sampler
Painter/data/sampler.py:23
↓ 2 callers
Class
MaskingGenerator
Painter/util/masking_generator.py:15
↓ 2 callers
Class
PairDataset
`MS Coco Detection <https://cocodataset.org/#detection-2016>`_ Dataset. It requires the `COCO API to be installed <https://github.com/pdollar/coc
Painter/data/pairdataset.py:22
↓ 2 callers
Class
SmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
Painter/util/misc.py:25
↓ 1 callers
Class
Attention
Multi-head Attention block with relative position embeddings.
Painter/models_painter.py:33
↓ 1 callers
Class
Attention
Multi-head Attention block with relative position embeddings.
SegGPT/SegGPT_inference/models_seggpt.py:24
↓ 1 callers
Class
Block
Transformer blocks with support of window attention and residual propagation blocks
Painter/models_painter.py:153
↓ 1 callers
Class
Block
Transformer blocks with support of window attention and residual propagation blocks
SegGPT/SegGPT_inference/models_seggpt.py:144
↓ 1 callers
Class
COCOInstanceEvaluatorCustom
Evaluate Panoptic Quality metrics on COCO using PanopticAPI. It saves panoptic segmentation prediction in `output_dir` It contains a syn
Painter/eval/coco_panoptic/COCOInstSegEvaluatorCustom.py:48
↓ 1 callers
Class
COCOPanoptic
This wrapper is for loading the panoptic style annotation file. The format is shown in the CocoPanopticDataset class. Args: annotati
Painter/data/mmdet_custom/data/coco_panoptic.py:29
↓ 1 callers
Class
COCOPanopticEvaluatorCustom
Evaluate Panoptic Quality metrics on COCO using PanopticAPI. It saves panoptic segmentation prediction in `output_dir` It contains a syn
Painter/eval/coco_panoptic/COCOPanoEvaluatorCustom.py:137
↓ 1 callers
Class
DistributedSamplerWrapper
Wrapper over `Sampler` for distributed training. Allows you to use any sampler in distributed mode. It is especially useful in conjunctio
Painter/data/sampler.py:53
↓ 1 callers
Class
LayerNorm2D
A LayerNorm variant, popularized by Transformers, that performs point-wise mean and variance normalization over the channel dimension for inp
Painter/util/vitdet_utils.py:189
↓ 1 callers
Class
LayerNorm2D
A LayerNorm variant, popularized by Transformers, that performs point-wise mean and variance normalization over the channel dimension for inp
SegGPT/SegGPT_inference/util/vitdet_utils.py:189
↓ 1 callers
Class
Painter
Masked Autoencoder with VisionTransformer backbone
Painter/models_painter.py:238
↓ 1 callers
Class
PatchEmbed
Image to Patch Embedding.
Painter/util/vitdet_utils.py:160
↓ 1 callers
Class
PatchEmbed
Image to Patch Embedding.
SegGPT/SegGPT_inference/util/vitdet_utils.py:160
↓ 1 callers
Class
ResBottleneckBlock
The standard bottleneck residual block without the last activation layer. It contains 3 conv layers with kernels 1x1, 3x3, 1x1.
Painter/models_painter.py:92
↓ 1 callers
Class
ResBottleneckBlock
The standard bottleneck residual block without the last activation layer. It contains 3 conv layers with kernels 1x1, 3x3, 1x1.
SegGPT/SegGPT_inference/models_seggpt.py:83
↓ 1 callers
Class
SegGPT
SegGPT/SegGPT_inference/models_seggpt.py:241
↓ 1 callers
Class
SemSegEvaluatorCustom
Painter/eval/ade20k_semantic/ADE20kSemSegEvaluatorCustom.py:34
Class
CocoPanopticDatasetCustom
Coco dataset for Panoptic segmentation. The annotation format is shown as follows. The `ann` field is optional for testing. .. code-bloc
Painter/data/mmdet_custom/data/coco_panoptic.py:116
Class
ColorJitter
Randomly change the brightness, contrast, saturation and hue of an image. If the image is torch Tensor, it is expected to have [..., 1 or 3, H
Painter/data/pair_transforms.py:215
Class
Compose
Composes several transforms together. This transform does not support torchscript. Please, see the note below. Args: transforms (list
Painter/data/pair_transforms.py:40
Class
GaussianBlur
Gaussian blur augmentation from SimCLR: https://arxiv.org/abs/2002.05709
Painter/data/pair_transforms.py:323
Class
LARS
LARS optimizer, no rate scaling or weight decay for parameters <= 1D.
Painter/util/lars.py:14
Class
MetricLogger
Painter/util/misc.py:87
Class
NativeScalerWithGradNormCount
Painter/util/misc.py:252
Class
Normalize
Normalize a tensor image with mean and standard deviation. This transform does not support PIL Image. Given mean: ``(mean[1],...,mean[n])`` an
Painter/data/pair_transforms.py:82
Class
RandomApply
Apply randomly a list of transformations with a given probability. .. note:: In order to script the transformation, please use ``torch.nn.
Painter/data/pair_transforms.py:189
Class
RandomErasing
Randomly selects a rectangle region in a torch.Tensor image and erases its pixels. This transform does not support PIL Image. 'Random Erasing
Painter/data/pair_transforms.py:264
Class
RandomHorizontalFlip
Horizontally flip the given image randomly with a given probability. If the image is torch Tensor, it is expected to have [..., H, W] shape, w
Painter/data/pair_transforms.py:165
Class
RandomResizedCrop
Crop a random portion of image and resize it to a given size. If the image is torch Tensor, it is expected to have [..., H, W] shape, where ..
Painter/data/pair_transforms.py:110
Class
RandomResizedCrop
RandomResizedCrop for matching TF/TPU implementation: no for-loop is used. This may lead to results different with torchvision's version.
Painter/util/crop.py:15
Class
SaveDataPairCustom
Save PanoInst Masks
Painter/data/mmdet_custom/data/pipelines/transforms.py:71
Class
ToTensor
Convert a ``PIL Image`` or ``numpy.ndarray`` to tensor. This transform does not support torchscript. Converts a PIL Image or numpy.ndarray (H x W
Painter/data/pair_transforms.py:56
Class
TopDownCocoDatasetCustom
CocoDataset dataset for top-down pose estimation. "Microsoft COCO: Common Objects in Context", ECCV'2014. More details can be found in the `p
Painter/data/mmpose_custom/data/topdown_coco_dataset.py:20
Class
TopDownCocoDatasetCustom
CocoDataset dataset for top-down pose estimation. "Microsoft COCO: Common Objects in Context", ECCV'2014. More details can be found in the `p
Painter/eval/mmpose_custom/data/topdown_coco_dataset.py:20
Class
TopDownCustom
Top-down pose detectors. Args: backbone (dict): Backbone modules to extract feature. keypoint_head (dict): Keypoint head to proce
Painter/data/mmpose_custom/model/top_down.py:34
Class
TopDownCustom
Top-down pose detectors. Args: backbone (dict): Backbone modules to extract feature. keypoint_head (dict): Keypoint head to proce
Painter/eval/mmpose_custom/model/top_down.py:34
Class
TopDownGenerateTargetCustom
Generate the target heatmap. Required key: 'joints_3d', 'joints_3d_visible', 'ann_info'. Modified key: 'target', and 'target_weight'. A
Painter/data/mmpose_custom/data/pipelines/top_down_transform.py:19
Class
TopDownGenerateTargetCustom
Generate the target heatmap. Required key: 'joints_3d', 'joints_3d_visible', 'ann_info'. Modified key: 'target', and 'target_weight'. A
Painter/eval/mmpose_custom/data/pipelines/top_down_transform.py:19