Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebookresearch/sam-3d-objects
/ types & classes
Types & classes
121 in github.com/facebookresearch/sam-3d-objects
⨍
Functions
784
◇
Types & classes
121
↓ 25 callers
Class
LayerNorm32
sam3d_objects/model/backbone/tdfy_dit/modules/norm.py:6
↓ 9 callers
Class
PoseTarget
sam3d_objects/data/dataset/tdfy/pose_target.py:89
↓ 9 callers
Class
SparseTensor
Sparse tensor with support for both torchsparse and spconv backends. Parameters: - feats (torch.Tensor): Features of the sparse tensor.
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/basic.py:20
↓ 7 callers
Class
MultiHeadAttention
sam3d_objects/model/backbone/tdfy_dit/modules/attention/modules.py:87
↓ 6 callers
Class
InstancePose
Stores the pose of an object. Also, stores some information about the scene that was used to normalize the pose.
sam3d_objects/data/dataset/tdfy/pose_target.py:13
↓ 6 callers
Class
SparseMultiHeadAttention
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/attention/modules.py:34
↓ 5 callers
Class
FeedForwardNet
sam3d_objects/model/backbone/tdfy_dit/modules/transformer/blocks.py:59
↓ 5 callers
Class
InvariantPoseTarget
This is the canonical representation of pose targets, used for computing metrics. instance_pose <-> invariant_pose_targets <-> all other
sam3d_objects/data/dataset/tdfy/pose_target.py:100
↓ 4 callers
Class
AbsolutePositionEmbedder
Embeds spatial positions into vector representations.
sam3d_objects/model/backbone/tdfy_dit/modules/transformer/blocks.py:9
↓ 4 callers
Class
GaussianRenderer
Renderer for the Voxel representation. Args: rendering_options (dict): Rendering options.
sam3d_objects/model/backbone/tdfy_dit/renderers/gaussian_render.py:214
↓ 4 callers
Class
MultiHeadRMSNorm
sam3d_objects/model/backbone/tdfy_dit/modules/attention/modules.py:14
↓ 4 callers
Class
ResBlock3d
sam3d_objects/model/backbone/tdfy_dit/models/sparse_structure_vae.py:27
↓ 4 callers
Class
SparseFeedForwardNet
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/transformer/blocks.py:12
↓ 4 callers
Class
SparseResBlock3d
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_flow.py:15
↓ 4 callers
Class
TimestepEmbedder
Embeds scalar timesteps into vector representations.
sam3d_objects/model/backbone/tdfy_dit/models/timestep_embedder.py:7
↓ 3 callers
Class
RotaryPositionEmbedder
sam3d_objects/model/backbone/tdfy_dit/modules/attention/modules.py:24
↓ 2 callers
Class
Gaussian
sam3d_objects/model/backbone/tdfy_dit/representations/gaussian/gaussian_model.py:8
↓ 2 callers
Class
PointRemapper
Handles remapping of 3D point coordinates and their inverse transformations.
sam3d_objects/model/backbone/dit/embedder/point_remapper.py:6
↓ 2 callers
Class
SparseLinear
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/linear.py:9
↓ 2 callers
Class
SparseMultiHeadRMSNorm
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/attention/modules.py:16
↓ 2 callers
Class
SparseSubdivideBlock3d
A 3D subdivide block that can subdivide the sparse tensor. Args: channels: channels in the inputs and outputs. out_channels:
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_vae/decoder_mesh.py:17
↓ 1 callers
Class
BoundingBoxError
sam3d_objects/data/dataset/tdfy/img_and_mask_transforms.py:43
↓ 1 callers
Class
ChannelLayerNorm32
sam3d_objects/model/backbone/tdfy_dit/modules/norm.py:20
↓ 1 callers
Class
DownsampleBlock3d
sam3d_objects/model/backbone/tdfy_dit/models/sparse_structure_vae.py:61
↓ 1 callers
Class
F
sam3d_objects/model/backbone/tdfy_dit/representations/gaussian/general_utils.py:126
↓ 1 callers
Class
FeedForward
sam3d_objects/model/layers/llama3/ff.py:7
↓ 1 callers
Class
FlexiCubes
sam3d_objects/model/backbone/tdfy_dit/representations/mesh/flexicubes/flexicubes.py:25
↓ 1 callers
Class
GroupNorm32
A GroupNorm layer that converts to float32 before the forward pass.
sam3d_objects/model/backbone/tdfy_dit/modules/norm.py:11
↓ 1 callers
Class
Inference
notebook/inference.py:82
↓ 1 callers
Class
MOTModulatedTransformerCrossBlock
Transformer cross-attention block (MSA + MCA + FFN) with adaptive layer norm conditioning.
sam3d_objects/model/backbone/tdfy_dit/modules/transformer/modulated.py:174
↓ 1 callers
Class
MOTMultiHeadSelfAttention
sam3d_objects/model/backbone/tdfy_dit/modules/attention/modules.py:180
↓ 1 callers
Class
MeshExtractResult
sam3d_objects/model/backbone/tdfy_dit/representations/mesh/cube2mesh.py:9
↓ 1 callers
Class
ModulatedSparseTransformerCrossBlock
Sparse Transformer cross-attention block (MSA + MCA + FFN) with adaptive layer norm conditioning.
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/transformer/modulated.py:90
↓ 1 callers
Class
ModulatedTransformerCrossBlock
Transformer cross-attention block (MSA + MCA + FFN) with adaptive layer norm conditioning.
sam3d_objects/model/backbone/tdfy_dit/modules/transformer/modulated.py:85
↓ 1 callers
Class
OctreeRenderer
Renderer for the Voxel representation. Args: rendering_options (dict): Rendering options.
sam3d_objects/model/backbone/tdfy_dit/renderers/octree_renderer.py:185
↓ 1 callers
Class
PreProcessor
Preprocessor configuration for image, mask, and pointmap transforms. Transform application order: 1. Pointmap normalization (if normaliz
sam3d_objects/data/dataset/tdfy/preprocessor.py:16
↓ 1 callers
Class
SSIPointmapNormalizer
sam3d_objects/data/dataset/tdfy/img_and_mask_transforms.py:501
↓ 1 callers
Class
SparseFeatures2Mesh
sam3d_objects/model/backbone/tdfy_dit/representations/mesh/cube2mesh.py:54
↓ 1 callers
Class
SparseGELU
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/nonlinearity.py:19
↓ 1 callers
Class
SparseTransformerBlock
Sparse Transformer block (MSA + FFN).
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/transformer/blocks.py:25
↓ 1 callers
Class
Strivec
sam3d_objects/model/backbone/tdfy_dit/representations/radiance_field/strivec.py:9
↓ 1 callers
Class
TimestepEmbedder
Embeds scalar timesteps into vector representations.
sam3d_objects/model/backbone/tdfy_dit/models/sparse_structure_flow.py:21
↓ 1 callers
Class
UpsampleBlock3d
sam3d_objects/model/backbone/tdfy_dit/models/sparse_structure_vae.py:88
Class
ApparentSize
sam3d_objects/data/dataset/tdfy/pose_target.py:660
Class
Base
sam3d_objects/model/backbone/generator/base.py:6
Class
ClassifierFreeGuidance
sam3d_objects/model/backbone/generator/classifier_free_guidance.py:58
Class
ClassifierFreeGuidanceWithExternalUnconditionalProbability
sam3d_objects/model/backbone/generator/classifier_free_guidance.py:224
Class
ConditionalFlowMatching
sam3d_objects/model/backbone/generator/flow_matching/model.py:330
Class
DepthModel
sam3d_objects/pipeline/depth_models/base.py:5
Class
DfsOctree
Sparse Voxel Octree (SVO) implementation for PyTorch. Using Depth-First Search (DFS) order to store the octree. DFS order suits rendering
sam3d_objects/model/backbone/tdfy_dit/representations/octree/octree_dfs.py:22
Class
Dino
sam3d_objects/model/backbone/dit/embedder/dino.py:10
Class
DinoForMasks
sam3d_objects/model/backbone/dit/embedder/dino.py:132
Class
DisparitySpace
sam3d_objects/data/dataset/tdfy/pose_target.py:481
Class
EmbedderFuser
Fusing individual condition embedder. Require kwargs for the forward! Args: embedder_list: List of Tuples. Each Tuple consists of a c
sam3d_objects/model/backbone/dit/embedder/embedder_fuser.py:10
Class
Euler
sam3d_objects/model/backbone/generator/flow_matching/solver.py:47
Class
FlowMatching
sam3d_objects/model/backbone/generator/flow_matching/model.py:38
Class
Identity
Identity convention - no transformation applied. Direct passthrough mapping between instance pose and pose target values. This preserves
sam3d_objects/data/dataset/tdfy/pose_target.py:687
Class
InferencePipeline
sam3d_objects/pipeline/inference_pipeline.py:53
Class
InferencePipelinePointMap
sam3d_objects/pipeline/inference_pipeline_pointmap.py:91
Class
Latent
sam3d_objects/model/backbone/tdfy_dit/models/mm_latent.py:12
Class
LogScaleShiftNormalizer
sam3d_objects/data/dataset/tdfy/pose_target.py:775
Class
Midpoint
sam3d_objects/model/backbone/generator/flow_matching/solver.py:86
Class
MoGe
sam3d_objects/pipeline/depth_models/moge.py:4
Class
ModulatedSparseTransformerBlock
Sparse Transformer block (MSA + FFN) with adaptive layer norm conditioning.
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/transformer/modulated.py:11
Class
ModulatedTransformerBlock
Transformer block (MSA + FFN) with adaptive layer norm conditioning.
sam3d_objects/model/backbone/tdfy_dit/modules/transformer/modulated.py:12
Class
Naive
sam3d_objects/data/dataset/tdfy/pose_target.py:595
Class
NormalizedDisparitySpaceSSI
sam3d_objects/data/dataset/tdfy/img_and_mask_transforms.py:677
Class
NormalizedSceneScale
x_instance_scale and x_translation_scale are normalized to x_scene_scale
sam3d_objects/data/dataset/tdfy/pose_target.py:560
Class
NormalizedSceneScaleAndTranslation
x_instance_scale and x_translation_scale are normalized to x_scene_scale x_instance_translation is unit
sam3d_objects/data/dataset/tdfy/pose_target.py:628
Class
ODESolver
sam3d_objects/model/backbone/generator/flow_matching/solver.py:29
Class
ObjectApparentSizeSSI
sam3d_objects/data/dataset/tdfy/img_and_mask_transforms.py:618
Class
ObjectCentricSSI
sam3d_objects/data/dataset/tdfy/img_and_mask_transforms.py:519
Class
Partial
sam3d_objects/config/utils.py:138
Class
PointPatchEmbed
Projects (x,y,z) → D Splits into patches (patch_size x patch_size) Runs a tiny self-attention block inside each window Returns one to
sam3d_objects/model/backbone/dit/embedder/pointmap.py:12
Class
PointmapCFG
sam3d_objects/model/backbone/generator/classifier_free_guidance.py:162
Class
PoseTargetConvention
Converts pose_targets <-> instance_pose <-> invariant_pose_targets
sam3d_objects/data/dataset/tdfy/pose_target.py:257
Class
PoseTargetConverter
sam3d_objects/data/dataset/tdfy/pose_target.py:729
Class
RGBAImageProcessor
sam3d_objects/data/dataset/tdfy/img_and_mask_transforms.py:52
Class
RandomResizedCrop
RandomResizedCrop for matching TF/TPU implementation: no for-loop is used. This may lead to results different with torchvision's version.
sam3d_objects/data/dataset/tdfy/img_processing.py:13
Class
RecursivePartial
sam3d_objects/config/utils.py:108
Class
RungeKutta4
sam3d_objects/model/backbone/generator/flow_matching/solver.py:98
Class
SDE
sam3d_objects/model/backbone/generator/flow_matching/solver.py:55
Class
SLatEncoder
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_vae/encoder.py:13
Class
SLatEncoderTdfyWrapper
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_vae/encoder.py:81
Class
SLatFlowModel
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_flow.py:77
Class
SLatFlowModelTdfyWrapper
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_flow.py:304
Class
SLatGaussianDecoder
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_vae/decoder_gs.py:15
Class
SLatGaussianDecoderTdfyWrapper
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_vae/decoder_gs.py:160
Class
SLatMeshDecoder
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_vae/decoder_mesh.py:86
Class
SLatMeshDecoderTdfyWrapper
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_vae/decoder_mesh.py:192
Class
SLatRadianceFieldDecoder
sam3d_objects/model/backbone/tdfy_dit/models/structured_latent_vae/decoder_rf.py:12
Class
ScaleShiftInvariant
Midas eq. (6): https://arxiv.org/pdf/1907.01341v3 But for pointmaps (see MoGe): https://arxiv.org/pdf/2410.19115
sam3d_objects/data/dataset/tdfy/pose_target.py:283
Class
ScaleShiftInvariantWTranslationScale
Midas eq. (6): https://arxiv.org/pdf/1907.01341v3 But for pointmaps (see MoGe): https://arxiv.org/pdf/2410.19115
sam3d_objects/data/dataset/tdfy/pose_target.py:383
Class
SceneVisualizer
sam3d_objects/utils/visualization/scene_visualizer.py:22
Class
SerializeMode
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/attention/serialized_attn.py:25
Class
ShortCut
sam3d_objects/model/backbone/generator/shortcut/model.py:20
Class
SparseActivation
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/nonlinearity.py:24
Class
SparseConv3d
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/conv/conv_spconv.py:9
Class
SparseDownsample
Downsample a sparse tensor by a factor of `factor`. Implemented as average pooling.
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/spatial.py:10
Class
SparseGroupNorm
sam3d_objects/model/backbone/tdfy_dit/modules/sparse/norm.py:15
next →
1–100 of 121, ranked by callers