MCPcopy Create free account

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

Functions600 in github.com/by-luckk/PhysGen3D

↓ 33 callersMethodupdate
(self, name='default')
locate/models/utils.py:74
↓ 22 callersMethodcopy
(self, img: ti.types.ndarray(), samples: ti.i32)
engine/renderer.py:521
↓ 13 callersMethodrender
(self)
engine/renderer.py:409
↓ 10 callersMethod__init__
(self, config: ViTConfig)
submodules/instant_mesh/models/encoder/dino.py:308
↓ 9 callersFunctionsave_image
Saves a float image array with range [0..1] as 8 bit PNG
inverse/mitsuba_neus.py:80
↓ 9 callersMethodstep
(self, frame_dt, print_stat=False, smry_writer=None)
engine/my_solver.py:748
↓ 8 callersFunctionVector2
(x, y)
engine/renderer_utils.py:162
↓ 8 callersFunctionestimate_pose
(mesh_file, pcd_file, ref_img, raw_img, mask_box, out_dir, num_samples=8, num_ups=1)
locate/fit_object_pytorch3d.py:241
↓ 8 callersFunctioninside
(p, c, r)
engine/renderer_utils.py:148
↓ 7 callersMethodlook_at
(self, x: ti.f32, y: ti.f32, z: ti.f32)
engine/renderer.py:401
↓ 7 callersMethodseed_particle
(self, i, x, material, color, velocity, emmiter_id)
engine/my_solver.py:824
↓ 7 callersMethodseed_particle
(self, i, x, material, color, velocity, emmiter_id)
engine/mpm_solver.py:919
↓ 6 callersFunctionoptimize_mesh_pose
init_transform: [axis_angle, transition] each represented as a 1*3 tensor
locate/pytorch_opt.py:185
↓ 6 callersMethodset_source_velocity
(self, velocity)
engine/mpm_solver.py:968
↓ 5 callersMethod__init__
(self, state_dict: Dict[str, torch.Tensor])
submodules/instant_mesh/zero123plus/pipeline.py:228
↓ 5 callersFunctionget_white_mask_area
(mask_img)
locate/pytorch_opt.py:328
↓ 5 callersFunctionsave_array_to_img
(img_arr, img_p)
utils/utils.py:13
↓ 5 callersFunctionsave_image
Saves a float image array with range [0..1] as 8 bit PNG
inverse/mitsuba_inverse.py:22
↓ 5 callersMethodset_source_velocity
(self, velocity)
engine/my_solver.py:852
↓ 4 callersMethod__init__
(self, config)
locate/models/superglue.py:206
↓ 4 callersMethodcopy_dynamic
(self, np_x: ti.types.ndarray(), input_x: ti.template())
engine/my_solver.py:1155
↓ 4 callersMethodcopy_dynamic
(self, np_x: ti.types.ndarray(), input_x: ti.template())
engine/mpm_solver.py:1328
↓ 4 callersFunctionextract_into_tensor
(a, t, x_shape)
submodules/instant_mesh/zero123plus/model.py:37
↓ 4 callersFunctionload_image_as_array
(image_path)
inverse/mitsuba_inverse_mod.py:327
↓ 4 callersFunctionload_image_as_array
(image_path)
inverse/mitsuba_inverse_spline.py:398
↓ 4 callersFunctionload_image_as_array
(image_path)
inverse/mitsuba_inverse_poly.py:440
↓ 4 callersFunctionload_image_as_array
(image_path)
inverse/mitsuba_inverse.py:291
↓ 4 callersFunctionnumpy_to_drjit
(np_array)
locate/optimization.py:13
↓ 4 callersFunctionoptimize
(mesh_file, init_metrix, fov_x, img_size, ref_img, mask_box, ref_normal, ref_depth, raw_image=None)
locate/optimization.py:109
↓ 4 callersFunctionpoint_aabb_distance2
(box_min, box_max, o)
engine/renderer_utils.py:117
↓ 4 callersFunctionrotate_mesh
Rotate the mesh vertices around the x, y, and z axes by the given angles (in degrees).
engine/mesh_io.py:28
↓ 4 callersFunctionsave_image
Saves a float image array with range [0..1] as 8 bit PNG
inverse/mitsuba_inverse_mod.py:24
↓ 4 callersFunctionsave_image
Saves a float image array with range [0..1] as 8 bit PNG
inverse/mitsuba_inverse_spline.py:27
↓ 4 callersFunctionsave_image
Saves a float image array with range [0..1] as 8 bit PNG
inverse/mitsuba_inverse_poly.py:28
↓ 4 callersMethodsdf
(self, o)
engine/renderer.py:164
↓ 4 callersMethodstencil_range
(self)
engine/my_solver.py:313
↓ 4 callersMethodstencil_range
(self)
engine/mpm_solver.py:330
↓ 4 callersFunctionvisualize_results
(ref_image, rendered_image, title, save_dir)
locate/pytorch_opt.py:93
↓ 3 callersMethodcopy_dynamic_nd
(self, np_x: ti.types.ndarray(), input_x: ti.template())
engine/my_solver.py:1149
↓ 3 callersMethodcopy_dynamic_nd
(self, np_x: ti.types.ndarray(), input_x: ti.template())
engine/mpm_solver.py:1322
↓ 3 callersMethodcopy_ranged
(self, np_x: ti.types.ndarray(), input_x: ti.template(), begin: ti.i32, end: ti.i32)
engine/my_solver.py:1160
↓ 3 callersFunctioncross2d
(a, b)
engine/voxelizer.py:6
↓ 3 callersFunctionfit_polynomial
(albedo_init_R, albedo_final_R, degree=3)
inverse/mitsuba_inverse.py:126
↓ 3 callersMethodforward_geometry
Main function of our Generator. It first generate 3D mesh, then render it into 2D image with given `render_cameras`. :param p
submodules/instant_mesh/models/lrm_mesh.py:270
↓ 3 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_mesh.py:192
↓ 3 callersFunctioninpaint_img_with_lama
( img: np.ndarray, mask: np.ndarray, config_p: str, ckpt_p: str, mod=8
lama_inpaint.py:87
↓ 3 callersMethodinside_particle_grid
(self, ipos)
engine/renderer.py:278
↓ 3 callersFunctioninstantiate_from_config
(config)
submodules/instant_mesh/utils/train_util.py:11
↓ 3 callersFunctionload_img_to_array
(img_p)
utils/utils.py:6
↓ 3 callersFunctionmax_pool
(x)
locate/models/superpoint.py:51
↓ 3 callersMethodparticle_info
(self)
engine/my_solver.py:1174
↓ 3 callersFunctionprocess_resize
(w, h, resize)
locate/models/utils.py:240
↓ 3 callersMethodread_particles_3d
(fn)
engine/particle_io.py:79
↓ 3 callersFunctionrender_depth
(ply_file, fov_x, img_size)
locate/pytorch_opt.py:147
↓ 3 callersFunctionsample_from_planes
(plane_axes, plane_features, coordinates, mode='bilinear', padding_mode='zeros', box_warp=None)
submodules/instant_mesh/models/renderer/utils/renderer.py:62
↓ 3 callersMethodset_gravity
(self, g)
engine/my_solver.py:316
↓ 3 callersFunctionsort_edges
(edges_ex2)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:47
↓ 3 callersMethodtranspose_for_scores
(self, x: torch.Tensor)
submodules/instant_mesh/models/encoder/dino.py:172
↓ 3 callersMethodvoxelize
(self, triangles)
engine/voxelizer.py:111
↓ 3 callersFunctionwrite_point_cloud
(fn, pos_and_color)
engine/mesh_io.py:204
↓ 2 callersFunctionFOV_to_intrinsics
Creates a 3x3 camera intrinsics matrix from the camera field of view, specified in degrees. Note the intrinsics are returned as normalized by
submodules/instant_mesh/utils/camera_util.py:84
↓ 2 callersFunctionMLP
Multi-layer perceptron
locate/models/superglue.py:51
↓ 2 callersMethod_forward_pass
Additional filtering is applied to filter out-of-box samples. Modifications made by Zexin He.
submodules/instant_mesh/models/renderer/utils/renderer.py:121
↓ 2 callersMethod_linear_interp
Computes the location of zero-crossings on 'edges_x' using linear interpolation with 'edges_weight'.
submodules/instant_mesh/models/geometry/rep_3d/flexicubes.py:331
↓ 2 callersMethodactivation_factory
(options: dict)
submodules/instant_mesh/models/renderer/utils/renderer.py:114
↓ 2 callersFunctionapply_transform
(rotation, transition, scale, verts, device)
locate/pytorch_opt.py:137
↓ 2 callersFunctionarange_like
(x, dim: int)
locate/models/superglue.py:175
↓ 2 callersFunctionbasis_functions
(x)
inverse/mitsuba_inverse_mod.py:129
↓ 2 callersFunctionbasis_functions
(x)
inverse/mitsuba_inverse_spline.py:168
↓ 2 callersFunctionbasis_functions
(x)
inverse/mitsuba_inverse_poly.py:160
↓ 2 callersMethodbuild_pid
grid has blocking (e.g. 4x4x4), we wish to put the particles from each block into a GPU block, then used shared memory (ti.block_loca
engine/my_solver.py:345
↓ 2 callersMethodbuild_pid
grid has blocking (e.g. 4x4x4), we wish to put the particles from each block into a GPU block, then used shared memory (ti.block_loca
engine/mpm_solver.py:362
↓ 2 callersFunctioncenter_looking_at_camera_pose
Create OpenGL camera extrinsics from camera locations and look-at position. camera_position: (M, 3) or (3,) look_at: (3) up_world: (
submodules/instant_mesh/utils/camera_util.py:16
↓ 2 callersMethodcompute_max_grid_velocity
(self, grid_v: ti.template())
engine/my_solver.py:738
↓ 2 callersMethodcompute_max_grid_velocity
(self, grid_v: ti.template())
engine/mpm_solver.py:828
↓ 2 callersMethodcompute_max_velocity
(self)
engine/my_solver.py:727
↓ 2 callersMethodcompute_max_velocity
(self)
engine/mpm_solver.py:806
↓ 2 callersFunctioncompute_polynomial
(opt, color_init)
inverse/mitsuba_inverse_poly.py:143
↓ 2 callersFunctioncompute_principal_pt
Convert principal point to format expected by Mitsuba - offset from center
inverse/mitsuba_neus.py:15
↓ 2 callersFunctioncompute_spline
(opt, color_init)
inverse/mitsuba_inverse_spline.py:151
↓ 2 callersFunctioncompute_transform_matrix
(rotation, transition, scale, device)
locate/pytorch_opt.py:127
↓ 2 callersMethodencode_condition_image
(self, image: torch.Tensor)
submodules/instant_mesh/zero123plus/pipeline.py:322
↓ 2 callersMethodencode_condition_image
(self, images)
submodules/instant_mesh/zero123plus/model.py:135
↓ 2 callersFunctionencode_image
(image)
utils/gpt_eval.py:45
↓ 2 callersMethodfill
(self, p, q, height, inc)
engine/voxelizer.py:42
↓ 2 callersMethodforward
(self, lrm_generator_input)
submodules/instant_mesh/model_mesh.py:185
↓ 2 callersMethodforward
(self, lrm_generator_input)
submodules/instant_mesh/model.py:169
↓ 2 callersMethodforward_planes
(self, images, cameras)
submodules/instant_mesh/models/lrm.py:68
↓ 2 callersMethodforward_points
(self, planes, points: torch.Tensor, chunk_size: int = 2**20)
submodules/instant_mesh/models/renderer/synthesizer.py:178
↓ 2 callersFunctiongenerate_planes
Defines planes by the three vectors that form the "axes" of the plane. Should work with arbitrary number of planes and planes of arbitrar
submodules/instant_mesh/models/renderer/utils/renderer.py:28
↓ 2 callersMethodget_geometry_prediction
Function to generate mesh with give triplanes :param planes: triplane features
submodules/instant_mesh/models/lrm_mesh.py:159
↓ 2 callersMethodget_mesh
(self, v_deformed_nx3, sdf_n, with_uv=False, indices=None)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:434
↓ 2 callersMethodgrid_normalization_and_gravity
(self, dt: ti.f32, grid_v: ti.template(), grid_m: ti.template())
engine/my_solver.py:587
↓ 2 callersMethodgrid_normalization_and_gravity
(self, dt: ti.f32, grid_v: ti.template(), grid_m: ti.template())
engine/mpm_solver.py:664
↓ 2 callersMethodinit_flexicubes_geometry
(self, device, fovy=50.0)
submodules/instant_mesh/models/lrm_mesh.py:77
↓ 2 callersFunctioninside_ccw
(p, a, b, c)
engine/voxelizer.py:11
↓ 2 callersFunctioninterpolate
(attr, rast, attr_idx, rast_db=None)
submodules/instant_mesh/models/geometry/render/neural_render.py:17
↓ 2 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_mod.py:31
↓ 2 callersFunctionload_input_model
(model_path, with_metallic, with_roughness, trafo, tex_map=None, tex_dim=2048, starting_values=(0.5, 0, 0))
inverse/mitsuba_inverse_spline.py:34
↓ 2 callersFunctionload_input_model
(model_path, with_metallic, with_roughness, trafo, tex_map=None, tex_dim=2048, starting_values=(0.5, 0, 0))
inverse/mitsuba_inverse_poly.py:35
next →1–100 of 600, ranked by callers