MCPcopy Create free account

hub / github.com/TencentARC/Pixal3D / types & classes

Types & classes147 in github.com/TencentARC/Pixal3D

↓ 31 callersClassLayerNorm32
pixal3d/modules/norm.py:6
↓ 30 callersClassSparseTensor
Sparse tensor with support for both torchsparse and spconv backends. Parameters: - feats (torch.Tensor): Features of the sparse tens
pixal3d/modules/sparse/basic.py:343
↓ 9 callersClassMeshWithVoxel
pixal3d/representations/mesh/base.py:190
↓ 8 callersClassMultiHeadAttention
pixal3d/modules/attention/modules.py:19
↓ 8 callersClassSparseMultiHeadAttention
pixal3d/modules/sparse/attention/modules.py:27
↓ 6 callersClassMesh
pixal3d/representations/mesh/base.py:8
↓ 5 callersClassEnvMap
pixal3d/renderers/pbr_mesh_renderer.py:38
↓ 4 callersClassFeedForwardNet
pixal3d/modules/transformer/blocks.py:49
↓ 4 callersClassMeshRenderer
Renderer for the Mesh representation. Args: rendering_options (dict): Rendering options.
pixal3d/renderers/mesh_renderer.py:36
↓ 4 callersClassResBlock3d
pixal3d/models/sparse_structure_vae.py:22
↓ 4 callersClassSparseFeedForwardNet
pixal3d/modules/sparse/transformer/blocks.py:11
↓ 4 callersClassVarLenTensor
Sequential tensor with variable length. Args: feats (torch.Tensor): Features of the varlen tensor. layout (List[slice]):
pixal3d/modules/sparse/basic.py:17
↓ 4 callersClassVoxel
pixal3d/representations/voxel/voxel_model.py:5
↓ 3 callersClassBalancedResumableSampler
Distributed sampler that is resumable and balances the load among the processes. Args: dataset: Dataset used for sampling. r
pixal3d/utils/data_utils.py:156
↓ 3 callersClassDinoV3ProjFeatureExtractor
DINOv3 Feature Extractor with View-Aligned Projection. This extractor produces both: 1. Global features (CLS token + register tokens
pixal3d/trainers/flow_matching/mixins/image_conditioned_proj.py:344
↓ 3 callersClassPbrMaterial
pixal3d/representations/mesh/base.py:120
↓ 3 callersClassVoxelRenderer
Renderer for the Voxel representation. Args: rendering_options (dict): Rendering options.
pixal3d/renderers/voxel_renderer.py:7
↓ 2 callersClassAbsolutePositionEmbedder
Embeds spatial positions into vector representations.
pixal3d/modules/transformer/blocks.py:8
↓ 2 callersClassMeshWithPbrMaterial
pixal3d/representations/mesh/base.py:160
↓ 2 callersClassMultiHeadRMSNorm
pixal3d/modules/attention/modules.py:9
↓ 2 callersClassPbrMeshRenderer
Renderer for the PBR mesh. Args: rendering_options (dict): Rendering options.
pixal3d/renderers/pbr_mesh_renderer.py:211
↓ 2 callersClassProjGrid
3D Grid Projection Module. Projects a 3D grid of points to 2D image coordinates and samples features from the image feature map at
pixal3d/trainers/flow_matching/mixins/image_conditioned_proj.py:142
↓ 2 callersClassSparseLinear
pixal3d/modules/sparse/linear.py:10
↓ 2 callersClassSparseMultiHeadRMSNorm
pixal3d/modules/sparse/attention/modules.py:11
↓ 2 callersClassTexture
pixal3d/representations/mesh/base.py:101
↓ 2 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
pixal3d/models/sparse_structure_flow.py:12
↓ 1 callersClassChannelLayerNorm32
pixal3d/modules/norm.py:25
↓ 1 callersClassDinoV3VaeProjFeatureExtractor
DINOv3 + Flux VAE Feature Extractor with Gated Fusion and View-Aligned Projection. Produces three outputs for GatedProjectAttention:
pixal3d/trainers/flow_matching/mixins/image_conditioned_proj.py:611
↓ 1 callersClassDownsampleBlock3d
pixal3d/models/sparse_structure_vae.py:50
↓ 1 callersClassGatedProjectAttention
Concat-Projection Attention Module for DINOv3 (semantic) + VAE (color) features. Concatenates DINOv3 and VAE projected features and appl
pixal3d/modules/attention/proj_attention.py:51
↓ 1 callersClassGroupNorm32
A GroupNorm layer that converts to float32 before the forward pass.
pixal3d/modules/norm.py:14
↓ 1 callersClassModulatedSparseTransformerCrossBlock
Sparse Transformer cross-attention block (MSA + MCA + FFN) with adaptive layer norm conditioning. Supports two image attention modes:
pixal3d/modules/sparse/transformer/modulated.py:81
↓ 1 callersClassModulatedTransformerCrossBlock
Transformer cross-attention block (MSA + MCA + FFN) with adaptive layer norm conditioning. Supports two image attention modes: - "cr
pixal3d/modules/transformer/modulated.py:80
↓ 1 callersClassProjectAttention
Projection-based Attention Module with per-block proj_linear. Combines global cross-attention with view-aligned projected features.
pixal3d/modules/attention/proj_attention.py:17
↓ 1 callersClassResumableSampler
Distributed sampler that is resumable. Args: dataset: Dataset used for sampling. rank (int, optional): Rank of the current p
pixal3d/utils/data_utils.py:63
↓ 1 callersClassRotaryPositionEmbedder
pixal3d/modules/attention/rope.py:6
↓ 1 callersClassSparseGELU
pixal3d/modules/sparse/nonlinearity.py:23
↓ 1 callersClassSparseGatedProjectAttention
Sparse Concat-Projection Attention Module for DINOv3 + VAE features. Concatenates DINOv3 and VAE projected features and applies a single
pixal3d/modules/sparse/attention/proj_attention.py:50
↓ 1 callersClassSparseProjectAttention
Sparse Projection-based Attention Module with per-block proj_linear.
pixal3d/modules/sparse/attention/proj_attention.py:17
↓ 1 callersClassSparseRotaryPositionEmbedder
pixal3d/modules/sparse/attention/rope.py:7
↓ 1 callersClassUpsampleBlock3d
pixal3d/models/sparse_structure_vae.py:75
ClassAdaptiveGradClipper
Adaptive gradient clipping for training.
pixal3d/utils/grad_clip_utils.py:7
ClassAlphaMode
pixal3d/representations/mesh/base.py:95
ClassBasicTrainer
Trainer for basic training loop. Args: models (dict[str, nn.Module]): Models to train. dataset (torch.utils.data.Dataset
pixal3d/trainers/basic.py:31
ClassBiRefNet
pixal3d/pipelines/rembg/BiRefNet.py:8
ClassClassifierFreeGuidanceMixin
pixal3d/trainers/flow_matching/mixins/classifier_free_guidance.py:7
ClassClassifierFreeGuidanceSamplerMixin
A mixin class for samplers that apply classifier-free guidance.
pixal3d/pipelines/samplers/classifier_free_guidance_mixin.py:4
ClassDinoV2FeatureExtractor
Feature extractor for DINOv2 models.
pixal3d/modules/image_feature_extractor.py:10
ClassDinoV2FeatureExtractor
Feature extractor for DINOv2 models.
pixal3d/trainers/flow_matching/mixins/image_conditioned.py:12
ClassDinoV3FeatureExtractor
Feature extractor for DINOv3 models.
pixal3d/modules/image_feature_extractor.py:59
ClassDinoV3FeatureExtractor
Feature extractor for DINOv3 models.
pixal3d/trainers/flow_matching/mixins/image_conditioned.py:61
ClassElasticModule
Module for training with elastic memory management.
pixal3d/utils/elastic_utils.py:148
ClassElasticModuleMixin
Mixin for training with elastic memory management.
pixal3d/utils/elastic_utils.py:187
ClassElasticSLatFlowModel
SLat Flow Model with elastic memory management. Used for training with low VRAM.
pixal3d/models/structured_latent_flow.py:260
ClassFlexiDualGridDataset
Flexible Dual Grid Dataset Args: roots (str): path to the dataset resolution (int): resolution of the voxel grid
pixal3d/datasets/flexi_dual_grid.py:57
ClassFlexiDualGridVaeDecoder
pixal3d/models/sc_vaes/fdg_vae.py:53
ClassFlexiDualGridVaeEncoder
pixal3d/models/sc_vaes/fdg_vae.py:23
ClassFlexiDualGridVisMixin
pixal3d/datasets/flexi_dual_grid.py:14
ClassFlowEulerCfgSampler
Generate samples from a flow-matching model using Euler sampling with classifier-free guidance.
pixal3d/pipelines/samplers/flow_euler.py:129
ClassFlowEulerGuidanceIntervalSampler
Generate samples from a flow-matching model using Euler sampling with classifier-free guidance and interval.
pixal3d/pipelines/samplers/flow_euler.py:169
ClassFlowEulerSampler
Generate samples from a flow-matching model using Euler sampling. Args: sigma_min: The minimum scale of noise in flow.
pixal3d/pipelines/samplers/flow_euler.py:11
ClassFlowMatchingCFGTrainer
Trainer for diffusion model with flow matching objective and classifier-free guidance. Args: models (dict[str, nn.Module]): Mode
pixal3d/trainers/flow_matching/flow_matching.py:261
ClassFlowMatchingTrainer
Trainer for diffusion model with flow matching objective. Args: models (dict[str, nn.Module]): Models to train. dataset
pixal3d/trainers/flow_matching/flow_matching.py:18
ClassGuidanceIntervalSamplerMixin
A mixin class for samplers that apply classifier-free guidance with interval.
pixal3d/pipelines/samplers/guidance_interval_mixin.py:4
ClassImageConditionedFlowMatchingCFGTrainer
Trainer for image-conditioned diffusion model with flow matching objective and classifier-free guidance. Args: models (dict[str,
pixal3d/trainers/flow_matching/flow_matching.py:340
ClassImageConditionedMixin
Mixin for image-conditioned models. Args: image_cond_model: The image conditioning model.
pixal3d/trainers/flow_matching/mixins/image_conditioned.py:123
ClassImageConditionedMixin
pixal3d/datasets/components.py:151
ClassImageConditionedProjFlowMatchingCFGTrainer
Trainer for image-conditioned diffusion model with view-aligned projection. Uses ImageConditionedProjMixin for 3D-to-2D feature projecti
pixal3d/trainers/flow_matching/flow_matching.py:380
ClassImageConditionedProjMixin
Mixin for image-conditioned models with view-aligned projection. This mixin adds support for extracting view-aligned features from image
pixal3d/trainers/flow_matching/mixins/image_conditioned_proj.py:806
ClassImageConditionedProjSparseFlowMatchingCFGTrainer
Trainer for sparse image-conditioned diffusion model with view-aligned projection. Uses ImageConditionedProjMixin for 3D-to-2D feature p
pixal3d/trainers/flow_matching/sparse_flow_matching.py:355
ClassImageConditionedSLat
Image conditioned structured latent dataset
pixal3d/datasets/structured_latent.py:220
ClassImageConditionedSLatPbr
Image conditioned structured latent dataset
pixal3d/datasets/structured_latent_svpbr.py:386
ClassImageConditionedSLatShape
Image conditioned structured latent for shape generation
pixal3d/datasets/structured_latent_shape.py:213
ClassImageConditionedSparseFlowMatchingCFGTrainer
Trainer for sparse image-conditioned diffusion model with flow matching objective and classifier-free guidance. Args: models (di
pixal3d/trainers/flow_matching/sparse_flow_matching.py:275
ClassImageConditionedSparseStructureLatent
Image-conditioned sparse structure dataset
pixal3d/datasets/sparse_structure_latent.py:288
ClassLinearMemoryController
A simple controller for memory management during training. The memory usage is modeled as a linear function of: - the number of input
pixal3d/utils/elastic_utils.py:41
ClassLinearWarmupLRScheduler
pixal3d/trainers/utils.py:82
ClassMemoryController
Base class for memory management during training.
pixal3d/utils/elastic_utils.py:9
ClassModulatedSparseTransformerBlock
Sparse Transformer block (MSA + FFN) with adaptive layer norm conditioning.
pixal3d/modules/sparse/transformer/modulated.py:10
ClassModulatedTransformerBlock
Transformer block (MSA + FFN) with adaptive layer norm conditioning.
pixal3d/modules/transformer/modulated.py:9
ClassMultiImageConditionedMixin
Mixin for multiple-image-conditioned models. Args: image_cond_model: The image conditioning model.
pixal3d/trainers/flow_matching/mixins/image_conditioned.py:178
ClassMultiImageConditionedMixin
pixal3d/datasets/components.py:292
ClassMultiImageConditionedSparseFlowMatchingCFGTrainer
Trainer for sparse image-conditioned diffusion model with flow matching objective and classifier-free guidance. Args: models (di
pixal3d/trainers/flow_matching/sparse_flow_matching.py:315
ClassPbrVaeTrainer
Trainer for PBR attributes VAE Args: models (dict[str, nn.Module]): Models to train. dataset (torch.utils.data.Dataset):
pixal3d/trainers/vae/pbr_vae.py:20
ClassPipeline
A base class for pipelines.
pixal3d/pipelines/base.py:7
ClassPixal3DImageTo3DPipeline
Pipeline for inferring Pixal3D (proj mode) image-to-3D models. Based on Trellis2 pipeline, using proj mode for inference. Each stage (SS
pixal3d/pipelines/pixal3d_image_to_3d.py:13
ClassSLat
structured latent V2 dataset Args: roots (str): path to the dataset min_aesthetic_score (float): minimum aesthetic score
pixal3d/datasets/structured_latent.py:96
ClassSLatFlowModel
Structured Latent Flow Model for 3D generation. Supports two conditioning modes: - "cross": Standard cross-attention with image feat
pixal3d/models/structured_latent_flow.py:15
ClassSLatPbr
structured latent for sparse voxel pbr dataset Args: roots (str): path to the dataset latent_key (str): key of the laten
pixal3d/datasets/structured_latent_svpbr.py:237
ClassSLatPbrView
View-based structured latent for PBR/texture generation with view-aligned projection. Data format: PBR latent: {sha256}/view{
pixal3d/datasets/structured_latent_svpbr.py:393
ClassSLatPbrVisMixin
pixal3d/datasets/structured_latent_svpbr.py:18
ClassSLatShape
structured latent for shape generation Args: roots (str): path to the dataset resolution (int): resolution of the shape
pixal3d/datasets/structured_latent_shape.py:168
ClassSLatShapeView
View-based structured latent for shape generation. Data format: {sha256}/view{XX}.npz where each npz contains 'coords' and 'feats' keys.
pixal3d/datasets/structured_latent_shape.py:220
ClassSLatShapeVisMixin
pixal3d/datasets/structured_latent_shape.py:15
ClassSLatVisMixin
pixal3d/datasets/structured_latent.py:14
ClassSampler
A base class for samplers.
pixal3d/pipelines/samplers/base.py:5
ClassShapeVaeTrainer
Trainer for Shape VAE Args: models (dict[str, nn.Module]): Models to train. dataset (torch.utils.data.Dataset): Dataset.
pixal3d/trainers/vae/shape_vae.py:20
ClassSparseActivation
pixal3d/modules/sparse/nonlinearity.py:28
ClassSparseChannel2Spatial
Upsample a sparse tensor by a factor of `factor`. Implemented as rearranging its features from channel to spatial.
pixal3d/modules/sparse/spatial/spatial2channel.py:58
ClassSparseConv3d
pixal3d/modules/sparse/conv/conv.py:11
next →1–100 of 147, ranked by callers