MCPcopy Create free account

hub / github.com/amap-cvlab/MV-Painter / functions

Functions502 in github.com/amap-cvlab/MV-Painter

↓ 2 callersFunctionunscale_image
(image)
MVPainter/mvpainter/model_unet.py:36
↓ 2 callersFunctionunscale_image
(image)
MVPainter/mvpainter/model_controlnet.py:36
↓ 1 callersFunctionJFAVoronoiDiagram
(ping, pong)
MVPainter/mvpainter/differentiable_renderer/voronoi.py:150
↓ 1 callersFunctionLoadGlb
(path)
MVPainter/mvpainter/custom_rasterizer/custom_rasterizer/io_glb.py:144
↓ 1 callersMethod__fetch_data
(self, frame_info, data_dir)
MVPainter/pbr/data/ortho_6_view_dataset.py:129
↓ 1 callersMethod__fetch_data
(self, data_type, object_info)
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:410
↓ 1 callersMethod__fetch_data
(self, frame_info, data_dir)
MVPainter/pbr/data/custom_mv_dataset.py:97
↓ 1 callersMethod__getattr__
(self, name: str)
MVPainter/mvpainter/mvpainter_pipeline.py:274
↓ 1 callersMethod__init__
(self, savedir)
MVPainter/train.py:117
↓ 1 callersMethod__init__
(self, root_dir_list=['objaverse/'], meta_fname='valid', va
MVPainter/src/data/mvpainter_dataset.py:71
↓ 1 callersMethod__init__
( self, num_domains: int, num_attention_heads: int = 16, attention_head_dim: i
MVPainter/pbr/models/transformer_dr2d.py:93
↓ 1 callersMethod_get_add_time_ids
( self, original_size, crops_coords_top_left, target_size, dtype, text_encoder_projection_dim=None
MVPainter/mvpainter/mvpainter_pipeline.py:458
↓ 1 callersMethod_load_pretrained_model_2d
( cls, model, state_dict, resolved_archive_file, pretrained_model_name
MVPainter/pbr/models/unet_dr2d_condition.py:1350
↓ 1 callersMethod_render
( self, glctx, mvp, pos, pos_idx, uv, uv_idx,
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:387
↓ 1 callersMethodadd_controlnet
(self, controlnet: Optional[diffusers.ControlNetModel] = None, conditioning_scale=1.0)
MVPainter/mvpainter/mvpainter_pipeline.py:364
↓ 1 callersFunctionadd_hdri_lighting
(hdri_path)
data_process/blender_script.py:178
↓ 1 callersFunctionadd_hdri_lighting
(hdri_path)
MVPainter/scripts/blender_render_ortho.py:173
↓ 1 callersFunctionadd_hdri_lighting
(hdri_path)
MVPainter/evaluation/blender_render_eval.py:185
↓ 1 callersMethodattention
(self, x: torch.Tensor)
MVPainter/mvpainter/controlnet.py:68
↓ 1 callersMethodbake_from_multiview
(self, views, camera_elevs, camera_azims, view_weights, method='graphcut')
MVPainter/mvpainter/bake_pipeline_mvadapter.py:96
↓ 1 callersMethodbake_from_multiview
(self, views, camera_elevs, camera_azims, view_weights, method='graphcut')
MVPainter/mvpainter/bake_pipeline.py:101
↓ 1 callersMethodbake_from_multiview
(self, views, camera_elevs, camera_azims, view_weights, method='graphcut')
MVPainter/scripts/bake_texture.py:67
↓ 1 callersFunctionbarycentricFromImgcoordCPU
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/rasterizer.cpp:41
↓ 1 callersFunctioncalc_PSNR
calculate the PSNR between the predicted image and ground truth image. a scale is optimized to get best possible PSNR. images are clip by
MVPainter/pbr/utils/metrics.py:16
↓ 1 callersFunctioncalc_lpips
(inputs: np.ndarray, target: np.ndarray, mask: np.ndarray, lpips, device='cuda')
MVPainter/pbr/utils/metrics.py:122
↓ 1 callersFunctioncalculate_score
(root_path)
data_process/get_texture_score.py:291
↓ 1 callersMethodcall_bake
(self, mesh, image_paths)
MVPainter/mvpainter/bake_pipeline_mvadapter.py:161
↓ 1 callersMethodcall_bake
(self, mesh, image_paths)
MVPainter/mvpainter/bake_pipeline.py:166
↓ 1 callersFunctioncape_embed
Embed camera position encoding into attention map Args: p1: query pose b, l_q, pose_dim p2: key pose b, l_k, pose_dim
MVPainter/pbr/models/transformer_dr2d.py:648
↓ 1 callersMethodcartesian_to_spherical
(self, xyz)
MVPainter/pbr/data/ortho_6_view_dataset.py:108
↓ 1 callersMethodcartesian_to_spherical
(self, xyz)
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:141
↓ 1 callersMethodcartesian_to_spherical
(self, xyz)
MVPainter/pbr/data/custom_mv_dataset.py:76
↓ 1 callersMethodcheck_inputs
(self, image, height, width, callback_steps)
MVPainter/pbr/pipelines/pipeline_idarbdiffusion.py:206
↓ 1 callersFunctioncheck_pbr_process_one
(glb_path)
data_process/blender_script.py:328
↓ 1 callersMethodcompute_albedo
Metrics for albedo estimation: SSIM, PSNR(scale-invariant) Args: albedo_pred (numpy.ndarray): [B, H, W, 3]
MVPainter/pbr/utils/metrics.py:161
↓ 1 callersMethodcompute_loss
(self, noise_pred, noise_gt)
MVPainter/mvpainter/model_unet.py:314
↓ 1 callersMethodcompute_loss
(self, noise_pred, noise_gt)
MVPainter/mvpainter/model_controlnet.py:331
↓ 1 callersMethodcompute_material
Metrics for roughness and metallic estimation: L1 loss Args: mr_pred (numpy.ndarray): [B, H, W, 2] mr_gt (num
MVPainter/pbr/utils/metrics.py:202
↓ 1 callersMethodcompute_normal
Metrics for normal estimation: cosine distance and DIA(deviation in angle) Args: normal_pred (numpy.ndarray): [B, H, W,
MVPainter/pbr/utils/metrics.py:228
↓ 1 callersFunctioncompute_snr
Computes SNR as per https://github.com/TiankaiHang/Min-SNR-Diffusion-Training/blob/521b624bd70c67cee4bdf49225915f5945a872e3/guided_diffusion/
MVPainter/train_pbr.py:250
↓ 1 callersFunctionconvert_triangle_fan_to_triangles
(indices)
MVPainter/mvpainter/custom_rasterizer/custom_rasterizer/io_glb.py:103
↓ 1 callersFunctionconvert_triangle_strip_to_triangles
(indices)
MVPainter/mvpainter/custom_rasterizer/custom_rasterizer/io_glb.py:92
↓ 1 callersFunctioncreate_shadeless_material
(original_material)
data_process/blender_script.py:620
↓ 1 callersFunctioncreate_shadeless_material
(original_material)
MVPainter/scripts/blender_render_ortho.py:605
↓ 1 callersFunctioncreate_shadeless_material
(original_material)
MVPainter/evaluation/blender_render_eval.py:655
↓ 1 callersFunctiondepth_exr_to_png
(exr_file, png_file, depth_channel='R', depth_scale=6.0)
data_process/depth_exr_to_png.py:25
↓ 1 callersFunctiondepth_exr_to_png
(exr_file, png_file, depth_channel='V', depth_scale=6.0)
MVPainter/infer_multiview.py:34
↓ 1 callersMethodencode_target_images
(self, images)
MVPainter/mvpainter/model_unet.py:167
↓ 1 callersMethodencode_target_images
(self, images)
MVPainter/mvpainter/model_controlnet.py:180
↓ 1 callersFunctionexr_to_png
(exr_path)
data_process/blender_script.py:420
↓ 1 callersFunctionexr_to_png
(exr_path)
MVPainter/evaluation/blender_render_eval.py:526
↓ 1 callersFunctionfetch_last_seq
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/grid_neighbor.cpp:64
↓ 1 callersFunctionfetch_nearest_seq
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/grid_neighbor.cpp:78
↓ 1 callersMethodforward
(self, x: torch.Tensor)
MVPainter/mvpainter/controlnet.py:44
↓ 1 callersMethodfrom_pretrained_2d
r""" Instantiate a pretrained PyTorch model from a pretrained model configuration. The model is set in evaluation mode - `model.eval(
MVPainter/pbr/models/unet_dr2d_condition.py:1058
↓ 1 callersFunctionget_3x4_RT_matrix_from_blender
(cam)
data_process/blender_script.py:504
↓ 1 callersFunctionget_3x4_RT_matrix_from_blender
(cam)
MVPainter/scripts/blender_render_ortho.py:560
↓ 1 callersFunctionget_3x4_RT_matrix_from_blender
(cam)
MVPainter/evaluation/blender_render_eval.py:610
↓ 1 callersFunctionget_calibration_matrix_K_from_blender
(camd)
data_process/blender_script.py:449
↓ 1 callersFunctionget_calibration_matrix_K_from_blender
(camd)
MVPainter/scripts/blender_render_ortho.py:505
↓ 1 callersFunctionget_calibration_matrix_K_from_blender
(camd)
MVPainter/evaluation/blender_render_eval.py:555
↓ 1 callersFunctionget_calibration_matrix_K_from_blender_for_ortho
(camd, ortho_scale)
data_process/blender_script.py:484
↓ 1 callersFunctionget_calibration_matrix_K_from_blender_for_ortho
(camd, ortho_scale)
MVPainter/scripts/blender_render_ortho.py:540
↓ 1 callersFunctionget_calibration_matrix_K_from_blender_for_ortho
(camd, ortho_scale)
MVPainter/evaluation/blender_render_eval.py:590
↓ 1 callersFunctionget_circular_camera_poses
(M=120, radius=2.5, elevation=30.0)
MVPainter/src/utils/camera_util.py:62
↓ 1 callersFunctionget_elo_score
(pair_dir_list, player_pairs_list = [('hunyuan','mvpainter')],players = ['hunyuan','mvpainter','mvadapter'])
MVPainter/evaluation/calculate_metric.py:62
↓ 1 callersMethodget_mesh
(self)
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:334
↓ 1 callersFunctionget_mv_info
(data_type, abs_info, root_dir, views=3, split='train')
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:22
↓ 1 callersFunctionget_obj_from_str
(string, reload=False)
MVPainter/src/utils/train_util.py:21
↓ 1 callersFunctionget_orthographic_projection_matrix
计算正交投影矩阵。 参数: left (float): 投影区域左侧边界。 right (float): 投影区域右侧边界。 bottom (float): 投影区域底部边界。 top (float): 投影区域顶部
MVPainter/mvpainter/differentiable_renderer/camera_utils.py:84
↓ 1 callersFunctionget_parser
(**parser_kwargs)
MVPainter/train.py:23
↓ 1 callersFunctionget_perspective_projection_matrix
(fovy, aspect_wh, near, far)
MVPainter/mvpainter/differentiable_renderer/camera_utils.py:110
↓ 1 callersFunctionget_platform_specific_args
()
MVPainter/mvpainter/differentiable_renderer/setup.py:6
↓ 1 callersMethodget_pose
(self, c2w)
MVPainter/pbr/data/ortho_6_view_dataset.py:117
↓ 1 callersMethodget_pose
(self, c2w)
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:386
↓ 1 callersMethodget_pose
(self, c2w)
MVPainter/pbr/data/custom_mv_dataset.py:85
↓ 1 callersFunctionget_scene_meshes
Returns all meshes in the scene. Yields: Generator[bpy.types.Object, None, None]: Generator of all meshes in the scene.
MVPainter/evaluation/blender_render_eval.py:516
↓ 1 callersMethodget_texture
(self)
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:347
↓ 1 callersFunctionget_up_block
( up_block_type, num_layers, in_channels, out_channels, prev_output_channel, temb_chan
MVPainter/pbr/models/unet_dr2d_blocks.py:256
↓ 1 callersFunctionget_valid_pbr
(principled_bsdf)
data_process/blender_script.py:284
↓ 1 callersFunctionget_valid_pbr
(principled_bsdf)
MVPainter/scripts/blender_render_ortho.py:281
↓ 1 callersFunctionget_valid_pbr
(principled_bsdf)
MVPainter/evaluation/blender_render_eval.py:293
↓ 1 callersFunctionget_world_bounding_box
Calculate world space bounding box considering modifiers and transformations
data_process/blender_script.py:525
↓ 1 callersFunctionget_world_transform
(gltf, node_index, parents, world_transforms)
MVPainter/mvpainter/custom_rasterizer/custom_rasterizer/io_glb.py:127
↓ 1 callersFunctioninfer
Infer multi-view images from a single image.
MVPainter/infer_multiview.py:121
↓ 1 callersFunctioninterpolate
(attr, rast, attr_idx, rast_db=None)
MVPainter/src/utils/mesh_util.py:157
↓ 1 callersFunctionisBarycentricCoordInBounds
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/rasterizer.h:37
↓ 1 callersFunctionkey2cornerpos
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/grid_neighbor.cpp:20
↓ 1 callersMethodload_c2w_abo
(self, camera_info)
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:395
↓ 1 callersMethodload_c2w_arbo
(self, camera_info)
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:401
↓ 1 callersMethodload_c2w_gob
(self, camera_json)
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:374
↓ 1 callersFunctionload_config
(cfg_path)
MVPainter/pbr/utils/config.py:83
↓ 1 callersMethodload_im_cond
(self, path, color, random_ratio=0.8)
MVPainter/src/data/mvpainter_dataset.py:176
↓ 1 callersMethodload_im_normal
(self, path, color, random_ratio=0.8)
MVPainter/src/data/mvpainter_dataset.py:287
↓ 1 callersMethodload_image
(self, img_path, bg_color, alpha, return_type='np')
MVPainter/pbr/data/custom_dataset.py:26
↓ 1 callersMethodload_image
(self, img_path, bg_color, alpha, return_type='np')
MVPainter/pbr/data/ortho_6_view_dataset.py:47
↓ 1 callersMethodload_image
(self, img_path, bg_color, alpha, return_type='np')
MVPainter/pbr/data/custom_mv_dataset.py:30
↓ 1 callersMethodload_img_depth
(self,path,color,random_ratio=0.8)
MVPainter/src/data/mvpainter_dataset.py:315
↓ 1 callersMethodload_mask
(self, img_path, return_type='np')
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:150
↓ 1 callersFunctionload_mesh
(mesh)
MVPainter/mvpainter/differentiable_renderer/mesh_utils.py:28
← previousnext →101–200 of 502, ranked by callers