MCPcopy Create free account

hub / github.com/by-luckk/PhysGen3D / functions

Functions600 in github.com/by-luckk/PhysGen3D

Method__init__
(self, config)
submodules/instant_mesh/models/encoder/dino.py:121
Method__init__
(self, config: ViTConfig)
submodules/instant_mesh/models/encoder/dino.py:154
Method__init__
(self, config: ViTConfig)
submodules/instant_mesh/models/encoder/dino.py:219
Method__init__
(self, config: ViTConfig)
submodules/instant_mesh/models/encoder/dino.py:232
Method__init__
(self, config: ViTConfig)
submodules/instant_mesh/models/encoder/dino.py:271
Method__init__
(self, config: ViTConfig)
submodules/instant_mesh/models/encoder/dino.py:287
Method__init__
(self, config: ViTConfig)
submodules/instant_mesh/models/encoder/dino.py:358
Method__init__
(self, config: ViTConfig, add_pooling_layer: bool = True, use_mask_token: bool = False)
submodules/instant_mesh/models/encoder/dino.py:450
Method__init__
(self, config: ViTConfig)
submodules/instant_mesh/models/encoder/dino.py:539
Method__init__
( self, inner_dim: int, cond_dim: int, num_heads: int, eps: float,
submodules/instant_mesh/models/decoder/transformer.py:26
Method_init_weights
Initialize the weights
submodules/instant_mesh/models/encoder/dino.py:422
Method_prune_heads
Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base class PreTrainedModel
submodules/instant_mesh/models/encoder/dino.py:466
Methodadd_controlnet
(self, controlnet: Optional[diffusers.ControlNetModel] = None, conditioning_scale=1.0)
submodules/instant_mesh/zero123plus/pipeline.py:317
Methodadd_cube
(self, lower_corner, cube_size, material,
engine/my_solver.py:861
Methodadd_cube
(self, lower_corner, cube_size, material,
engine/mpm_solver.py:977
Methodadd_ellipsoid
(self, center, radius, material,
engine/my_solver.py:980
Methodadd_ellipsoid
(self, center, radius, material,
engine/mpm_solver.py:1102
Methodadd_mesh
(self, triangles, material, color=0xFFFFFF,
engine/mpm_solver.py:1182
Methodadd_ngon
( self, sides, center, radius, angle, material, color=
engine/my_solver.py:886
Methodadd_ngon
( self, sides, center, radius, angle, material, color=
engine/mpm_solver.py:1004
Methodadd_particles
(self, particles, material, color=0xFFFFFF,
engine/my_solver.py:1099
Methodadd_particles
(self, particles, material, color=0xFFFFFF,
engine/mpm_solver.py:1263
Methodadd_sphere_collider
(self, center, radius, surface=surface_sticky)
engine/my_solver.py:618
Methodadd_sphere_collider
(self, center, radius, surface=surface_sticky)
engine/mpm_solver.py:695
Methodadd_surface_collider
(self, point, normal, s
engine/mpm_solver.py:724
Methodadd_texture_2d
( self, offset_x: ti.f32, offset_y: ti.f32, texture: ti.types.
engine/my_solver.py:944
Methodadd_texture_2d
( self, offset_x: ti.f32, offset_y: ti.f32, texture: ti.types.
engine/mpm_solver.py:1062
Functionbatch_subdivide_volume
(tet_pos_bxnx3, tet_bxfx4, grid_sdf)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:227
Methodblock_component
(c)
engine/my_solver.py:180
Methodblock_component
(c)
engine/mpm_solver.py:189
Functionbuild_lama_model
( config_p: str, ckpt_p: str, device="cuda" )
lama_inpaint.py:164
Methodcleanup
(self)
locate/models/utils.py:235
Methodclear_grid_postprocess
(self)
engine/my_solver.py:644
Methodclear_grid_postprocess
(self)
engine/mpm_solver.py:721
Methodclear_particles
(self)
engine/my_solver.py:1196
Methodclear_particles
(self)
engine/mpm_solver.py:1369
Methodcollide
(t: ti.f32, dt: ti.f32, grid_v: ti.template())
engine/my_solver.py:622
Methodcollide
(t: ti.f32, dt: ti.f32, grid_v: ti.template())
engine/mpm_solver.py:699
Functioncompact_tets
(pos_nx3, sdf_n, tet_fx4)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:207
Functioncompute_epipolar_error
(kpts0, kpts1, T_0to1, K0, K1)
locate/models/utils.py:352
Methodcompute_max_displace
(self)
engine/mpm_solver.py:817
Functioncompute_polynomial
(opt, color_init)
inverse/mitsuba_inverse_spline.py:135
Functioncompute_pose_error
(T_0to1, R, t)
locate/models/utils.py:385
Methodconfigure_optimizers
(self)
submodules/instant_mesh/model_mesh.py:318
Methodconfigure_optimizers
(self)
submodules/instant_mesh/model.py:293
Methodconfigure_optimizers
(self)
submodules/instant_mesh/zero123plus/model.py:266
Methodcopy_ranged
(self, np_x: ti.types.ndarray(), input_x: ti.template(), begin: ti.i32, end: ti.i32)
engine/mpm_solver.py:1333
Methodcopy_ranged_nd
(self, np_x: ti.types.ndarray(), input_x: ti.template(), begin: ti.i32, end: ti.i32)
engine/my_solver.py:1167
Methodcopy_ranged_nd
(self, np_x: ti.types.ndarray(), input_x: ti.template(), begin: ti.i32, end: ti.i32)
engine/mpm_solver.py:1340
Functioncount_params
(model, verbose=False)
submodules/instant_mesh/utils/train_util.py:4
Functiondemo0
(folder, name)
locate/pytorch_opt.py:334
Functiondemo1
()
locate/pytorch_opt.py:368
Functiondemo1
()
locate/optimization.py:228
Functiondemo1
()
locate/fit_object_pytorch3d.py:351
Functiondemo2
()
locate/pytorch_opt.py:400
Functiondemo2
()
locate/optimization.py:243
Functiondemo2
()
locate/fit_object_pytorch3d.py:360
Functiondemo3
()
locate/pytorch_opt.py:433
Functiondemo3
()
locate/optimization.py:257
Functiondemo3
()
locate/fit_object_pytorch3d.py:369
Functiondemo4
()
locate/fit_object_pytorch3d.py:378
Functiondemo5
()
locate/fit_object_pytorch3d.py:386
Functiondemo6
()
locate/fit_object_pytorch3d.py:394
Functiondraw
()
inverse/mitsuba_inverse_spline.py:403
Functiondraw
()
inverse/mitsuba_inverse_poly.py:445
Functionerror_colormap
(x)
locate/models/utils.py:545
Functionestimate_pose
(kpts0, kpts1, K0, K1, thresh, conf=0.99999)
locate/models/utils.py:285
Methodextract_mesh
Extract a 3D mesh from FlexiCubes. Only support batch_size 1. :param planes: triplane features :param use_texture_map: use te
submodules/instant_mesh/models/lrm_mesh.py:340
Functionf
(x)
inverse/mitsuba_inverse_mod.py:137
Functionf
(x)
inverse/mitsuba_inverse_spline.py:176
Functionf
(x)
inverse/mitsuba_inverse_poly.py:168
Functionf
(x)
inverse/mitsuba_inverse.py:135
Functionfind_biggest_cluster
(mesh, keep1=False, delete_vetices=True)
mesh_utils.py:73
Functionfit_polynomial
(x_data, y_data, degree=3)
inverse/mitsuba_inverse_mod.py:128
Functionfit_polynomial
(x_data, y_data, degree=3)
inverse/mitsuba_inverse_spline.py:167
Functionfit_polynomial
(x_data, y_data, degree=3)
inverse/mitsuba_inverse_poly.py:159
Methodforward
(self, kpts, scores)
locate/models/superglue.py:82
Methodforward
(self, query: torch.Tensor, key: torch.Tensor, value: torch.Tensor)
locate/models/superglue.py:104
Methodforward
(self, x: torch.Tensor, source: torch.Tensor)
locate/models/superglue.py:119
Methodforward
(self, desc0: torch.Tensor, desc1: torch.Tensor)
locate/models/superglue.py:132
Methodforward
Run SuperGlue on a pair of keypoints and descriptors
locate/models/superglue.py:230
Methodforward
Run SuperPoint (optionally) and SuperGlue SuperPoint is skipped if ['keypoints0', 'keypoints1'] exist in input Args: data:
locate/models/matching.py:56
Methodforward
Compute keypoints, scores, descriptors for image
locate/models/superpoint.py:145
Methodforward
( self, sample, timestep, encoder_hidden_states, class_labels=None, *args, cross_attention_kwa
submodules/instant_mesh/zero123plus/pipeline.py:118
Methodforward
(self, sample, timestep, encoder_hidden_states, class_labels=None, *args, cross_attention_kwargs: dict, **kwar
submodules/instant_mesh/zero123plus/pipeline.py:196
Methodforward
(self, images, cameras, render_cameras, render_size: int)
submodules/instant_mesh/models/lrm.py:90
Methodforward
(self, images, cameras, render_cameras, render_size: int)
submodules/instant_mesh/models/lrm_mesh.py:325
Methodforward
(self, sampled_features, ray_directions)
submodules/instant_mesh/models/renderer/synthesizer.py:42
Methodforward
(self, planes, cameras, render_size=128, crop_params=None)
submodules/instant_mesh/models/renderer/synthesizer.py:98
Methodforward
(self, planes, decoder, ray_origins, ray_directions, rendering_options)
submodules/instant_mesh/models/renderer/utils/renderer.py:158
Methodforward
Create batches of rays and return origins and directions. cam2world_matrix: (N, 4, 4) intrinsics: (N, 3, 3) render_s
submodules/instant_mesh/models/renderer/utils/ray_sampler.py:28
Methodforward
Create batches of rays and return origins and directions. cam2world_matrix: (N, 4, 4) ortho_scale: float render_size
submodules/instant_mesh/models/renderer/utils/ray_sampler.py:92
Methodforward
(self, colors, densities, depths, rendering_options, normals=None)
submodules/instant_mesh/models/renderer/utils/ray_marcher.py:66
Methodforward
(self)
submodules/instant_mesh/models/geometry/rep_3d/__init__.py:17
Methodforward
(self)
submodules/instant_mesh/models/geometry/render/__init__.py:7
Methodforward
(self, image, camera)
submodules/instant_mesh/models/encoder/dino_wrapper.py:37
Methodforward
( self, pixel_values: torch.Tensor, bool_masked_pos: Optional[torch.BoolTensor] = None
submodules/instant_mesh/models/encoder/dino.py:83
Methodforward
(self, pixel_values: torch.Tensor, interpolate_pos_encoding: bool = False)
submodules/instant_mesh/models/encoder/dino.py:136
Methodforward
( self, hidden_states, head_mask: Optional[torch.Tensor] = None, output_attentions: bool = False )
submodules/instant_mesh/models/encoder/dino.py:177
Methodforward
(self, hidden_states: torch.Tensor, input_tensor: torch.Tensor)
submodules/instant_mesh/models/encoder/dino.py:224
← previousnext →401–500 of 600, ranked by callers