MCPcopy Create free account

hub / github.com/NVlabs/GSPN / types & classes

Types & classes105 in github.com/NVlabs/GSPN

↓ 9 callersClassPermute
classification/models/modules.py:91
↓ 8 callersClassGSPN
generation/gspn.py:300
↓ 4 callersClassFIDInceptionC
InceptionC block patched for FID computation
generation/tools/inception.py:249
↓ 4 callersClassUNet2DConditionOutput
The output of [`UNet2DConditionModel`]. Args: sample (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`):
t2i/src/tools.py:36
↓ 3 callersClassFIDInceptionA
InceptionA block patched for FID computation
generation/tools/inception.py:224
↓ 3 callersClassFIDStatistics
generation/evaluator.py:75
↓ 3 callersClassGateRecurrent2dnoind
ops/gaterecurrent/gaterecurrent2dnoind.py:113
↓ 2 callersClassCenterCropLongEdge
this code is borrowed from https://github.com/ajbrock/BigGAN-PyTorch MIT License Copyright (c) 2019 Andy Brock
t2i/src/eval/data_util.py:30
↓ 2 callersClassFinalLayer
The final layer of DiT.
generation/gspn.py:55
↓ 2 callersClassInceptionV3
Pretrained InceptionV3 network returning feature maps
generation/tools/inception.py:29
↓ 2 callersClassStackedRandomGenerator
t2i/src/eval/eval.py:34
↓ 1 callersClassBatchIterator
generation/evaluator.py:463
↓ 1 callersClassBlock
generation/gspn.py:156
↓ 1 callersClassCachedImageFolder
A generic data loader where the images are arranged in this way: :: root/dog/xxx.png root/dog/xxy.png root/dog/xxz.png
classification/data/cached_image_folder.py:209
↓ 1 callersClassCollector
r"""Collects the scalars broadcasted by `report()` and `report0()` and computes their long-term averages (mean and standard deviation) over us
t2i/src/eval/training_stats.py:112
↓ 1 callersClassCosineLRScheduler
Cosine decay with restarts. This is described in the paper https://arxiv.org/abs/1608.03983. Inspiration from https://github.com/all
classification/utils/cosine_lr.py:21
↓ 1 callersClassCustomDataset
generation/train.py:106
↓ 1 callersClassDistanceBlock
Calculate pairwise distances between vectors. Adapted from https://github.com/kynkaat/improved-precision-and-recall-metric/blob/f60f25e5ad93
generation/evaluator.py:370
↓ 1 callersClassDistriAttentionTP
t2i/src/distrifuser/modules/tp/attention.py:11
↓ 1 callersClassDistriConv2dPP
t2i/src/distrifuser/modules/pp/conv2d.py:10
↓ 1 callersClassDistriConv2dTP
t2i/src/distrifuser/modules/tp/conv2d.py:10
↓ 1 callersClassDistriCrossAttentionPP
t2i/src/distrifuser/modules/pp/attn.py:41
↓ 1 callersClassDistriFeedForwardTP
t2i/src/distrifuser/modules/tp/feed_forward.py:11
↓ 1 callersClassDistriGeneralizedLinearAttentionPP
t2i/src/distrifuser/modules/pp/attn.py:195
↓ 1 callersClassDistriGroupNorm
t2i/src/distrifuser/modules/pp/groupnorm.py:9
↓ 1 callersClassDistriResnetBlock2DTP
t2i/src/distrifuser/modules/tp/resnet.py:11
↓ 1 callersClassDistriSDXLPipeline
t2i/src/pipelines/pipeline_distrifusion_sdxl.py:25
↓ 1 callersClassDistriSelfAttentionPP
t2i/src/distrifuser/modules/pp/attn.py:105
↓ 1 callersClassDistriUNetPP
t2i/src/distrifuser/models/distri_sdxl_unet_pp.py:17
↓ 1 callersClassEvalDataset
t2i/src/eval/data_util.py:43
↓ 1 callersClassEvaluator
generation/evaluator.py:126
↓ 1 callersClassFDataset
classification/data/build.py:115
↓ 1 callersClassFIDInceptionE_1
First InceptionE block patched for FID computation
generation/tools/inception.py:277
↓ 1 callersClassFIDInceptionE_2
Second InceptionE block patched for FID computation
generation/tools/inception.py:310
↓ 1 callersClassGRN
GRN (Global Response Normalization) layer
classification/models/modules.py:177
↓ 1 callersClassGSPNFusion
t2i/src/fusion/gspnfusion.py:29
↓ 1 callersClassGSPNmodule
t2i/src/fusion/gspn.py:37
↓ 1 callersClassGaussianDiffusion
Utilities for training and sampling diffusion models. Original ported from this codebase: https://github.com/hojonathanho/diffusion/blob/
generation/diffusion/gaussian_diffusion.py:150
↓ 1 callersClassIN22KDATASET
classification/data/imagenet22k_dataset.py:18
↓ 1 callersClassImagePathDataset
generation/tools/fid_score.py:58
↓ 1 callersClassLabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
generation/gspn.py:126
↓ 1 callersClassLinear2d
generation/gspn.py:45
↓ 1 callersClassLinearLRScheduler
classification/utils/lr_scheduler.py:70
↓ 1 callersClassLossSecondMomentResampler
generation/diffusion/timestep_sampler.py:126
↓ 1 callersClassManifoldEstimator
A helper for comparing manifolds of feature vectors. Adapted from https://github.com/kynkaat/improved-precision-and-recall-metric/blob/f60f2
generation/evaluator.py:213
↓ 1 callersClassMaskGenerator
classification/data/data_simmim_pt.py:21
↓ 1 callersClassMultiStepLRScheduler
classification/utils/lr_scheduler.py:122
↓ 1 callersClassNaivePatchUNet
t2i/src/distrifuser/models/naive_patch_sdxl.py:11
↓ 1 callersClassNativeScalerWithGradNormCount
generation/train.py:128
↓ 1 callersClassNativeScalerWithGradNormCount
classification/utils/utils.py:166
↓ 1 callersClassPatchParallelismCommManager
t2i/src/distrifuser/utils.py:113
↓ 1 callersClassResumableSampler
generation/extract_features.py:108
↓ 1 callersClassSS2D
classification/models/gspn.py:172
↓ 1 callersClassSimMIMTransform
classification/data/data_simmim_pt.py:48
↓ 1 callersClassSpacedDiffusion
A diffusion process which can skip steps in a base diffusion process. :param use_timesteps: a collection (sequence or set) of timesteps from
generation/diffusion/respace.py:71
↓ 1 callersClassStreamingNpzArrayReader
generation/evaluator.py:475
↓ 1 callersClassSubsetRandomSampler
r"""Samples elements randomly from a given list of indices, without replacement. Arguments: indices (sequence): a sequence of indices
classification/data/samplers.py:11
↓ 1 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
generation/gspn.py:86
↓ 1 callersClassUniformSampler
generation/diffusion/timestep_sampler.py:68
↓ 1 callersClassVSSBlock
classification/models/gspn.py:212
↓ 1 callersClassVSSM
classification/models/gspn.py:299
↓ 1 callersClass_WrappedModel
generation/diffusion/respace.py:123
ClassBaseModel
t2i/src/distrifuser/models/base_model.py:8
ClassBaseModule
t2i/src/distrifuser/modules/base_module.py:6
ClassBiasActCuda
t2i/src/eval/ops/bias_act.py:148
ClassBiasActCudaGrad
t2i/src/eval/ops/bias_act.py:181
ClassConv2d
t2i/src/eval/ops/conv2d_gradfix.py:107
ClassConv2dGradWeight
t2i/src/eval/ops/conv2d_gradfix.py:140
ClassConvolutionalGLU
classification/models/modules.py:142
ClassDatasetFolder
A generic data loader where the samples are arranged in this way: :: root/class_x/xxx.ext root/class_x/xxy.ext root/class_x/xx
classification/data/cached_image_folder.py:71
ClassDecorator
t2i/src/eval/persistence.py:101
ClassDistriAttentionPP
t2i/src/distrifuser/modules/pp/attn.py:11
ClassDistriConfig
t2i/src/distrifuser/utils.py:24
ClassDistriUNetTP
t2i/src/distrifuser/models/distri_sdxl_unet_tp.py:17
ClassEasyDict
Convenience class that behaves like a dict but allows access with the attribute syntax.
t2i/src/eval/dnnlib/util.py:39
ClassGSPNv1
classification/models/gspn.py:39
ClassGateRecurrent2dnoindFunction
ops/gaterecurrent/gaterecurrent2dnoind.py:21
ClassInfiniteSampler
t2i/src/eval/misc.py:110
ClassInvalidFIDException
generation/evaluator.py:71
ClassLayerNorm2d
classification/models/modules.py:42
ClassLayerScale
classification/models/modules.py:191
ClassLinear2d
classification/models/modules.py:32
ClassLogger
Redirect stderr to stdout, optionally print stdout to a file, and optionally force flushing on both stdout and the file.
t2i/src/eval/dnnlib/util.py:55
ClassLossAwareSampler
generation/diffusion/timestep_sampler.py:77
ClassLossType
generation/diffusion/gaussian_diffusion.py:52
ClassMLP
classification/models/modules.py:164
ClassMLP_conv
classification/models/modules.py:206
ClassMemoryNpzArrayReader
generation/evaluator.py:501
ClassMlp
classification/models/modules.py:100
ClassModelMeanType
Which type of output the model predicts.
generation/diffusion/gaussian_diffusion.py:29
ClassModelVarType
What is used as the model's output variance. The LEARNED_RANGE option has been added to allow the model to predict values between FIXED_S
generation/diffusion/gaussian_diffusion.py:39
ClassNpzArrayReader
generation/evaluator.py:441
ClassPatchMerging2D
classification/models/modules.py:50
ClassScheduleSampler
A distribution over timesteps in the diffusion process, intended to reduce variance of the objective. By default, samplers perform unbias
generation/diffusion/timestep_sampler.py:33
ClassStableDiffusionXLHighResPipeline
r""" Pipeline for text-to-image generation using Stable Diffusion XL. This model inherits from [`DiffusionPipeline`]. Check the superclass do
t2i/src/pipelines/pipeline_highres_sdxl.py:198
ClassStableDiffusionXLSuperResPipeline
r""" Pipeline for image super-resolution using Stable Diffusion XL. This model inherits from [`DiffusionPipeline`]. Check the superclass docu
t2i/src/pipelines/pipeline_superres_sdxl.py:199
ClassUpfirdn2dCuda
t2i/src/eval/ops/upfirdn2d.py:231
ClassZipReader
A class to read zipped files
classification/data/zipreader.py:23
Class_FusedMultiplyAdd
t2i/src/eval/ops/fma.py:20
Class_GridSample2dBackward
t2i/src/eval/ops/grid_sample_gradfix.py:61
next →1–100 of 105, ranked by callers