MCPcopy Create free account

hub / github.com/chenhaoxing/DiffusionInst / types & classes

Types & classes32 in github.com/chenhaoxing/DiffusionInst

↓ 3 callersClassNestedTensor
diffusioninst/util/misc.py:287
↓ 2 callersClassSmoothedValue
Track a series of values and provide access to smoothed values over a window or the global series average.
diffusioninst/util/misc.py:30
↓ 1 callersClassAsyncPredictor
A predictor that runs the model asynchronously, possibly on >1 GPUs. Because rendering the visualization takes considerably amount of time,
diffusioninst/predictor.py:137
↓ 1 callersClassBasicLayer
A basic Swin Transformer layer for one stage. Args: dim (int): Number of feature channels depth (int): Depths of this stage.
diffusioninst/swintransformer.py:321
↓ 1 callersClassDiffusionInstDatasetMapper
A callable which takes a dataset dict in Detectron2 Dataset format, and map it into a format used by DiffusionInst. The callable current
diffusioninst/dataset_mapper.py:58
↓ 1 callersClassDiffusionInstWithTTA
A DiffusionInst with test-time augmentation enabled. Its :meth:`__call__` method has the same interface as :meth:`DiffusionInst.forwa
diffusioninst/test_time_augmentation.py:27
↓ 1 callersClassDynamicConv
diffusioninst/head.py:452
↓ 1 callersClassDynamicHead
diffusioninst/head.py:99
↓ 1 callersClassEMADetectionCheckpointer
diffusioninst/util/model_ema.py:19
↓ 1 callersClassEMAHook
diffusioninst/util/model_ema.py:243
↓ 1 callersClassEMAState
diffusioninst/util/model_ema.py:43
↓ 1 callersClassEMAUpdater
Model Exponential Moving Average Keep a moving average of everything in the model state_dict (parameters and buffers). This is intended to all
diffusioninst/util/model_ema.py:119
↓ 1 callersClassHungarianMatcherDynamicK
This class computes an assignment between the targets and the predictions of the network For efficiency reasons, the targets don't include the no_
diffusioninst/loss.py:451
↓ 1 callersClassMlp
Multilayer perceptron.
diffusioninst/swintransformer.py:48
↓ 1 callersClassPatchEmbed
Image to Patch Embedding Args: patch_size (int): Patch token size. Default: 4. in_chans (int): Number of input image channels. De
diffusioninst/swintransformer.py:423
↓ 1 callersClassRCNNHead
diffusioninst/head.py:271
↓ 1 callersClassSetCriterionDynamicK
This class computes the loss for DiffusionInst. The process happens in two steps: 1) we compute hungarian assignment between ground truth
diffusioninst/loss.py:116
↓ 1 callersClassSinusoidalPositionEmbeddings
diffusioninst/head.py:59
↓ 1 callersClassSwinTransformer
Swin Transformer backbone. A PyTorch impl of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` - https:/
diffusioninst/swintransformer.py:465
↓ 1 callersClassSwinTransformerBlock
Swin Transformer Block. Args: dim (int): Number of input channels. num_heads (int): Number of attention heads. window_siz
diffusioninst/swintransformer.py:180
↓ 1 callersClassTrainer
Extension of the Trainer class adapted to DiffusionInst.
train_net.py:37
↓ 1 callersClassVisualizationDemo
diffusioninst/predictor.py:14
↓ 1 callersClassWindowAttention
Window based multi-head self attention (W-MSA) module with relative position bias. It supports both of shifted and non-shifted window. Args:
diffusioninst/swintransformer.py:99
ClassDense
A fully connected layer that reshapes outputs to feature maps.
diffusioninst/head.py:88
ClassDiffusionInst
Implement DiffusionInst
diffusioninst/detector.py:226
ClassFullModelGradientClippingOptimizer
train_net.py:143
ClassGaussianFourierProjection
Gaussian random features for encoding time steps.
diffusioninst/head.py:74
ClassLastLevelP6P7_P5
This module is used in RetinaNet to generate extra layers, P6 and P7 from C5 feature.
diffusioninst/swintransformer.py:27
ClassMetricLogger
diffusioninst/util/misc.py:162
ClassPatchMerging
Patch Merging Layer Args: dim (int): Number of input channels. norm_layer (nn.Module, optional): Normalization layer. Default: n
diffusioninst/swintransformer.py:280
Class_PredictWorker
diffusioninst/predictor.py:147
Class_StopToken
diffusioninst/predictor.py:144