MCPcopy Create free account

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

Functions600 in github.com/by-luckk/PhysGen3D

↓ 1 callersFunctionrender_multi_images
(mesh, width=640, height=480, fov=1, radius=3.0, num_samples=6, num_ups=2, device='cpu')
locate/fit_object_pytorch3d.py:144
↓ 1 callersMethodreset
(self)
engine/renderer.py:567
↓ 1 callersFunctionrotation_6d_to_matrix
(d6: torch.Tensor)
locate/pytorch_opt.py:119
↓ 1 callersFunctionrun_estimation
(mesh, cameras, images, iterations, batch_size, with_metallic=True, with_roughness=True, env_width=256)
inverse/mitsuba_neus.py:132
↓ 1 callersFunctionrun_material_optimization
(mesh, ref_image, fov_x, img_size, env_file=None, dataset_dir=None, iterations=100, lr=1)
inverse/mitsuba_inverse.py:202
↓ 1 callersMethodrun_model_activated
(self, planes, decoder, sample_coordinates, sample_directions, options)
submodules/instant_mesh/models/renderer/utils/renderer.py:206
↓ 1 callersFunctionrun_mpm_simulation
(input_path, velocities, filling=True, pull_to_ground=True, save_video=False, with_gui=Fa
simulation.py:17
↓ 1 callersFunctionsample_camera_poses
Generate camera poses around a sphere with a given radius. camera_poses: A list of 4x4 transformation matrices representing the camera poses.
locate/fit_object_pytorch3d.py:49
↓ 1 callersFunctionsample_descriptors
Interpolate descriptors at keypoint locations
locate/models/superpoint.py:80
↓ 1 callersFunctionsample_frames
(video_path, num_frames=10)
utils/gpt_eval.py:24
↓ 1 callersMethodsample_importance
Return depths of importance sampled points along rays. See NeRF importance sampling for more.
submodules/instant_mesh/models/renderer/utils/renderer.py:264
↓ 1 callersMethodsample_pdf
Sample @N_importance samples from @bins with distribution defined by @weights. Inputs: bins: (N_rays, N_samples_+1) where
submodules/instant_mesh/models/renderer/utils/renderer.py:284
↓ 1 callersFunctionsave_mask_data
(output_dir, mask_list, box_list, label_list)
perception.py:136
↓ 1 callersFunctionsave_obj
(pointnp_px3, facenp_fx3, colornp_px3, fpath)
submodules/instant_mesh/utils/mesh_util.py:18
↓ 1 callersFunctionsave_obj_with_mtl
(pointnp_px3, tcoords_px2, facenp_fx3, facetex_fx3, texmap_hxwx3, fname)
submodules/instant_mesh/utils/mesh_util.py:43
↓ 1 callersFunctionscale_latents
(latents)
submodules/instant_mesh/zero123plus/model.py:17
↓ 1 callersMethodsdf_color
(self, p)
engine/renderer.py:209
↓ 1 callersMethodsdf_normal
(self, p)
engine/renderer.py:197
↓ 1 callersFunctionsdf_reg_loss_batch
(sdf, all_edges)
submodules/instant_mesh/model_mesh.py:15
↓ 1 callersMethodseed
(self, new_particles: ti.i32, new_material: ti.i32, color: ti.i32, E: ti.f32, nu: ti.f32, rho: ti.f32)
engine/mpm_solver.py:953
↓ 1 callersMethodseed_ellipsoid
(self, new_particles: ti.i32, new_material: ti.i32, color: ti.i32)
engine/my_solver.py:970
↓ 1 callersMethodseed_ellipsoid
(self, new_particles: ti.i32, new_material: ti.i32, color: ti.i32, E: ti.f32, nu: ti.f3
engine/mpm_solver.py:1088
↓ 1 callersMethodseed_from_external_array
(self, num_particles: ti.i32, pos: ti.types.ndarray(), new_material: ti.i32,
engine/my_solver.py:1084
↓ 1 callersMethodseed_from_external_array
(self, num_particles: ti.i32, pos: ti.types.ndarray(), new_material: ti.i32,
engine/mpm_solver.py:1221
↓ 1 callersMethodseed_from_external_array_colors
(self, num_particles: ti.i32, pos: ti.types.ndarray(), new_material: ti.i32,
engine/mpm_solver.py:1242
↓ 1 callersMethodseed_from_voxels
( self, material: ti.i32, color: ti.i32, sample_density: ti.i3
engine/my_solver.py:1018
↓ 1 callersMethodseed_from_voxels
( self, material: ti.i32, color: ti.i32, sample_density: ti.i3
engine/mpm_solver.py:1144
↓ 1 callersMethodseed_particle_colors
(self, i, x, material, color, velocity, emmiter_id)
engine/mpm_solver.py:936
↓ 1 callersMethodseed_polygon
(self, new_particles: ti.i32, sides: ti.i32, angle: ti.f32, new_material: ti.i32, color:
engine/my_solver.py:934
↓ 1 callersMethodseed_polygon
(self, new_particles: ti.i32, sides: ti.i32, angle: ti.f32, new_material: ti.i32, color:
engine/mpm_solver.py:1052
↓ 1 callersFunctionselect_point
(pcd, match_points_on_raw, img_size)
locate/fit_object_pytorch3d.py:21
↓ 1 callersFunctionset_color
(ti_color: ti.template(), material_color: ti.types.ndarray(), ti_material: ti.template())
simulation.py:64
↓ 1 callersMethodset_fov
(self, fov: ti.f32)
engine/renderer.py:405
↓ 1 callersMethodset_up
(self, x: ti.f32, y: ti.f32, z: ti.f32)
engine/renderer.py:397
↓ 1 callersFunctionsetup_args
(parser)
lama_inpaint.py:230
↓ 1 callersFunctionshow_box
(box, ax, label)
perception.py:129
↓ 1 callersFunctionshow_mask
(mask, ax, random_color=False)
perception.py:120
↓ 1 callersFunctionsilhouette_loss_func
(pred_masks, gt_masks)
locate/pytorch_opt.py:27
↓ 1 callersFunctionsimple_nms
Fast Non-maximum suppression to remove nearby points
locate/models/superpoint.py:47
↓ 1 callersFunctionsphere_aabb_intersect_motion
(box_min, box_max, o1, o2, radius)
engine/renderer_utils.py:130
↓ 1 callersFunctionspherical_camera_pose
(azimuths: np.ndarray, elevations: np.ndarray, radius=2.5)
submodules/instant_mesh/utils/camera_util.py:47
↓ 1 callersFunctionstack_torch
(tensor_list, dim)
inverse/mitsuba_inverse_poly.py:134
↓ 1 callersMethodstart_ip_camera_thread
(self)
locate/models/utils.py:213
↓ 1 callersFunctiontet_to_tet_adj_sparse
(tet_tx4)
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:272
↓ 1 callersFunctiontone_mapping
(albedo_init, albedo_final, roughness_final=None, metallic_final=None, save_dir=None, k=50, use_hsv=False)
inverse/mitsuba_inverse_spline.py:202
↓ 1 callersFunctiontone_mapping
(albedo_init, albedo_final, roughness_final=None, metallic_final=None, save_dir=None, k=50, use_hsv=False)
inverse/mitsuba_inverse_poly.py:194
↓ 1 callersFunctiontop_k_keypoints
(keypoints, scores, k: int)
locate/models/superpoint.py:73
↓ 1 callersMethodunify_samples
(self, depths1, colors1, densities1, depths2, colors2, densities2, normals1=None, normals2=None)
submodules/instant_mesh/models/renderer/utils/renderer.py:218
↓ 1 callersFunctionunscale_image
(image)
submodules/instant_mesh/zero123plus/pipeline.py:171
↓ 1 callersFunctionunscale_latents
(latents)
submodules/instant_mesh/zero123plus/pipeline.py:161
↓ 1 callersFunctionunscale_latents
(latents)
submodules/instant_mesh/zero123plus/model.py:22
↓ 1 callersFunctionupdate_sensor_view
(params, cam)
inverse/mitsuba_neus.py:88
↓ 1 callersFunctionvisualize
(particles)
simulation.py:88
↓ 1 callersMethodvoxel_color
(self, pos)
engine/renderer.py:148
↓ 1 callersMethodvoxelize_triangles
(self, num_triangles: ti.i32, triangles: ti.types.ndarray())
engine/voxelizer.py:47
↓ 1 callersMethodwrite_particles
(self, fn, slice_size=1000000)
engine/my_solver.py:1200
↓ 1 callersFunctionxfm_points
Transform points. Args: points: Tensor containing 3D points with shape [minibatch_size, num_vertices, 3] or [1, num_vertices, 3] m
submodules/instant_mesh/models/geometry/render/neural_render.py:23
Method__call__
( self, attn: Attention, hidden_states, encoder_hidden_states=None, attention_mask=None, mode=
submodules/instant_mesh/zero123plus/pipeline.py:55
Method__call__
( self, image: Image.Image = None, prompt = "", *args, num_images_per_
submodules/instant_mesh/zero123plus/pipeline.py:327
Method__call__
r""" Main function for mesh extraction from scalar field using FlexiCubes. This function converts discrete signed distance fields, en
submodules/instant_mesh/models/geometry/rep_3d/flexicubes.py:133
Method__getattr__
(self, name: str)
submodules/instant_mesh/zero123plus/pipeline.py:100
Method__getitem__
(self, key)
submodules/instant_mesh/zero123plus/pipeline.py:223
Method__init__
( self, config, input_path, output_path='outputs/', seed=42, )
my_instant_mesh.py:65
Method__init__
(self, smoothing=0.3, newline=False)
locate/models/utils.py:60
Method__init__
(self, basedir, resize, skip, image_glob, max_length=1000000)
locate/models/utils.py:106
Method__init__
(self, feature_dim: int, layers: List[int])
locate/models/superglue.py:77
Method__init__
(self, num_heads: int, d_model: int)
locate/models/superglue.py:96
Method__init__
(self, feature_dim: int, num_heads: int)
locate/models/superglue.py:113
Method__init__
(self, feature_dim: int, layer_names: List[str])
locate/models/superglue.py:125
Method__init__
(self, config={})
locate/models/matching.py:51
Method__init__
(self, config)
locate/models/superpoint.py:111
Method__init__
(self, res, dx, super_sample=2, precision=ti.f64, padding=3)
engine/voxelizer.py:18
Method__init__
(self, dx=1 / 1024, sphere_radius=0.3 / 1024, render_voxel=
engine/renderer.py:28
Method__init__
( self, res, quant=False, use_voxelizer=True, size
engine/my_solver.py:44
Method__init__
( self, res, quant=False, use_voxelizer=True, size
engine/mpm_solver.py:46
Method__init__
( self, lrm_generator_config, input_size=256, render_size=512, init_ck
submodules/instant_mesh/model_mesh.py:27
Method__init__
( self, lrm_generator_config, lrm_path=None, input_size=256, render_si
submodules/instant_mesh/model.py:15
Method__init__
( self, chained_proc, enabled=False, name=None )
submodules/instant_mesh/zero123plus/pipeline.py:44
Method__init__
(self, unet: UNet2DConditionModel, train_sched: DDPMScheduler, val_sched: EulerAncestralDiscreteScheduler)
submodules/instant_mesh/zero123plus/pipeline.py:81
Method__init__
(self, unet: RefOnlyNoisedUNet, controlnet: Optional[diffusers.ControlNetModel] = None, conditioning_scale=1.0
submodules/instant_mesh/zero123plus/pipeline.py:177
Method__init__
(self, procs: dict)
submodules/instant_mesh/zero123plus/pipeline.py:218
Method__init__
( self, vae: AutoencoderKL, text_encoder: CLIPTextModel, tokenizer: CLIPTokeni
submodules/instant_mesh/zero123plus/pipeline.py:286
Method__init__
( self, stable_diffusion_config, drop_cond_prob=0.1, )
submodules/instant_mesh/zero123plus/model.py:44
Method__init__
( self, encoder_freeze: bool = False, encoder_model_name: str = 'facebook/dino-vitb1
submodules/instant_mesh/models/lrm.py:32
Method__init__
( self, encoder_freeze: bool = False, encoder_model_name: str = 'facebook/dino-vitb1
submodules/instant_mesh/models/lrm_mesh.py:34
Method__init__
(self, triplane_dim: int, samples_per_ray: int)
submodules/instant_mesh/models/renderer/synthesizer_mesh.py:112
Method__init__
(self, triplane_dim: int, samples_per_ray: int)
submodules/instant_mesh/models/renderer/synthesizer.py:80
Method__init__
(self)
submodules/instant_mesh/models/renderer/utils/renderer.py:107
Method__init__
(self)
submodules/instant_mesh/models/renderer/utils/ray_sampler.py:87
Method__init__
(self, activation_factory)
submodules/instant_mesh/models/renderer/utils/ray_marcher.py:26
Method__init__
(self)
submodules/instant_mesh/models/geometry/camera/__init__.py:14
Method__init__
(self, fovy=49.0, device='cuda')
submodules/instant_mesh/models/geometry/camera/perspective_camera.py:25
Method__init__
(self)
submodules/instant_mesh/models/geometry/rep_3d/__init__.py:14
Method__init__
( self, grid_res=64, scale=2.0, device='cuda', renderer=None, render_type='neural_rend
submodules/instant_mesh/models/geometry/rep_3d/dmtet.py:397
Method__init__
(self, device="cuda", qef_reg_scale=1e-3, weight_scale=0.99)
submodules/instant_mesh/models/geometry/rep_3d/flexicubes.py:67
Method__init__
( self, grid_res=64, scale=2.0, device='cuda', renderer=None, render_type='neural_rend
submodules/instant_mesh/models/geometry/rep_3d/flexicubes_geometry.py:36
Method__init__
(self)
submodules/instant_mesh/models/geometry/render/__init__.py:4
Method__init__
(self, device='cuda', camera_model=None)
submodules/instant_mesh/models/geometry/render/neural_render.py:70
Method__init__
(self, model_name: str, freeze: bool = True)
submodules/instant_mesh/models/encoder/dino_wrapper.py:26
Method__init__
(self, config: ViTConfig, use_mask_token: bool = False)
submodules/instant_mesh/models/encoder/dino.py:39
← previousnext →301–400 of 600, ranked by callers