MCPcopy Create free account

hub / github.com/LuLing06/I-Scene-project / functions

Functions386 in github.com/LuLing06/I-Scene-project

Methodforward
(self, input: SparseTensor)
iscene/trellis/modules/sparse/spatial.py:22
Methodforward
(self, input: SparseTensor)
iscene/trellis/modules/sparse/spatial.py:68
Methodforward
(self, input: SparseTensor)
iscene/trellis/modules/sparse/spatial.py:92
Methodforward
(self, input: SparseTensor)
iscene/trellis/modules/sparse/norm.py:35
Methodforward
(self, x: SparseTensor)
iscene/trellis/modules/sparse/norm.py:50
Methodforward
(self, x: SparseTensor)
iscene/trellis/modules/sparse/norm.py:57
Methodforward
(self, input: SparseTensor)
iscene/trellis/modules/sparse/nonlinearity.py:19
Methodforward
(self, input: SparseTensor)
iscene/trellis/modules/sparse/nonlinearity.py:24
Methodforward
(self, input: SparseTensor)
iscene/trellis/modules/sparse/nonlinearity.py:33
Methodforward
(self, x: Union[SparseTensor, torch.Tensor])
iscene/trellis/modules/sparse/attention/modules.py:18
Methodforward
(self, x: Union[SparseTensor, torch.Tensor], context: Optional[Union[SparseTensor, torch.Tensor]] = None)
iscene/trellis/modules/sparse/attention/modules.py:105
Methodforward
(self, x: SparseTensor)
iscene/trellis/modules/sparse/conv/conv_torchsparse.py:13
Methodforward
(self, x: SparseTensor)
iscene/trellis/modules/sparse/conv/conv_torchsparse.py:29
Methodforward
(self, x: SparseTensor)
iscene/trellis/modules/sparse/conv/conv_spconv.py:37
Methodforward
(self, x: SparseTensor)
iscene/trellis/modules/sparse/conv/conv_spconv.py:74
Methodforward
(self, x: SparseTensor)
iscene/trellis/modules/sparse/transformer/blocks.py:20
Methodforward
(self, x: SparseTensor)
iscene/trellis/modules/sparse/transformer/blocks.py:74
Methodforward
(self, x: SparseTensor, context: torch.Tensor)
iscene/trellis/modules/sparse/transformer/blocks.py:147
Methodforward
(self, x: SparseTensor, mod: torch.Tensor)
iscene/trellis/modules/sparse/transformer/modulated.py:74
Methodforward
(self, x: SparseTensor, mod: torch.Tensor, context: torch.Tensor)
iscene/trellis/modules/sparse/transformer/modulated.py:162
Methodforward
Args: x (torch.Tensor): (N, D) tensor of spatial positions
iscene/trellis/modules/transformer/blocks.py:35
Methodforward
(self, x: torch.Tensor)
iscene/trellis/modules/transformer/blocks.py:58
Methodforward
(self, x: torch.Tensor)
iscene/trellis/modules/transformer/blocks.py:108
Methodforward
(self, x: torch.Tensor, context: torch.Tensor)
iscene/trellis/modules/transformer/blocks.py:177
Methodforward
(self, x: torch.Tensor, mod: torch.Tensor)
iscene/trellis/modules/transformer/modulated.py:69
Methodforward
(self, x: torch.Tensor, mod: torch.Tensor, context: torch.Tensor, external_tokens: Optional[Union[torch.Tensor
iscene/trellis/modules/transformer/modulated.py:191
Methodforward
(self, image: torch.Tensor)
iscene/trellis/models/image_conditioner.py:32
Methodforward
(self, t)
iscene/trellis/models/sparse_structure_flow.py:50
Methodforward
(self, x: torch.Tensor, t: torch.Tensor, cond: torch.Tensor)
iscene/trellis/models/sparse_structure_flow.py:177
Methodforward
x: B, N, C, [resolution, resolution, resolution] cond: B, N, C, H, W
iscene/trellis/models/sparse_structure_sc_flow.py:78
Methodforward
(self, x: torch.Tensor)
iscene/trellis/models/sparse_structure_vae.py:39
Methodforward
(self, x: torch.Tensor)
iscene/trellis/models/sparse_structure_vae.py:68
Methodforward
(self, x: torch.Tensor)
iscene/trellis/models/sparse_structure_vae.py:93
Methodforward
(self, x: torch.Tensor, sample_posterior: bool = False, return_raw: bool = False)
iscene/trellis/models/sparse_structure_vae.py:186
Methodforward
(self, x: torch.Tensor)
iscene/trellis/models/sparse_structure_vae.py:295
Methodforward
(self, x: sp.SparseTensor, emb: torch.Tensor)
iscene/trellis/models/structured_latent_flow.py:52
Methodforward
(self, x: sp.SparseTensor, t: torch.Tensor, cond: torch.Tensor)
iscene/trellis/models/structured_latent_flow.py:239
Methodforward
(self, x: sp.SparseTensor)
iscene/trellis/models/structured_latent_vae/decoder_gs.py:117
Methodforward
(self, x: sp.SparseTensor)
iscene/trellis/models/structured_latent_vae/base.py:110
Methodforward
Apply the block to a Tensor, conditioned on a timestep embedding. Args: x: an [N x C x ...] Tensor of features.
iscene/trellis/models/structured_latent_vae/decoder_mesh.py:54
Methodforward
(self, x: sp.SparseTensor)
iscene/trellis/models/structured_latent_vae/decoder_mesh.py:161
Methodfrom_features
(self, features)
iscene/trellis/representations/gaussian/gaussian_model.py:107
Methodfrom_opacity
(self, opacities)
iscene/trellis/representations/gaussian/gaussian_model.py:110
Functionfrom_pretrained
Load a model from a pretrained checkpoint. Args: path: The path to the checkpoint. Can be either local path or a Hugging Face model
iscene/trellis/models/__init__.py:25
Methodfrom_pretrained
Load the TRELLIS base models plus IScene release weights.
iscene/trellis/pipelines/trellis_image_to_3d_scene_context.py:54
Methodfrom_rotation
(self, rots)
iscene/trellis/representations/gaussian/gaussian_model.py:101
Methodfrom_scaling
(self, scales)
iscene/trellis/representations/gaussian/gaussian_model.py:97
Methodfrom_xyz
(self, xyz)
iscene/trellis/representations/gaussian/gaussian_model.py:104
Methodget_cond
Get the conditioning information for the model. Args: image (Union[torch.Tensor, list[Image.Image]]): The image prompts.
iscene/trellis/pipelines/trellis_image_to_3d_scene_context.py:210
Functionget_expon_lr_func
Copied from Plenoxels Continuous learning rate decay function. Adapted from JaxNeRF The returned rate is lr_init when step=0 and lr_fina
iscene/trellis/representations/gaussian/general_utils.py:29
Methodget_features
(self)
iscene/trellis/representations/gaussian/gaussian_model.py:87
Methodget_opacity
(self)
iscene/trellis/representations/gaussian/gaussian_model.py:91
Methodget_rotation
(self)
iscene/trellis/representations/gaussian/gaussian_model.py:79
Methodget_scaling
(self)
iscene/trellis/representations/gaussian/gaussian_model.py:72
Methodget_xyz
(self)
iscene/trellis/representations/gaussian/gaussian_model.py:83
Functionhelper
(step)
iscene/trellis/representations/gaussian/general_utils.py:47
Methodinitialize_weights
(self)
iscene/trellis/models/structured_latent_vae/base.py:101
Methodlayout
(self)
iscene/trellis/modules/sparse/basic.py:137
Functionload_example_pair
(rgb_path: Any, mask_path: Any)
interactive_demo.py:305
Methodload_ply
(self, path, transform=[[1, 0, 0], [0, 0, -1], [0, 1, 0]])
iscene/trellis/representations/gaussian/gaussian_model.py:148
Functionload_scene_and_instance_masks
Load one scene RGB image and split a multi-label segmentation into per-instance masks. The segmentation can be single-channel label IDs, pal
iscene/inference/segmentation_utils.py:53
Functionlocal_master_first
A context manager that ensures local master process executes first.
iscene/trellis/utils/dist_utils.py:76
Functionmaster_first
A context manager that ensures master process executes first.
iscene/trellis/utils/dist_utils.py:60
Methodmi_attention
Multi-instance self-attention. q stays (B_total, L, ...). k, v are concatenated across instances (N) -> (B, N*L, ...), then e
iscene/trellis/modules/attention/modules.py:165
Functionmodulate
(x, shift, scale)
iscene/trellis/modules/utils.py:55
Functionread_file_dist
Read the binary file distributedly. File is only read once by the rank 0 process and broadcasted to other processes. Returns: da
iscene/trellis/utils/dist_utils.py:19
Methodrender
Render the gausssian. Args: gaussian : gaussianmodule extrinsics (torch.Tensor): (4, 4) camera extrinsics
iscene/trellis/renderers/gaussian_render.py:171
Functionreset_uploaded_image
(image_prompts: Any)
interactive_demo.py:287
Functionrun_gaussian_preview
( image_prompts: Any, mask_path: str | None, seed: int, simplify: float, output_dir_text:
interactive_demo.py:346
Functionrun_glb_export
( state: DemoRunState | dict[str, Any] | None, simplify: float, )
interactive_demo.py:401
Functionrun_segmentation
( image_prompts: Any, model_choice: str, polygon_refinement: bool, mask_threshold: float,
interactive_demo.py:312
Functionsafe_state
(silent)
iscene/trellis/representations/gaussian/general_utils.py:112
Methodsample
Generate samples from the model using Euler method. Args: model: The model to sample from. noise: The initia
iscene/trellis/pipelines/samplers/flow_euler.py:127
Methodsample
Generate samples from the model using Euler method. Args: model: The model to sample from. noise: The initia
iscene/trellis/pipelines/samplers/flow_euler.py:167
Functionscale_module
Scale the parameters of a module and return it.
iscene/trellis/modules/utils.py:46
Functionset_attn
(attn: Literal['xformers', 'flash_attn'])
iscene/trellis/modules/sparse/__init__.py:41
Functionset_backend
(backend: Literal['xformers', 'flash_attn'])
iscene/trellis/modules/attention/__init__.py:26
Functionset_backend
(backend: Literal['spconv', 'torchsparse'])
iscene/trellis/modules/sparse/__init__.py:33
Functionset_debug
(debug: bool)
iscene/trellis/modules/attention/__init__.py:30
Functionset_debug
(debug: bool)
iscene/trellis/modules/sparse/__init__.py:37
Functionsetup_dist
(rank, local_rank, world_size, master_addr, master_port)
iscene/trellis/utils/dist_utils.py:9
Methodshape
(self)
iscene/trellis/modules/sparse/basic.py:130
Functionsparse_batch_op
Broadcast a 1D tensor to a sparse tensor along the batch dimension then perform an operation. Args: input (torch.Tensor): 1D tensor
iscene/trellis/modules/sparse/basic.py:408
Functionsparse_cat
Concatenate a list of sparse tensors. Args: inputs (List[SparseTensor]): List of sparse tensors to concatenate.
iscene/trellis/modules/sparse/basic.py:420
Functionto_glb
Convert a generated asset to a glb file. Args: app_rep (Gaussian): Appearance representation. mesh (MeshExtractResult): Extr
iscene/trellis/utils/postprocessing_utils.py:399
Functionunwrap_dist
Unwrap the model from distributed training.
iscene/trellis/utils/dist_utils.py:50
← previous301–386 of 386, ranked by callers