MCPcopy Create free account

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

Functions600 in github.com/by-luckk/PhysGen3D

↓ 1 callersMethodg2p
(self, dt: ti.f32)
engine/my_solver.py:695
↓ 1 callersMethodg2p
(self, dt: ti.f32)
engine/mpm_solver.py:773
↓ 1 callersMethodg2p2g
(self, dt: ti.f32, pid: ti.template(), grid_v_in: ti.template(), grid_v_out: ti.template(), grid
engine/my_solver.py:364
↓ 1 callersMethodg2p2g
(self, dt: ti.f32, pid: ti.template(), grid_v_in: ti.template(), grid_v_out: ti.template(), grid
engine/mpm_solver.py:381
↓ 1 callersFunctionget_args_parser
()
my_dust3r.py:16
↓ 1 callersFunctionget_center_boundary_index
(verts)
submodules/instant_mesh/models/geometry/rep_3d/dmtet_utils.py:12
↓ 1 callersFunctionget_center_boundary_index
(grid_res, device)
submodules/instant_mesh/models/geometry/rep_3d/flexicubes_geometry.py:17
↓ 1 callersFunctionget_circular_camera_poses
(M=120, radius=2.5, elevation=30.0)
submodules/instant_mesh/utils/camera_util.py:62
↓ 1 callersMethodget_geometry_prediction
(self, sampled_features, flexicubes_indices)
submodules/instant_mesh/models/renderer/synthesizer_mesh.py:69
↓ 1 callersFunctionget_grounding_output
(model, image, caption, box_threshold, text_threshold, with_logits=True, device="cpu")
perception.py:69
↓ 1 callersMethodget_mesh
(self, v_deformed_nx3, sdf_n, weight_n=None, with_uv=False, indices=None, is_training=False)
submodules/instant_mesh/models/geometry/rep_3d/flexicubes_geometry.py:63
↓ 1 callersFunctionget_obj_from_str
(string, reload=False)
submodules/instant_mesh/utils/train_util.py:21
↓ 1 callersMethodget_sdf_deformation_prediction
Predict SDF and deformation for tetrahedron vertices :param planes: triplane feature map for the geometry
submodules/instant_mesh/models/lrm_mesh.py:102
↓ 1 callersFunctionget_tet_bxfx4x3
(bxnxz, bxfx4)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:328
↓ 1 callersMethodget_texture_prediction
Predict Texture given triplanes :param planes: the triplane feature map :param tex_pos: Position we want to query the texture
submodules/instant_mesh/models/lrm.py:107
↓ 1 callersMethodget_texture_prediction
(self, sampled_features)
submodules/instant_mesh/models/renderer/synthesizer_mesh.py:83
↓ 1 callersMethodget_v
(self, x, noise, t)
submodules/instant_mesh/zero123plus/model.py:174
↓ 1 callersFunctionget_white_mask_area
(mask_img)
perception.py:175
↓ 1 callersFunctionget_zero123plus_input_cameras
Get the input camera parameters.
submodules/instant_mesh/utils/camera_util.py:95
↓ 1 callersMethodgrid_bounding_box
(self, t: ti.f32, dt: ti.f32, unbounded: ti.template(), grid_v: ti.template())
engine/my_solver.py:601
↓ 1 callersMethodgrid_bounding_box
(self, t: ti.f32, dt: ti.f32, unbounded: ti.template(), grid_v: ti.template())
engine/mpm_solver.py:678
↓ 1 callersFunctionimage_pair_matching
(input_images, ref_image, output_dir, resize=[-1], resize_float=False, superglue='ind
locate/match_pairs.py:61
↓ 1 callersFunctionimages_to_video
(image_folder, video_name, fps, background_image=None)
rendering.py:323
↓ 1 callersMethodinitialize_particle
(self, x: ti.types.ndarray(), v: ti.types.ndarray(), color: ti.types.ndarray(), be
engine/renderer.py:535
↓ 1 callersMethodinitialize_particle_grid
(self)
engine/renderer.py:479
↓ 1 callersMethodinside_grid
(self, ipos)
engine/renderer.py:126
↓ 1 callersFunctioninside_taichi
(p_)
engine/renderer_utils.py:167
↓ 1 callersFunctioninterpolate
(attr, rast, attr_idx, rast_db=None)
submodules/instant_mesh/utils/mesh_util.py:157
↓ 1 callersFunctioninterpolate
(attr, rast, attr_idx, rast_db=None)
submodules/instant_mesh/models/geometry/rep_3d/extract_texture_map.py:16
↓ 1 callersMethodinterpolate_pos_encoding
This method allows to interpolate the pre-trained position encodings, to be able to use the model on higher resolution images.
submodules/instant_mesh/models/encoder/dino.py:50
↓ 1 callersFunctionintersect_sphere
(pos, d, center, radius)
engine/renderer_utils.py:73
↓ 1 callersFunctionload_config
Load configuration from YAML file
simulation.py:270
↓ 1 callersFunctionload_image
(image_path)
perception.py:41
↓ 1 callersMethodload_image
Read image as grayscale and resize to img_size. Inputs impath: Path to input image. Returns grayim: uint8 num
locate/models/utils.py:159
↓ 1 callersFunctionload_input_data
(input_dir)
inverse/mitsuba_neus.py:223
↓ 1 callersFunctionload_input_model
(model_path, with_metallic=False, with_roughness=False, transform=None, tex_map=None, tex
rendering.py:48
↓ 1 callersFunctionload_input_model
(model_path, with_metallic, with_roughness, trafo, tex_map=None, tex_dim=2048, starting_values=(0.5, 1, 0))
inverse/mitsuba_inverse.py:29
↓ 1 callersFunctionload_input_model
(model_path, with_metallic, with_roughness, tex_dim=2048, starting_values=(0.5, 0.0, 0.0))
inverse/mitsuba_neus.py:200
↓ 1 callersFunctionload_mesh_obj
(fn, offset, trans_matrix=None, reduction_rate=1, scale=1, angle_x=0, angle_y=0, angle_z=0)
engine/mesh_io.py:137
↓ 1 callersFunctionload_model
(model_config_path, model_checkpoint_path, device)
perception.py:56
↓ 1 callersFunctionload_reference_image
(img_file, mask_box, img_size)
inverse/mitsuba_inverse.py:12
↓ 1 callersFunctionload_reference_image
Loads an image and returns it as a linearized float Mitsuba Tensor
inverse/mitsuba_neus.py:34
↓ 1 callersFunctionlog_optimal_transport
Perform Differentiable Optimal Transport in Log-space for stability
locate/models/superglue.py:152
↓ 1 callersFunctionlog_sinkhorn_iterations
Perform Sinkhorn Normalization in Log-space for stability
locate/models/superglue.py:143
↓ 1 callersFunctionloss_fn
img: m * n * 8, [R, G, B, alpha, depth, normal_x, normal_y, normal_z] ref_img: m * n * 3, black background
locate/optimization.py:79
↓ 1 callersFunctionmain
()
simulation.py:281
↓ 1 callersFunctionmake_matching_plot
(image0, image1, kpts0, kpts1, mkpts0, mkpts1, color, text, path, show_keypoints=False,
locate/models/utils.py:449
↓ 1 callersFunctionmake_matching_plot_fast
(image0, image1, kpts0, kpts1, mkpts0, mkpts1, color, text, path=None,
locate/models/utils.py:480
↓ 1 callersFunctionmake_scene
(mesh, cam_xform, fov, width, height, principle_pts)
inverse/mitsuba_neus.py:95
↓ 1 callersFunctionmarching_tets
(pos_nx3, sdf_n, tet_fx4, triangle_table, num_triangles_table, base_tet_edges, v_id)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:60
↓ 1 callersFunctionmarching_tets_tetmesh
( pos_nx3, sdf_n, tet_fx4, triangle_table, num_triangles_table, base_tet_edges, v_id, return_t
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:129
↓ 1 callersFunctionmask_with_shade_new
(img, mask, out_dir=None)
lama_inpaint.py:51
↓ 1 callersFunctionmse
(image, ref_img)
inverse/mitsuba_inverse_mod.py:231
↓ 1 callersFunctionmse
(image, ref_img)
inverse/mitsuba_inverse_spline.py:299
↓ 1 callersFunctionmse
(image, ref_img)
inverse/mitsuba_inverse_poly.py:332
↓ 1 callersFunctionmse
(image, ref_img)
inverse/mitsuba_inverse.py:221
↓ 1 callersFunctionmse
(image, ref_img)
inverse/mitsuba_neus.py:143
↓ 1 callersMethodmultiview_generation
(self, diffusion_steps=75)
my_instant_mesh.py:151
↓ 1 callersFunctionout_dir
(n)
engine/renderer_utils.py:9
↓ 1 callersMethodp2g
(self, dt: ti.f32)
engine/my_solver.py:488
↓ 1 callersMethodp2g
(self, dt: ti.f32)
engine/mpm_solver.py:512
↓ 1 callersFunctionpad_camera_extrinsics_4x4
(extrinsics)
submodules/instant_mesh/utils/camera_util.py:6
↓ 1 callersFunctionparse_args
()
rendering.py:24
↓ 1 callersFunctionphong_normal_shading
(meshes, fragments)
locate/pytorch_opt.py:109
↓ 1 callersFunctionplot_image_pair
(imgs, dpi=100, size=6, pad=.5)
locate/models/utils.py:412
↓ 1 callersFunctionplot_matches
(kpts0, kpts1, color, lw=1.5, ps=4)
locate/models/utils.py:432
↓ 1 callersFunctionplot_mesh_with_points
(mesh, points, filename)
locate/fit_object_pytorch3d.py:189
↓ 1 callersFunctionpredict
()
inverse/mitsuba_inverse_spline.py:346
↓ 1 callersFunctionpredict
(input_path, env_file)
inverse/mitsuba_inverse_poly.py:384
↓ 1 callersMethodpredict_start_from_z_and_v
(self, x_t, t, v)
submodules/instant_mesh/zero123plus/model.py:168
↓ 1 callersMethodprepare_batch_data
(self, batch)
submodules/instant_mesh/model_mesh.py:80
↓ 1 callersMethodprepare_batch_data
(self, batch)
submodules/instant_mesh/model.py:42
↓ 1 callersFunctionprepare_neus_model
Prepare mesh by generating normals and a UV mapping
inverse/mitsuba_neus.py:41
↓ 1 callersFunctionprepare_scene
(mesh, fov_x, img_size, env_file=None)
inverse/mitsuba_inverse_mod.py:78
↓ 1 callersFunctionprepare_scene
(mesh, fov_x, img_size, env_file=None)
inverse/mitsuba_inverse_spline.py:81
↓ 1 callersFunctionprepare_scene
(mesh, fov_x, img_size, env_file=None)
inverse/mitsuba_inverse_poly.py:82
↓ 1 callersFunctionprepare_scene
(mesh, fov_x, img_size, env_file=None)
inverse/mitsuba_inverse.py:76
↓ 1 callersMethodprepare_validation_batch_data
(self, batch)
submodules/instant_mesh/model_mesh.py:139
↓ 1 callersMethodprepare_validation_batch_data
(self, batch)
submodules/instant_mesh/model.py:104
↓ 1 callersMethodproject
(self, points_bxnx4)
submodules/instant_mesh/models/geometry/camera/perspective_camera.py:31
↓ 1 callersFunctionproject_2d_to_3d
Project 2D image points to 3D space using the depth map, camera intrinsics, and pose. :param image_points: Nx2 array of image points :pa
locate/fit_object_pytorch3d.py:162
↓ 1 callersFunctionproject_onto_planes
Does a projection of a 3D point onto a batch of 2D planes, returning 2D plane coordinates. Takes plane axes of shape n_planes, 3, 3
submodules/instant_mesh/models/renderer/utils/renderer.py:46
↓ 1 callersFunctionprojection
(x=0.1, n=1.0, f=50.0, near_plane=None)
submodules/instant_mesh/models/geometry/camera/perspective_camera.py:14
↓ 1 callersMethodprune_heads
(self, heads: Set[int])
submodules/instant_mesh/models/encoder/dino.py:238
↓ 1 callersMethodquery_density
(self, ipos)
engine/renderer.py:138
↓ 1 callersMethodrandom_point_in_unit_polygon
(self, sides, angle)
engine/my_solver.py:919
↓ 1 callersMethodrandom_point_in_unit_polygon
(self, sides, angle)
engine/mpm_solver.py:1037
↓ 1 callersMethodrandom_point_in_unit_sphere
(self)
engine/my_solver.py:960
↓ 1 callersMethodrandom_point_in_unit_sphere
(self)
engine/mpm_solver.py:1078
↓ 1 callersMethodray_march
(self, p, d)
engine/renderer.py:184
↓ 1 callersMethodreconstruction
(self, scale=1.0, view=6, distance=4.5, export_texmap=False, save_video=False)
my_instant_mesh.py:177
↓ 1 callersMethodrecover_from_external_array
( self, num_particles: ti.i32, pos: ti.types.ndarray(), vel: t
engine/my_solver.py:1109
↓ 1 callersMethodrecover_from_external_array
( self, num_particles: ti.i32, pos: ti.types.ndarray(), vel: t
engine/mpm_solver.py:1282
↓ 1 callersMethodregister_schedule
(self)
submodules/instant_mesh/zero123plus/model.py:73
↓ 1 callersFunctionremove_borders
Removes keypoints too close to the border
locate/models/superpoint.py:65
↓ 1 callersFunctionrender
(in_dir, begin=0, end=200, step=1, mesh_file=None, fov_x=45, img_size=[640, 480],
rendering.py:109
↓ 1 callersFunctionrender
()
simulation.py:73
↓ 1 callersMethodrender_mesh
Function to render a generated mesh with nvdiffrast :param mesh_v: List of vertices for the mesh :param mesh_f: List of faces
submodules/instant_mesh/models/lrm_mesh.py:238
↓ 1 callersMethodrender_mesh
(self, mesh_v_nx3, mesh_f_fx3, camera_mv_bx4x4, resolution=256, hierarchical_mask=False)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:459
↓ 1 callersMethodrender_mesh
(self, mesh_v_nx3, mesh_f_fx3, camera_mv_bx4x4, resolution=256, hierarchical_mask=False)
submodules/instant_mesh/models/geometry/rep_3d/flexicubes_geometry.py:74
← previousnext →201–300 of 600, ranked by callers