MCPcopy Create free account

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

Functions600 in github.com/by-luckk/PhysGen3D

Methodforward
( self, hidden_states: torch.Tensor, head_mask: Optional[torch.Tensor] = None,
submodules/instant_mesh/models/encoder/dino.py:256
Methodforward
(self, hidden_states: torch.Tensor)
submodules/instant_mesh/models/encoder/dino.py:279
Methodforward
(self, hidden_states: torch.Tensor, input_tensor: torch.Tensor)
submodules/instant_mesh/models/encoder/dino.py:292
Methodforward
( self, hidden_states: torch.Tensor, adaln_input: torch.Tensor = None, head_ma
submodules/instant_mesh/models/encoder/dino.py:325
Methodforward
( self, hidden_states: torch.Tensor, adaln_input: torch.Tensor = None, head_ma
submodules/instant_mesh/models/encoder/dino.py:364
Methodforward
r""" bool_masked_pos (`torch.BoolTensor` of shape `(batch_size, num_patches)`, *optional*): Boolean masked positions. Indicates wh
submodules/instant_mesh/models/encoder/dino.py:474
Methodforward
(self, hidden_states)
submodules/instant_mesh/models/encoder/dino.py:544
Methodforward
(self, x, cond)
submodules/instant_mesh/models/decoder/transformer.py:56
Methodforward
(self, image_feats)
submodules/instant_mesh/models/decoder/transformer.py:102
Functiongamma_correct
(img)
inverse/mitsuba_inverse_poly.py:138
MethodgetAABB
(self)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:431
MethodgetAABB
(self)
submodules/instant_mesh/models/geometry/rep_3d/flexicubes_geometry.py:60
Methodget_geometry_prediction
(self, planes, sample_coordinates, flexicubes_indices)
submodules/instant_mesh/models/renderer/synthesizer_mesh.py:127
Methodget_input_embeddings
(self)
submodules/instant_mesh/models/encoder/dino.py:463
Functionget_ray_limits_box
Author: Petr Kellnhofer Intersects rays with the [-1, 1] NDC volume. Returns min and max distance of entry. Returns -1 for no interse
submodules/instant_mesh/models/renderer/utils/math_utils.py:46
Functionget_render_cameras
Get the rendering camera parameters.
my_instant_mesh.py:25
Methodget_tet_mesh
(self, v_deformed_nx3, sdf_n, with_uv=False, indices=None)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:446
Methodget_texture_prediction
(self, planes, sample_coordinates)
submodules/instant_mesh/models/renderer/synthesizer_mesh.py:135
Methodinitialize_particles_from_taichi_elements
(self, particle_fn)
engine/renderer.py:573
Functioninpaint_img_with_builded_lama
( model, img: np.ndarray, mask: np.ndarray, config_p=None, mod=8,
lama_inpaint.py:193
Methodinside_grid_loose
(self, ipos)
engine/renderer.py:133
Functioninside_left
(p, c, r)
engine/renderer_utils.py:153
Functioninside_right
(p, c, r)
engine/renderer_utils.py:158
Functionlinspace
Creates a tensor of shape [num, *start.shape] whose values are evenly spaced from start to end, inclusive. Replicates but the multi-dimension
submodules/instant_mesh/models/renderer/utils/math_utils.py:101
Functionload_mesh
(fn, scale=1, offset=(0, 0, 0))
engine/mesh_io.py:6
Functionload_mesh_ply
(fn, scale, offset, reduction_rate=1, angle_x=0, angle_y=0, angle_z=0)
engine/mesh_io.py:55
Functionload_point_cloud_ply
(fn, scale=1, offset=(0, 0,0), sample_num_points=None, angle_x=0, angle_y=0, angle_z=0)
engine/mesh_io.py:189
Functionloadobj
(meshfile)
submodules/instant_mesh/utils/mesh_util.py:92
Functionloadobjtex
(meshfile)
submodules/instant_mesh/utils/mesh_util.py:114
Methodmap_from
(module, state_dict, *args, **kwargs)
submodules/instant_mesh/zero123plus/pipeline.py:255
Methodmap_to
(module, state_dict, *args, **kwargs)
submodules/instant_mesh/zero123plus/pipeline.py:240
Methodnext_frame
Return the next frame, and increment internal counter. Returns image: Next H x W image. status: True or False depen
locate/models/utils.py:175
Functionnormal_loss_fun
(normal_map, gt_map)
locate/pytorch_opt.py:51
Functionnormalize_vecs
Normalize vector lengths.
submodules/instant_mesh/models/renderer/utils/math_utils.py:33
Functionobjective
(scale, mesh_points, pcd_points, plane_model)
locate/fit_object_pytorch3d.py:321
Methodon_fit_start
(self)
submodules/instant_mesh/model_mesh.py:73
Methodon_fit_start
(self)
submodules/instant_mesh/model.py:37
Methodon_fit_start
(self)
submodules/instant_mesh/zero123plus/model.py:96
Methodon_validation_epoch_end
(self)
submodules/instant_mesh/model_mesh.py:303
Methodon_validation_epoch_end
(self)
submodules/instant_mesh/model.py:278
Methodon_validation_epoch_end
(self)
submodules/instant_mesh/zero123plus/model.py:254
Methodp2g_1
(self, dt: ti.f32)
engine/mpm_solver.py:618
Functionparse_velocities
Parse velocities from semicolon-separated vectors
simulation.py:265
Methodparticle_info
(self)
engine/mpm_solver.py:1347
Functionpose_auc
(errors, thresholds)
locate/models/utils.py:394
Functionpredict
()
inverse/mitsuba_inverse_mod.py:275
Functionpredict
()
inverse/mitsuba_inverse.py:265
Functionpredict2
()
inverse/mitsuba_inverse_mod.py:301
Functionpredict2
()
inverse/mitsuba_inverse_spline.py:372
Functionpredict2
()
inverse/mitsuba_inverse_poly.py:415
Methodprint
(self, text='Timer')
locate/models/utils.py:83
Functionray_plane_intersect
(pos, d, pt_on_plane, norm)
engine/renderer_utils.py:106
Methodread_particles_2d
(fn)
engine/particle_io.py:83
Methodread_restart
( self, num_particles, pos, vel, material, color, )
engine/my_solver.py:1130
Methodread_restart
( self, num_particles, pos, vel, material, color, )
engine/mpm_solver.py:1303
Functionreflect
(d, n)
engine/renderer_utils.py:22
Functionrefract
(d, n, ni_over_nt)
engine/renderer_utils.py:28
Methodremap_key
(key, state_dict)
submodules/instant_mesh/zero123plus/pipeline.py:249
Methodrender
(self, v_deformed_bxnx3=None, sdf_bxn=None, camera_mv_bxnviewx4x4=None, resolution=256)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:484
Methodrender
(self, v_deformed_bxnx3=None, sdf_bxn=None, camera_mv_bxnviewx4x4=None, resolution=256)
submodules/instant_mesh/models/geometry/rep_3d/flexicubes_geometry.py:100
Methodrender_frame
(self, spp)
engine/renderer.py:605
Functionrender_frames
Render frames from triplanes.
my_instant_mesh.py:41
Methodrender_mesh
( self, mesh_v_pos_bxnx3, mesh_t_pos_idx_fx3, camera_mv_bx4x4,
submodules/instant_mesh/models/geometry/render/neural_render.py:77
Functionresize_foreground
( image: PIL.Image.Image, ratio: float, )
submodules/instant_mesh/utils/infer_util.py:25
Functionrotate_intrinsics
image_shape is the shape of the image after rotation
locate/models/utils.py:312
Functionrotate_pose_inplane
(i_T_w, rot)
locate/models/utils.py:332
Functionsample_and_fill_mesh
(mesh_o3d, volume_sample_size, num_interior_points)
mesh_utils.py:31
Functionsample_from_3dgrid
Expects coordinates in shape (batch_size, num_points_per_batch, 3) Expects grid in shape (1, channels, H, W, D) (Also works if grid has b
submodules/instant_mesh/models/renderer/utils/renderer.py:81
Functionsample_point_mesh
(fn, scale, offset, sample_rate=1, angle_x=0, angle_y=0, angle_z=0)
engine/mesh_io.py:110
Functionsample_volume
(trimesh_mesh, num_points, seed)
mesh_utils.py:27
Functionsample_volume_mesh
(fn, sample_num, offset, trans_matrix=None)
engine/mesh_io.py:182
Functionsave_glb
(pointnp_px3, facenp_fx3, colornp_px3, fpath)
submodules/instant_mesh/utils/mesh_util.py:31
Functionscale_image
(image)
submodules/instant_mesh/zero123plus/pipeline.py:166
Functionscale_image
(image)
submodules/instant_mesh/zero123plus/model.py:27
Functionscale_intrinsics
(K, scales)
locate/models/utils.py:343
Functionscale_latents
(latents)
submodules/instant_mesh/zero123plus/pipeline.py:156
Functionsdf_reg_loss
(sdf, all_edges)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:371
Functionsdf_reg_loss_batch
(sdf, all_edges)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:384
Methodset_camera_pos
(self, x: ti.f32, y: ti.f32, z: ti.f32)
engine/renderer.py:393
Functionshrink_grid
(tet_pos_bxnx3, tet_bxfx4, grid_sdf)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:340
Functionsigmoid
(array)
locate/optimization.py:47
Methodsort_samples
(self, all_depths, all_colors, all_densities)
submodules/instant_mesh/models/renderer/utils/renderer.py:211
Functionsphere_aabb_intersect
(box_min, box_max, o, radius)
engine/renderer_utils.py:125
Methodstep
(self, frame_dt, print_stat=False, smry_writer=None, frame=None)
engine/mpm_solver.py:838
Functiontorch_dot
Dot product of two tensors.
submodules/instant_mesh/models/renderer/utils/math_utils.py:39
Methodtotal_inserted_particles
(self)
engine/renderer.py:555
Methodtotal_non_empty_voxels
(self)
engine/renderer.py:545
Methodtraining_step
(self, batch, batch_idx)
submodules/instant_mesh/model_mesh.py:196
Methodtraining_step
(self, batch, batch_idx)
submodules/instant_mesh/model.py:195
Methodtraining_step
(self, batch, batch_idx)
submodules/instant_mesh/zero123plus/model.py:180
Functiontransform_vectors
Left-multiplies MxM @ NxM. Returns NxM.
submodules/instant_mesh/models/renderer/utils/math_utils.py:25
Methodupdate_ip_camera
(self)
locate/models/utils.py:220
Methodvalidation_step
(self, batch, batch_idx)
submodules/instant_mesh/model_mesh.py:294
Methodvalidation_step
(self, batch, batch_idx)
submodules/instant_mesh/model.py:269
Methodvalidation_step
(self, batch, batch_idx)
submodules/instant_mesh/zero123plus/model.py:236
Methodwrite_particles
(solver, fn, slice_size=1000000)
engine/particle_io.py:13
Methodwrite_particles
(self, fn, slice_size=1000000)
engine/mpm_solver.py:1373
Methodwrite_particles_ply
(self, fn)
engine/my_solver.py:1204
Methodwrite_particles_ply
(self, fn)
engine/mpm_solver.py:1377
Functionxatlas_uvmap
(ctx, mesh_v, mesh_pos_idx, resolution)
submodules/instant_mesh/utils/mesh_util.py:161
← previous501–600 of 600, ranked by callers