MCPcopy Create free account

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

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

↓ 1 callersMethodload_mr_abo
(self, img_path, bg_color, alpha, return_type='np')
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:349
↓ 1 callersMethodload_mr_gob
(self, img_path, bg_color, alpha, return_type='np')
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:325
↓ 1 callersMethodload_normal_abo
Load normal map and transform it to normal bae system Adpated from https://github.com/modelscope/richdreamer/blob/main/dataset/gobjav
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:250
↓ 1 callersMethodload_normal_arbo
(self, normal_path, bg_color, alpha, return_type='np')
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:289
↓ 1 callersMethodload_normal_gob
Load normal map and transform it to normal bae system Adpated from https://github.com/modelscope/richdreamer/blob/main/dataset/gobjav
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:201
↓ 1 callersFunctionload_object
Loads a glb model into the scene.
MVPainter/scripts/blender_render_ortho.py:264
↓ 1 callersFunctionload_object
Loads a glb model into the scene.
MVPainter/evaluation/blender_render_eval.py:276
↓ 1 callersFunctionload_pipeline
load pipeline from hub or load from local ckpts: pipeline = IDArbDiffusionPipeline.from_pretrained("./pipeckpts")
MVPainter/infer_pbr.py:73
↓ 1 callersFunctionlog_validation
(dataloader, vae, text_encoder, tokenizer, feature_extractor, unet, cfg: TrainingConfig, accelerator: Accelera
MVPainter/train_pbr.py:79
↓ 1 callersFunctionmain
( cfg: TrainingConfig )
MVPainter/train_pbr.py:191
↓ 1 callersFunctionmeshVerticeInpaint
(texture, mask, vtx_pos, vtx_uv, pos_idx, uv_idx, method="smooth")
MVPainter/mvpainter/differentiable_renderer/mesh_processor.py:66
↓ 1 callersFunctionmeshVerticeInpaint_smooth
MVPainter/mvpainter/differentiable_renderer/mesh_processor.cpp:12
↓ 1 callersFunctionmeshVerticeInpaint_smooth
(texture, mask, vtx_pos, vtx_uv, pos_idx, uv_idx)
MVPainter/mvpainter/differentiable_renderer/mesh_processor.py:3
↓ 1 callersFunctionnormalize_obj
Normalize OBJ file and return scale and offset.
data_process/blender_script.py:548
↓ 1 callersFunctionnormalize_scene
(scale, offset)
data_process/blender_script.py:594
↓ 1 callersFunctionnormalize_scene
()
MVPainter/scripts/blender_render_ortho.py:576
↓ 1 callersFunctionnormalize_scene
()
MVPainter/evaluation/blender_render_eval.py:626
↓ 1 callersFunctionpad_camera_extrinsics_4x4
(extrinsics)
MVPainter/src/utils/camera_util.py:6
↓ 1 callersFunctionpos_ptr
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/grid_neighbor.cpp:29
↓ 1 callersFunctionprepare_depth_outputs
()
data_process/blender_script.py:161
↓ 1 callersFunctionprepare_depth_outputs
()
MVPainter/scripts/blender_render_ortho.py:156
↓ 1 callersFunctionprepare_depth_outputs
()
MVPainter/evaluation/blender_render_eval.py:168
↓ 1 callersMethodprepare_extra_step_kwargs
(self, generator, eta)
MVPainter/pbr/pipelines/pipeline_idarbdiffusion.py:189
↓ 1 callersMethodprepare_latents
(self, batch_size, num_channels_latents, height, width, dtype, device, generator, latents=None)
MVPainter/pbr/pipelines/pipeline_idarbdiffusion.py:229
↓ 1 callersMethodprepare_text_embeddings
(self)
MVPainter/pbr/pipelines/pipeline_idarbdiffusion.py:247
↓ 1 callersFunctionprocess
(root_dir,depth_scale = 6.0,num_views = 32)
data_process/depth_exr_to_png.py:55
↓ 1 callersFunctionprocess_tensors
(tensor1, tensor2)
MVPainter/mvpainter/differentiable_renderer/voronoi.py:26
↓ 1 callersMethodrandom_resize
(self,img,random_ratio=0.8)
MVPainter/src/data/mvpainter_dataset.py:108
↓ 1 callersFunctionrasterizeTriangleCPU
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/rasterizer.cpp:3
↓ 1 callersFunctionrasterize_image_cpu
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/rasterizer.cpp:94
↓ 1 callersFunctionread_exr
(s, width, height)
data_process/blender_script.py:426
↓ 1 callersFunctionread_exr
(s, width, height)
MVPainter/evaluation/blender_render_eval.py:532
↓ 1 callersFunctionrecenter_img
(img, size=512, color=(255,255,255))
MVPainter/mvpainter/mvpainter_pipeline.py:79
↓ 1 callersFunctionreduce_mesh
(fname, decimate_type='DECIMATE', target_vertices=5000, smooth_type=1,output_path = None)
MVPainter/scripts/remesh_reduce_blender_script.py:31
↓ 1 callersFunctionreform_image
(img_nd)
MVPainter/infer_pbr.py:20
↓ 1 callersMethodregister_schedule
(self)
MVPainter/mvpainter/model_unet.py:90
↓ 1 callersMethodregister_schedule
(self)
MVPainter/mvpainter/model_controlnet.py:103
↓ 1 callersFunctionremove_background
(image: PIL.Image.Image, rembg_session: Any = None, force: bool = False, **rembg_kwargs, )
MVPainter/src/utils/infer_util.py:11
↓ 1 callersFunctionrender
(render_lines)
data_process/run_blender.py:10
↓ 1 callersFunctionrender
(predict_glb_dir,exp_name)
MVPainter/evaluation/render_eval.py:24
↓ 1 callersFunctionrender_and_save
(view_id, object_uid, len_val, azimuth, elevation, distance, ortho=False,prefix="")
data_process/blender_script.py:679
↓ 1 callersFunctionrender_and_save
(view_id, object_uid, len_val, azimuth, elevation, distance, ortho=False,prefix="")
MVPainter/scripts/blender_render_ortho.py:667
↓ 1 callersFunctionrender_and_save
(view_id, object_uid, len_val, azimuth, elevation, distance, ortho=False,prefix="")
MVPainter/evaluation/blender_render_eval.py:717
↓ 1 callersFunctionrender_single
(predict_glb_path,exp_name,geo_rotation=-90)
MVPainter/evaluation/render_eval.py:8
↓ 1 callersMethodrender_sketch_from_depth
(self, depth_image)
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:692
↓ 1 callersFunctionreset_scene
Resets the scene to a clean state. Returns: None
MVPainter/scripts/quad_remesher.py:5
↓ 1 callersFunctionresize_foreground
( image: PIL.Image.Image, ratio: float, )
MVPainter/src/utils/infer_util.py:25
↓ 1 callersMethodrotate_normal_z_90
将包含 normal 信息的张量绕 z 轴旋转 90 度 :param tensor: shape 为 (c, h, w),其中 c = 3,表示 (x, y, z) 的 normal 信息 :return: 旋转后的张量
MVPainter/src/data/mvpainter_dataset.py:360
↓ 1 callersMethodrun_safety_checker
(self, image, device, dtype)
MVPainter/pbr/pipelines/pipeline_idarbdiffusion.py:160
↓ 1 callersMethodsave_code_snapshot
(self)
MVPainter/train.py:121
↓ 1 callersFunctionsave_images
Saves rendered images of the object in the scene.
MVPainter/scripts/blender_render_ortho.py:734
↓ 1 callersFunctionsave_images
Saves rendered images of the object in the scene.
MVPainter/evaluation/blender_render_eval.py:784
↓ 1 callersFunctionsave_mesh
(mesh, texture_data)
MVPainter/mvpainter/differentiable_renderer/mesh_utils.py:40
↓ 1 callersFunctionscale_image
(img, scale=0.99)
MVPainter/mvpainter/bake_pipeline_mvadapter.py:20
↓ 1 callersFunctionscale_latents
(latents)
MVPainter/mvpainter/model_unet.py:21
↓ 1 callersFunctionscale_latents
(latents)
MVPainter/mvpainter/model_controlnet.py:21
↓ 1 callersFunctionscene_meshes
()
data_process/blender_script.py:741
↓ 1 callersFunctionscene_meshes
()
MVPainter/evaluation/blender_render_eval.py:779
↓ 1 callersMethodset_attention_slice
r""" Enable sliced attention computation. When this option is enabled, the attention module splits the input tensor in slices to comp
MVPainter/mvpainter/controlnet.py:620
↓ 1 callersMethodset_attention_slice
r""" Enable sliced attention computation. When this option is enabled, the attention module splits the input tensor in slices to comp
MVPainter/pbr/models/unet_dr2d_condition.py:684
↓ 1 callersMethodset_attn_processor
r""" Sets the attention processor to use to compute attention. Parameters: processor (`dict` of `AttentionProcessor` or o
MVPainter/pbr/models/unet_dr2d_condition.py:644
↓ 1 callersFunctionset_camera_mvdream
(azimuth, elevation, distance)
data_process/blender_script.py:224
↓ 1 callersFunctionset_camera_mvdream
(azimuth, elevation, distance)
MVPainter/scripts/blender_render_ortho.py:221
↓ 1 callersFunctionset_camera_mvdream
(azimuth, elevation, distance)
MVPainter/evaluation/blender_render_eval.py:233
↓ 1 callersMethodset_default_render_resolution
(self, default_resolution)
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:324
↓ 1 callersMethodset_default_texture_resolution
(self, texture_size)
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:329
↓ 1 callersMethodset_mesh
( self, vtx_pos, pos_idx, vtx_uv=None, uv_idx=None, scale_factor=1.15, auto_ce
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:244
↓ 1 callersFunctionset_white_background
(image_path)
data_process/get_texture_score.py:72
↓ 1 callersMethodsetup
(self, stage)
MVPainter/src/data/mvpainter_dataset.py:40
↓ 1 callersFunctionspherical_camera_pose
(azimuths: np.ndarray, elevations: np.ndarray, radius=2.5)
MVPainter/src/utils/camera_util.py:47
↓ 1 callersFunctionsrgb_to_rgb_blender
(f: np.ndarray)
MVPainter/pbr/data/mv_dataset_arbobjaverse.py:15
↓ 1 callersFunctionssim
SSIM metric Args: numpy.ndarray
MVPainter/pbr/utils/metrics.py:72
↓ 1 callersFunctionstride_from_shape
(shape)
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:42
↓ 1 callersMethodtexture_inpaint
(self, texture, mask)
MVPainter/mvpainter/bake_pipeline_mvadapter.py:116
↓ 1 callersMethodtexture_inpaint
(self, texture, mask)
MVPainter/mvpainter/bake_pipeline.py:121
↓ 1 callersMethodtexture_inpaint
(self, texture, mask)
MVPainter/scripts/bake_texture.py:87
↓ 1 callersFunctionunscale_image
(image)
MVPainter/mvpainter/mvpainter_pipeline.py:115
↓ 1 callersFunctionunscale_image_2
(image)
MVPainter/mvpainter/mvpainter_pipeline.py:116
↓ 1 callersFunctionunscale_latents
(latents)
MVPainter/mvpainter/mvpainter_pipeline.py:112
↓ 1 callersFunctionunscale_latents
(latents)
MVPainter/mvpainter/model_unet.py:26
↓ 1 callersFunctionunscale_latents
(latents)
MVPainter/mvpainter/model_controlnet.py:26
↓ 1 callersMethoduv_feature_map
(self, vert_feat, bg=None)
MVPainter/mvpainter/differentiable_renderer/mesh_render.py:658
↓ 1 callersFunctionvis_datasets
(root_dir,num_object,num_of_views,output_path)
data_process/get_texture_score.py:92
↓ 1 callersFunctionvoronoi_solve
This is a warpper of the original cupy voronoi implementation The texture color where mask value is 1 will propagate to its n
MVPainter/mvpainter/differentiable_renderer/voronoi.py:49
↓ 1 callersFunctionwhite_out_background
(pil_img, is_gray_fg=True)
MVPainter/mvpainter/utils.py:45
↓ 1 callersFunctionwhite_out_background
(pil_img, is_gray_fg=True)
MVPainter/mvpainter/mvpainter_pipeline.py:63
FunctionLoadObj
(fn)
MVPainter/mvpainter/custom_rasterizer/custom_rasterizer/io_obj.py:29
FunctionLoadObjWithTexture
(fn, tex_fn)
MVPainter/mvpainter/custom_rasterizer/custom_rasterizer/io_obj.py:47
FunctionPYBIND11_MODULE
MVPainter/mvpainter/differentiable_renderer/mesh_processor.cpp:155
FunctionPYBIND11_MODULE
MVPainter/mvpainter/custom_rasterizer/lib/custom_rasterizer_kernel/rasterizer.cpp:135
FunctionRotatePrimitives
(primitives, transform)
MVPainter/mvpainter/custom_rasterizer/custom_rasterizer/io_glb.py:240
Method__call__
(self, attn, hidden_states, encoder_hidden_states=None, attention_mask=None, mode="w", ref_dict=None)
MVPainter/mvpainter/mvpainter_pipeline.py:127
Method__call__
( self, image: Image.Image = None, guidance_scale = 2.0, output_type: Optional
MVPainter/mvpainter/mvpainter_pipeline.py:507
Method__call__
(self, img_pred, img_gt, mask)
MVPainter/pbr/utils/metrics.py:262
Method__call__
r""" The call function to the pipeline for generation. Args: image (`PIL.Image.Image` or `List[PIL.Image.Image]` or `torc
MVPainter/pbr/pipelines/pipeline_idarbdiffusion.py:259
Method__call__
( self, attn: Attention, hidden_states, encoder_hidden_states=None, at
MVPainter/pbr/models/transformer_dr2d.py:689
Method__getattr__
(self, name: str)
MVPainter/mvpainter/mvpainter_pipeline.py:154
Method__getitem__
(self, index)
MVPainter/src/data/mvpainter_dataset.py:391
Method__getitem__
(self, index)
MVPainter/pbr/data/custom_dataset.py:75
Method__getitem__
(self, index)
MVPainter/pbr/data/ortho_6_view_dataset.py:152
← previousnext →201–300 of 502, ranked by callers