Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenhaoxing/DiffusionInst
/ types & classes
Types & classes
32 in github.com/chenhaoxing/DiffusionInst
⨍
Functions
203
◇
Types & classes
32
↓ 3 callers
Class
NestedTensor
diffusioninst/util/misc.py:287
↓ 2 callers
Class
SmoothedValue
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 callers
Class
AsyncPredictor
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 callers
Class
BasicLayer
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 callers
Class
DiffusionInstDatasetMapper
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 callers
Class
DiffusionInstWithTTA
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 callers
Class
DynamicConv
diffusioninst/head.py:452
↓ 1 callers
Class
DynamicHead
diffusioninst/head.py:99
↓ 1 callers
Class
EMADetectionCheckpointer
diffusioninst/util/model_ema.py:19
↓ 1 callers
Class
EMAHook
diffusioninst/util/model_ema.py:243
↓ 1 callers
Class
EMAState
diffusioninst/util/model_ema.py:43
↓ 1 callers
Class
EMAUpdater
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 callers
Class
HungarianMatcherDynamicK
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 callers
Class
Mlp
Multilayer perceptron.
diffusioninst/swintransformer.py:48
↓ 1 callers
Class
PatchEmbed
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 callers
Class
RCNNHead
diffusioninst/head.py:271
↓ 1 callers
Class
SetCriterionDynamicK
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 callers
Class
SinusoidalPositionEmbeddings
diffusioninst/head.py:59
↓ 1 callers
Class
SwinTransformer
Swin Transformer backbone. A PyTorch impl of : `Swin Transformer: Hierarchical Vision Transformer using Shifted Windows` - https:/
diffusioninst/swintransformer.py:465
↓ 1 callers
Class
SwinTransformerBlock
Swin Transformer Block. Args: dim (int): Number of input channels. num_heads (int): Number of attention heads. window_siz
diffusioninst/swintransformer.py:180
↓ 1 callers
Class
Trainer
Extension of the Trainer class adapted to DiffusionInst.
train_net.py:37
↓ 1 callers
Class
VisualizationDemo
diffusioninst/predictor.py:14
↓ 1 callers
Class
WindowAttention
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
Class
Dense
A fully connected layer that reshapes outputs to feature maps.
diffusioninst/head.py:88
Class
DiffusionInst
Implement DiffusionInst
diffusioninst/detector.py:226
Class
FullModelGradientClippingOptimizer
train_net.py:143
Class
GaussianFourierProjection
Gaussian random features for encoding time steps.
diffusioninst/head.py:74
Class
LastLevelP6P7_P5
This module is used in RetinaNet to generate extra layers, P6 and P7 from C5 feature.
diffusioninst/swintransformer.py:27
Class
MetricLogger
diffusioninst/util/misc.py:162
Class
PatchMerging
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