MCPcopy Create free account

hub / github.com/FrozenBurning/SceneDreamer / types & classes

Types & classes110 in github.com/FrozenBurning/SceneDreamer

↓ 20 callersClassAttrDict
Dict as attribute trick.
imaginaire/config.py:19
↓ 14 callersClassConv2dBlock
r"""A Wrapper class that wraps ``torch.nn.Conv2d`` with normalization and nonlinearity. Args: in_channels (int): Number of channels i
imaginaire/layers/conv.py:556
↓ 14 callersClassLinearBlock
r"""A Wrapper class that wraps ``torch.nn.Linear`` with normalization and nonlinearity. Args: in_features (int): Number of channels i
imaginaire/layers/conv.py:380
↓ 10 callersClassModLinear
r"""Linear layer with affine modulation (Based on StyleGAN2 mod demod). Equivalent to affine modulation following linear, but faster when the same
imaginaire/model_utils/layers.py:184
↓ 7 callersClass_PerceptualNetwork
r"""The network that extracts features to compute the perceptual loss. Args: network (nn.Sequential) : The network that extracts features
imaginaire/losses/perceptual.py:158
↓ 5 callersClassConfig
r"""Configuration class. This should include every human specifiable hyperparameter values for your training.
imaginaire/config.py:76
↓ 3 callersClassApplyNoise
r"""Add Gaussian noise to the input tensor.
imaginaire/layers/misc.py:9
↓ 3 callersClassColorize
Class to colorize segmentation maps.
imaginaire/utils/visualization/common.py:261
↓ 3 callersClassMeter
Meter is to keep track of statistics along steps. Meters write values for purpose like printing average values. Meters can be flushed to log f
imaginaire/utils/meters.py:76
↓ 2 callersClassAffineMod
r"""Learning affine modulation of activation. Args: in_features (int): Number of input features. style_features (int): Number of
imaginaire/model_utils/layers.py:128
↓ 2 callersClassGANLoss
r"""GAN loss constructor. Args: gan_mode (str): Type of GAN loss. ``'hinge'``, ``'least_square'``, ``'non_saturated'``, ``'wa
imaginaire/losses/gan.py:31
↓ 2 callersClassGridEncoder
gridencoder/grid.py:93
↓ 2 callersClassModelAverage
r"""In this model average implementation, the spectral layers are absorbed in the model parameter by default. If such options are turned on, b
imaginaire/utils/model_average.py:35
↓ 2 callersClassReducedLabelMapper
imaginaire/model_utils/gancraft/mc_lbl_reduction.py:9
↓ 2 callersClassSPADEGenerator
r"""SPADE Image Generator constructor. Args: num_labels (int): Number of different labels. out_image_small_side_size (int): min(w
imaginaire/generators/spade.py:228
↓ 2 callersClassWrappedModel
r"""Dummy wrapping the module.
imaginaire/utils/trainer.py:192
↓ 1 callersClassAdaptiveNorm
r"""Adaptive normalization layer. The layer first normalizes the input, then performs an affine transformation using parameters computed from the
imaginaire/layers/activation_norm.py:20
↓ 1 callersClassConditionalHashGrid
imaginaire/model_utils/layers.py:25
↓ 1 callersClassDualAdaptiveNorm
imaginaire/layers/activation_norm.py:266
↓ 1 callersClassEmbedding2d
imaginaire/layers/conv.py:1370
↓ 1 callersClassFPSEDiscriminator
imaginaire/discriminators/gancraft.py:133
↓ 1 callersClassFeatureMatchingLoss
r"""Compute feature matching loss
imaginaire/losses/feature_matching.py:8
↓ 1 callersClassFlatten
imaginaire/losses/perceptual.py:361
↓ 1 callersClassFromage
r"""Fromage optimizer implementation (https://arxiv.org/abs/2002.03432)
imaginaire/optimizers/fromage.py:11
↓ 1 callersClassGauGANLoader
r"""Manages the SPADE/GauGAN model used to generate pseudo-GTs for training GANcraft. Args: gaugan_cfg (Config): SPADE configuration.
imaginaire/trainers/gancraft.py:23
↓ 1 callersClassGaussianKLLoss
r"""Compute KL loss in VAE for Gaussian distributions
imaginaire/losses/kl.py:9
↓ 1 callersClassHyperConv2d
r"""Hyper Conv2d initialization. Args: in_channels (int): Dummy parameter. out_channels (int): Dummy parameter. kernel_si
imaginaire/layers/conv.py:806
↓ 1 callersClassHyperSpatiallyAdaptiveNorm
r"""Spatially Adaptive Normalization (SPADE) initialization. Args: num_features (int) : Number of channels in the input tensor. c
imaginaire/layers/activation_norm.py:334
↓ 1 callersClassInfoNCELoss
imaginaire/losses/info_nce.py:33
↓ 1 callersClassLayerNorm2d
r"""Layer Normalization as introduced in https://arxiv.org/abs/1607.06450. This is the usual way to apply layer normalization in CNNs. Not
imaginaire/layers/activation_norm.py:425
↓ 1 callersClassLightningMLP
r""" MLP with affine modulation.
imaginaire/model_utils/layers.py:57
↓ 1 callersClassMadam
r"""MADAM optimizer implementation (https://arxiv.org/abs/2006.14560)
imaginaire/optimizers/madam.py:9
↓ 1 callersClassModulatedConv2d
imaginaire/layers/conv.py:278
↓ 1 callersClassPCGCache
r"""PCG Datasets
imaginaire/model_utils/pcg_gen.py:10
↓ 1 callersClassPCGVoxelGenerator
imaginaire/model_utils/pcg_gen.py:76
↓ 1 callersClassPerceptualLoss
r"""Perceptual loss initialization. Args: network (str) : The name of the loss network: 'vgg16' | 'vgg19'. layers (str or list of s
imaginaire/losses/perceptual.py:16
↓ 1 callersClassPixelLayerNorm
imaginaire/layers/activation_norm.py:555
↓ 1 callersClassPixelNorm
imaginaire/layers/activation_norm.py:503
↓ 1 callersClassRenderCNN
r"""CNN converting intermediate feature map to final image.
imaginaire/generators/gancraft_base.py:172
↓ 1 callersClassSKYMLP
r"""MLP converting ray directions to sky features.
imaginaire/generators/gancraft_base.py:129
↓ 1 callersClassSRTConvBlock
imaginaire/model_utils/layers.py:6
↓ 1 callersClassScaleNorm
r"""Scale normalization: "Transformers without Tears: Improving the Normalization of Self-Attention" Modified from: https://github.com/tnq
imaginaire/layers/activation_norm.py:474
↓ 1 callersClassScaledLR
imaginaire/layers/weight_norm.py:76
↓ 1 callersClassScaledLeakyReLU
imaginaire/layers/nonlinearity.py:12
↓ 1 callersClassSpatiallyAdaptiveNorm
r"""Spatially Adaptive Normalization (SPADE) initialization. Args: num_features (int) : Number of channels in the input tensor. c
imaginaire/layers/activation_norm.py:132
↓ 1 callersClassStyleEncoder
r"""Style Encode constructor. Args: style_enc_cfg (obj): Style encoder definition file.
imaginaire/generators/spade.py:511
↓ 1 callersClassStyleEncoder
r"""Style Encoder constructor. Args: style_enc_cfg (obj): Style encoder definition file.
imaginaire/generators/gancraft_base.py:228
↓ 1 callersClassVarGridEncoder
gridencoder/grid.py:158
↓ 1 callersClassWeightDemodulation
r"""Weight demodulation in "Analyzing and Improving the Image Quality of StyleGAN", Karras et al. Args: conv (torch.nn.Modules): Conv
imaginaire/layers/weight_norm.py:17
↓ 1 callersClassWrappedModel
r"""Dummy wrapping the module.
app_gradio.py:12
↓ 1 callersClassdevice
r"""Device used for nvml.
imaginaire/utils/gpu_affinity.py:22
ClassAugmentor
r"""Handles data augmentation using albumentations library.
imaginaire/utils/data.py:28
ClassBase3DGenerator
r"""Minecraft 3D generator constructor. Args: gen_cfg (obj): Generator definition part of the yaml config file. data_cfg (obj): D
imaginaire/generators/gancraft_base.py:296
ClassBaseTrainer
r"""Base trainer. We expect that all trainers inherit this class. Args: cfg (obj): Global configuration. net_G (obj): Generator n
imaginaire/trainers/base.py:25
ClassConstantInput
imaginaire/layers/misc.py:51
ClassConv1dBlock
r"""A Wrapper class that wraps ``torch.nn.Conv1d`` with normalization and nonlinearity. Args: in_channels (int): Number of channels i
imaginaire/layers/conv.py:488
ClassConv3dBlock
r"""A Wrapper class that wraps ``torch.nn.Conv3d`` with normalization and nonlinearity. Args: in_channels (int): Number of channels i
imaginaire/layers/conv.py:625
ClassDeepRes2dBlock
r"""Residual block for 2D input. Args: in_channels (int) : Number of channels in the input tensor. out_channels (int) : Number of
imaginaire/layers/residual_deep.py:265
ClassDiscriminator
r"""Multi-resolution patch discriminator. Based on FPSE discriminator but with N+1 labels. Args: dis_cfg (obj): Discriminator definition
imaginaire/discriminators/gancraft.py:16
ClassDownRes2dBlock
r"""Residual block for 2D input with downsampling. Args: in_channels (int) : Number of channels in the input tensor. out_channels
imaginaire/layers/residual.py:797
ClassEmbedding2dBlock
imaginaire/layers/conv.py:464
ClassEmbeddingBlock
imaginaire/layers/conv.py:440
ClassEvalCameraController
imaginaire/model_utils/gancraft/camctl.py:9
ClassFreqEncoder
encoding.py:5
ClassGANLoss
imaginaire/model_utils/gancraft/loss.py:10
ClassGatherLayer
imaginaire/losses/info_nce.py:15
ClassGenerator
r"""SceneDreamer generator constructor. Args: gen_cfg (obj): Generator definition part of the yaml config file. data_cfg (obj): D
imaginaire/generators/scenedreamer.py:21
ClassGenerator
r"""SPADE generator constructor. Args: gen_cfg (obj): Generator definition part of the yaml config file. data_cfg (obj): Data def
imaginaire/generators/spade.py:22
ClassHyperConv2dBlock
r"""A Wrapper class that wraps ``HyperConv2d`` with normalization and nonlinearity. Args: in_channels (int): Number of channels in th
imaginaire/layers/conv.py:733
ClassHyperRes2dBlock
r"""Hyper residual block for 2D input. Args: in_channels (int) : Number of channels in the input tensor. out_channels (int) : Num
imaginaire/layers/residual.py:667
ClassMCLabelTranslator
r"""Resolving mapping across Minecraft voxel, coco-stuff label and reduced label set.
imaginaire/model_utils/gancraft/mc_utils.py:163
ClassModulatedConv2dBlock
imaginaire/layers/conv.py:207
ClassModulatedRes2dBlock
imaginaire/layers/residual.py:265
ClassMultiOutConv2dBlock
r"""A Wrapper class that wraps ``torch.nn.Conv2d`` with normalization and nonlinearity. It can return multiple outputs, if some layers in the bloc
imaginaire/layers/conv.py:1146
ClassMultiOutRes2dBlock
r"""Residual block for 2D input. It can return multiple outputs, if some layers in the block return more than one output. Args: in_ch
imaginaire/layers/residual.py:1331
ClassNonLocal2dBlock
r"""Self attention Layer Args: in_channels (int): Number of channels in the input tensor. scale (bool, optional, default=True): I
imaginaire/layers/non_local.py:13
ClassPartialConv2d
r"""Partial 2D convolution in "Image inpainting for irregular holes using partial convolutions." Liu et al., ECCV 2018
imaginaire/layers/conv.py:1222
ClassPartialConv2dBlock
r"""A Wrapper class that wraps ``PartialConv2d`` with normalization and nonlinearity. Args: in_channels (int): Number of channels in
imaginaire/layers/conv.py:956
ClassPartialConv3d
r"""Partial 3D convolution in "Image inpainting for irregular holes using partial convolutions." Liu et al., ECCV 2018
imaginaire/layers/conv.py:1307
ClassPartialConv3dBlock
r"""A Wrapper class that wraps ``PartialConv3d`` with normalization and nonlinearity. Args: in_channels (int): Number of channels in
imaginaire/layers/conv.py:1030
ClassPartialRes2dBlock
r"""Residual block for 2D input with partial convolution. Args: in_channels (int) : Number of channels in the input tensor. out_c
imaginaire/layers/residual.py:1116
ClassPartialRes3dBlock
r"""Residual block for 3D input with partial convolution. Args: in_channels (int) : Number of channels in the input tensor. out_c
imaginaire/layers/residual.py:1200
ClassPartialSequential
r"""Sequential block for partial convolutions.
imaginaire/layers/misc.py:33
ClassPositionalEncodingFunction
imaginaire/model_utils/gancraft/voxlib/positional_encoding.py:14
ClassRenderMLP
r""" MLP with affine modulation.
imaginaire/generators/gancraft_base.py:20
ClassRes1dBlock
r"""Residual block for 1D input. Args: in_channels (int) : Number of channels in the input tensor. out_channels (int) : Number of
imaginaire/layers/residual.py:367
ClassRes2dBlock
r"""Residual block for 2D input. Args: in_channels (int) : Number of channels in the input tensor. out_channels (int) : Number of
imaginaire/layers/residual.py:448
ClassRes3dBlock
r"""Residual block for 3D input. Args: in_channels (int) : Number of channels in the input tensor. out_channels (int) : Number of
imaginaire/layers/residual.py:532
ClassResLinearBlock
r"""Residual block with full-connected layers. Args: in_channels (int) : Number of channels in the input tensor. out_channels (in
imaginaire/layers/residual.py:296
ClassSparseTrilinearWorldCoordFunction
imaginaire/model_utils/gancraft/voxlib/sp_trilinear.py:14
ClassSplitMeanStd
imaginaire/layers/activation_norm.py:508
ClassStyleMLP
r"""MLP converting style code to intermediate style representation.
imaginaire/generators/gancraft_base.py:91
ClassTourCameraController
imaginaire/model_utils/gancraft/camctl.py:334
ClassTrainer
r"""Initialize GANcraft trainer. Args: cfg (Config): Global configuration. net_G (obj): Generator network. net_D (obj): D
imaginaire/trainers/gancraft.py:68
ClassUpRes2dBlock
r"""Residual block for 2D input with downsampling. Args: in_channels (int) : Number of channels in the input tensor. out_channels
imaginaire/layers/residual.py:964
ClassViT2dBlock
r"""An abstract wrapper class that wraps a torch convolution or linear layer with normalization and nonlinearity.
imaginaire/layers/vit.py:14
ClassWeightedMSELoss
r"""Compute Weighted MSE loss
imaginaire/losses/weighted_mse.py:9
Class_BaseConvBlock
r"""An abstract wrapper class that wraps a torch convolution or linear layer with normalization and nonlinearity.
imaginaire/layers/conv.py:16
Class_BaseDeepResBlock
imaginaire/layers/residual_deep.py:13
Class_BaseDownResBlock
r"""An abstract class for residual blocks with downsampling.
imaginaire/layers/residual.py:753
next →1–100 of 110, ranked by callers