MCPcopy Create free account

hub / github.com/Chen-Yang-Liu/Text2Earth / types & classes

Types & classes1,375 in github.com/Chen-Yang-Liu/Text2Earth

↓ 163 callersClassOptionalDependencyNotAvailable
An error indicating that an optional dependency of Diffusers was not found in the environment.
src/diffusers/utils/import_utils.py:755
↓ 87 callersClassVaeImageProcessor
Image processor for VAE. Args: do_resize (`bool`, *optional*, defaults to `True`): Whether to downscale the image's (hei
src/diffusers/image_processor.py:60
↓ 84 callersClassUNet2DConditionModel
src/diffusers/utils/dummy_pt_objects.py:305
↓ 77 callersClassAutoencoderKL
src/diffusers/utils/dummy_pt_objects.py:20
↓ 65 callersClassDDIMScheduler
src/diffusers/utils/dummy_pt_objects.py:828
↓ 62 callersClass_LazyModule
Module class that surfaces all objects but only performs associated imports when the objects are requested.
src/diffusers/utils/import_utils.py:759
↓ 61 callersClassResnetBlock2D
r""" A Resnet block. Parameters: in_channels (`int`): The number of channels in the input. out_channels (`int`, *optional*, d
src/diffusers/models/resnet.py:189
↓ 52 callersClassStableDiffusionPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1205
↓ 51 callersClassFrozenDict
src/diffusers/configuration_utils.py:55
↓ 42 callersClassImagePipelineOutput
Output class for image pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndarray`) List of denoised PIL images of
src/diffusers/pipelines/pipeline_utils.py:101
↓ 39 callersClassTimestepEmbedding
src/diffusers/models/embeddings.py:309
↓ 38 callersClassAttention
r""" A cross attention layer. Parameters: query_dim (`int`): The number of channels in the query. cross_attention
src/diffusers/models/attention_processor.py:43
↓ 36 callersClassPNDMScheduler
src/diffusers/utils/dummy_pt_objects.py:1098
↓ 33 callersClassStableDiffusionPipelineOutput
Output class for Stable Diffusion pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndarray`) List of denoised PIL
src/diffusers/pipelines/stable_diffusion/pipeline_output.py:11
↓ 30 callersClassAttnAddedKVProcessor
r""" Processor for performing attention-related computations with extra learnable key and value matrices for the text encoder.
src/diffusers/models/attention_processor.py:932
↓ 29 callersClassAttnProcessor
r""" Default processor for performing attention-related computations.
src/diffusers/models/attention_processor.py:756
↓ 28 callersClassCaptureLogger
Args: Context manager to capture `logging` streams logger: 'logging` logger object Returns: The captured output is availa
src/diffusers/utils/testing_utils.py:830
↓ 26 callersClassTimesteps
src/diffusers/models/embeddings.py:357
↓ 24 callersClassResConvBlock
src/diffusers/models/unets/unet_1d_blocks.py:375
↓ 24 callersClassTransformer2DModel
A 2D Transformer model for image-like data. Parameters: num_attention_heads (`int`, *optional*, defaults to 16): The number of heads
src/diffusers/models/transformers/transformer_2d.py:37
↓ 22 callersClassDownsample2D
A 2D downsampling layer with an optional convolution. Parameters: channels (`int`): number of channels in the inputs and outp
src/diffusers/models/downsampling.py:69
↓ 21 callersClassDDPMScheduler
src/diffusers/utils/dummy_pt_objects.py:858
↓ 21 callersClassUpsample2D
A 2D upsampling layer with an optional convolution. Parameters: channels (`int`): number of channels in the inputs and output
src/diffusers/models/upsampling.py:75
↓ 20 callersClassControlNetModel
A ControlNet model. Args: in_channels (`int`, defaults to 4): The number of channels in the input sample. flip_s
src/diffusers/models/controlnet.py:111
↓ 20 callersClassStableDiffusionXLImg2ImgPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1355
↓ 19 callersClassLoRALinearLayer
r""" A linear layer that is used with LoRA. Parameters: in_features (`int`): Number of input features. out_featur
src/diffusers/models/lora.py:175
↓ 17 callersClassEulerDiscreteScheduler
src/diffusers/utils/dummy_pt_objects.py:993
↓ 16 callersClassDecoderOutput
r""" Output of decoding method. Args: sample (`torch.Tensor` of shape `(batch_size, num_channels, height, width)`): The d
src/diffusers/models/autoencoders/vae.py:34
↓ 16 callersClassStableDiffusionXLPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1400
↓ 15 callersClassEvent
src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:116
↓ 15 callersClassSchedulerOutput
Base class for the output of a scheduler's `step` function. Args: prev_sample (`torch.Tensor` of shape `(batch_size, num_channels, h
src/diffusers/schedulers/scheduling_utils.py:61
↓ 15 callersClassStableDiffusionXLInpaintPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1370
↓ 15 callersClassStableDiffusionXLPipelineOutput
Output class for Stable Diffusion pipelines. Args: images (`List[PIL.Image.Image]` or `np.ndarray`) List of denoised PIL
src/diffusers/pipelines/stable_diffusion_xl/pipeline_output.py:11
↓ 14 callersClassVQModel
src/diffusers/models/vq_model.py:23
↓ 13 callersClassT2IAdapter
r""" A simple ResNet-like model that accepts images containing control signals such as keyposes and depth. The model generates multiple featur
src/diffusers/models/adapter.py:217
↓ 13 callersClassUNet2DModel
r""" A 2D UNet model that takes a noisy sample and a timestep and returns a sample shaped output. This model inherits from [`ModelMixin`]. Ch
src/diffusers/models/unets/unet_2d.py:40
↓ 12 callersClassFeedForward
r""" A feed-forward layer. Parameters: dim (`int`): The number of channels in the input. dim_out (`int`, *optional*): The num
src/diffusers/models/attention.py:608
↓ 12 callersClassMultiControlNetModel
r""" Multiple `ControlNetModel` wrapper class for Multi-ControlNet This module is a wrapper for multiple instances of the `ControlNetModel`.
src/diffusers/pipelines/controlnet/multicontrolnet.py:15
↓ 12 callersClassResnetBlockCondNorm2D
r""" A Resnet block that use normalization layer that incorporate conditioning information. Parameters: in_channels (`int`): The numb
src/diffusers/models/resnet.py:44
↓ 12 callersClassSelfAttention1d
src/diffusers/models/unets/unet_1d_blocks.py:317
↓ 11 callersClassRMSNorm
src/diffusers/models/normalization.py:213
↓ 11 callersClassStableDiffusionInpaintPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1085
↓ 11 callersClassTransformerTemporalModel
A Transformer model for video-like data. Parameters: num_attention_heads (`int`, *optional*, defaults to 16): The number of heads to
src/diffusers/models/transformers/transformer_temporal.py:41
↓ 11 callersClassVideoProcessor
r"""Simple video processor.
src/diffusers/video_processor.py:25
↓ 10 callersClassBasicTransformerBlock
r""" A basic Transformer block. Parameters: dim (`int`): The number of channels in the input and output. num_attention_heads
src/diffusers/models/attention.py:89
↓ 10 callersClassDualTransformer2DModel
Dual transformer wrapper that combines two `Transformer2DModel`s for mixed inference. Parameters: num_attention_heads (`int`, *optio
src/diffusers/models/transformers/dual_transformer_2d.py:21
↓ 10 callersClassFlaxResnetBlock2D
Flax implementation of 2D Resnet Block. Args: in_channels (`int`): Input channels out_channels (`int`):
src/diffusers/models/vae_flax.py:125
↓ 10 callersClassResnetBlockFlat
src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:1446
↓ 10 callersClassStableDiffusionXLWatermarker
src/diffusers/pipelines/stable_diffusion_xl/watermark.py:17
↓ 10 callersClassUniDiffuserPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1550
↓ 9 callersClassStableDiffusionImg2ImgPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1070
↓ 8 callersClassAudioPipelineOutput
Output class for audio pipelines. Args: audios (`np.ndarray`) List of denoised audio samples of a NumPy array of shape `
src/diffusers/pipelines/pipeline_utils.py:115
↓ 8 callersClassConsistencyModelPipeline
src/diffusers/utils/dummy_pt_objects.py:558
↓ 8 callersClassResidualTemporalBlock1D
Residual 1D block with temporal convolutions. Parameters: inp_channels (`int`): Number of input channels. out_channels (`int
src/diffusers/models/resnet.py:424
↓ 8 callersClassSDCascadeLayerNorm
src/diffusers/models/unets/unet_stable_cascade.py:31
↓ 8 callersClassSpatioTemporalResBlock
r""" A SpatioTemporal Resnet block. Parameters: in_channels (`int`): The number of channels in the input. out_channels (`int`
src/diffusers/models/resnet.py:635
↓ 8 callersClassUnCLIPScheduler
src/diffusers/utils/dummy_pt_objects.py:1188
↓ 8 callersClassWuerstchenLayerNorm
src/diffusers/pipelines/wuerstchen/modeling_wuerstchen_common.py:7
↓ 7 callersClassAttnProcessor2_0
r""" Processor for implementing scaled dot-product attention (enabled by default if you're using PyTorch 2.0).
src/diffusers/models/attention_processor.py:1350
↓ 7 callersClassAudioLDM2Pipeline
r""" Pipeline for text-to-audio generation using AudioLDM2. This model inherits from [`DiffusionPipeline`]. Check the superclass documentatio
src/diffusers/pipelines/audioldm2/pipeline_audioldm2.py:136
↓ 7 callersClassAudioLDMPipeline
r""" Pipeline for text-to-audio generation using AudioLDM. This model inherits from [`DiffusionPipeline`]. Check the superclass documentation
src/diffusers/pipelines/audioldm/pipeline_audioldm.py:52
↓ 7 callersClassMusicLDMPipeline
r""" Pipeline for text-to-audio generation using MusicLDM. This model inherits from [`DiffusionPipeline`]. Check the superclass documentation
src/diffusers/pipelines/musicldm/pipeline_musicldm.py:67
↓ 7 callersClassPriorTransformer
src/diffusers/utils/dummy_pt_objects.py:230
↓ 7 callersClassStableDiffusionPanoramaPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1175
↓ 7 callersClassStableDiffusionXLAdapterPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1280
↓ 6 callersClassAdaLayerNorm
r""" Norm layer modified to incorporate timestep embeddings. Parameters: embedding_dim (`int`): The size of each embedding vector.
src/diffusers/models/normalization.py:28
↓ 6 callersClassCustomOutput
tests/others/test_outputs.py:14
↓ 6 callersClassDDPMPipeline
src/diffusers/utils/dummy_pt_objects.py:603
↓ 6 callersClassDDPMWuerstchenScheduler
src/diffusers/utils/dummy_pt_objects.py:873
↓ 6 callersClassDiagonalGaussianDistribution
src/diffusers/models/autoencoders/vae.py:767
↓ 6 callersClassEventRange
src/diffusers/pipelines/deprecated/spectrogram_diffusion/midi_utils.py:109
↓ 6 callersClassIFPipelineOutput
Args: Output class for Stable Diffusion pipelines. images (`List[PIL.Image.Image]` or `np.ndarray`) List of denoised PIL
src/diffusers/pipelines/deepfloyd_if/pipeline_output.py:11
↓ 6 callersClassKandinskyPriorPipelineOutput
Output class for KandinskyPriorPipeline. Args: image_embeds (`torch.Tensor`) clip image embeddings for text prompt
src/diffusers/pipelines/kandinsky/pipeline_kandinsky_prior.py:113
↓ 6 callersClassLinearMultiDim
src/diffusers/pipelines/deprecated/versatile_diffusion/modeling_text_unet.py:1427
↓ 6 callersClassSampleObject
tests/others/test_config.py:32
↓ 6 callersClassStableDiffusionAdapterPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:905
↓ 6 callersClassT5LayerNorm
r""" T5 style layer normalization module. Args: hidden_size (`int`): Size of the input hidden states. eps (`float
src/diffusers/models/transformers/t5_film_transformer.py:372
↓ 6 callersClassTemporalConvLayer
Temporal convolutional layer that can be used for video (sequence of images) input Code mostly copied from: https://github.com/modelscope/mod
src/diffusers/models/resnet.py:471
↓ 6 callersClassTransformer2DModel
src/diffusers/utils/dummy_pt_objects.py:275
↓ 6 callersClassUNetMidBlock2D
A 2D UNet mid-block [`UNetMidBlock2D`] with multiple residual blocks and optional attention blocks. Args: in_channels (`int`): The n
src/diffusers/models/unets/unet_2d_blocks.py:589
↓ 6 callersClassUNetMidBlock2DCrossAttn
src/diffusers/models/unets/unet_2d_blocks.py:744
↓ 5 callersClassAdapterBlock
r""" An AdapterBlock is a helper model that contains multiple ResNet-like blocks. It is used in the `FullAdapter` and `FullAdapterXL` models.
src/diffusers/models/adapter.py:391
↓ 5 callersClassCMStochasticIterativeScheduler
src/diffusers/utils/dummy_pt_objects.py:783
↓ 5 callersClassDPMSolverMultistepScheduler
src/diffusers/utils/dummy_pt_objects.py:918
↓ 5 callersClassDownsample1D
A 1D downsampling layer with an optional convolution. Parameters: channels (`int`): number of channels in the inputs and outp
src/diffusers/models/downsampling.py:26
↓ 5 callersClassEncoder
r""" The `Encoder` layer of a variational autoencoder that encodes its input into a latent representation. Args: in_channels (`int`,
src/diffusers/models/autoencoders/vae.py:47
↓ 5 callersClassMotionAdapter
src/diffusers/utils/dummy_pt_objects.py:185
↓ 5 callersClassMultiAdapter
r""" MultiAdapter is a wrapper model that contains multiple adapter models and merges their outputs according to user-assigned weighting.
src/diffusers/models/adapter.py:28
↓ 5 callersClassSpatialNorm
Spatially conditioned normalization as defined in https://arxiv.org/abs/2209.09002. Args: f_channels (`int`): The number
src/diffusers/models/attention_processor.py:2047
↓ 5 callersClassStableDiffusionInstructPix2PixPipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1115
↓ 5 callersClassStableDiffusionUpscalePipeline
src/diffusers/utils/dummy_torch_and_transformers_objects.py:1265
↓ 5 callersClassTransformer2DModelOutput
src/diffusers/models/transformers/transformer_2d.py:32
↓ 4 callersClassAdaGroupNorm
r""" GroupNorm layer modified to incorporate timestep embeddings. Parameters: embedding_dim (`int`): The size of each embedding vecto
src/diffusers/models/normalization.py:115
↓ 4 callersClassAdaLayerNormContinuous
src/diffusers/models/normalization.py:153
↓ 4 callersClassAttnAddedKVProcessor2_0
r""" Processor for performing scaled dot-product attention (enabled by default if you're using PyTorch 2.0), with extra learnable key and valu
src/diffusers/models/attention_processor.py:999
↓ 4 callersClassAutoencoderKLOutput
Output of AutoencoderKL encoding method. Args: latent_dist (`DiagonalGaussianDistribution`): Encoded outputs of `Encoder
src/diffusers/models/modeling_outputs.py:7
↓ 4 callersClassAutoencoderTiny
src/diffusers/utils/dummy_pt_objects.py:50
↓ 4 callersClassCustomDiffusionAttnProcessor
r""" Processor for implementing attention for the Custom Diffusion method. Args: train_kv (`bool`, defaults to `True`): W
src/diffusers/models/attention_processor.py:828
↓ 4 callersClassFP32LayerNorm
src/diffusers/models/transformers/hunyuan_transformer_2d.py:38
↓ 4 callersClassFlaxStableDiffusionPipelineOutput
Output class for Flax-based Stable Diffusion pipelines. Args: images (`np.ndarray`): Denoised images of
src/diffusers/pipelines/stable_diffusion/pipeline_output.py:32
next →1–100 of 1,375, ranked by callers