MCPcopy Create free account

hub / github.com/YuQiao0303/PointDreamer / functions

Functions2,121 in github.com/YuQiao0303/PointDreamer

↓ 2 callersMethodassign
assign one value to all elements
models/POCO/lightconvpoint/src/nanoflann.hpp:768
↓ 2 callersFunctionassign_labels_to_invalid_by_most_neighbors
Assign labels to invalid faces (whose labels are currently -1) by most of their valid neighbors. :param neighbors: [face_num,3]. Each face ca
pointdreamer/ours_utils.py:659
↓ 2 callersFunctionb_inv
Performs batch matrix inversion. Arguments: b_mat: the batch of matrices that should be inverted
models/POCO/eval/src/common.py:192
↓ 2 callersFunctionbest_fit_transform
Calculates the least-squares best-fit transform that maps corresponding points A to B in m spatial dimensions Input: A: Nxm numpy a
models/POCO/eval/src/utils/icp.py:5
↓ 2 callersFunctioncalc_dist_double
Calculate squared cartesian distance between points Params: point1_coord : point 1 point2_coord : point 2 ************************************
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:1139
↓ 2 callersFunctioncalc_dist_float
Calculate squared cartesian distance between points Params: point1_coord : point 1 point2_coord : point 2 ************************************
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:495
↓ 2 callersFunctioncalculate_stats
(act)
utils/metric_utils/fid.py:25
↓ 2 callersFunctioncheck_mesh_contains
(mesh, points, hash_resolution=512)
models/POCO/eval/src/utils/libmesh/inside_mesh.py:5
↓ 2 callersFunctioncheckpoint
Evaluate a function without caching intermediate activations, allowing for reduced memory at the expense of extra compute in the backward pas
models/DDNM/guided_diffusion/nn.py:124
↓ 2 callersFunctionclassifier_defaults
Defaults for classifier models.
models/DDNM/guided_diffusion/script_util.py:27
↓ 2 callersFunctioncompact_mesh
models/POCO/eval/src/utils/libsimplify/Simplify.h:736
↓ 2 callersMethodcomputeInitialDistances
models/POCO/lightconvpoint/src/nanoflann.hpp:1045
↓ 2 callersFunctionconfigure
If comm is provided, average all numerical stats across that comm
models/DDNM/guided_diffusion/logger.py:442
↓ 2 callersFunctionconstruct_tree_double
Construct a tree over data points. Params: pa : data points no_dims: number of dimensions n : number of data points bsp : number of p
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:1034
↓ 2 callersFunctionconv1x1
(in_channels, out_channels, groups=1)
models/TextureField/convonet.py:221
↓ 2 callersFunctioncopy_strided_to_strided
models/POCO/eval/src/utils/libsimplify/simplify_mesh.cpp:16409
↓ 2 callersFunctioncount_flops_attn
A counter for the `thop` package to count the operations in an attention operation. Meant to be used like: macs, params = thop.pr
models/DDNM/guided_diffusion/unet.py:308
↓ 2 callersFunctioncreate_POCO_network
(config)
models/POCO/generate_1.py:54
↓ 2 callersFunctioncreate_classifier
( image_size, classifier_use_fp16, classifier_width, classifier_depth, classifier_attentio
models/DDNM/guided_diffusion/script_util.py:229
↓ 2 callersFunctiondelete_tree_double
Delete tree Params: tree : Tree struct of kd tree ************************************************/
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:1108
↓ 2 callersFunctiondelete_tree_float
Delete tree Params: tree : Tree struct of kd tree ************************************************/
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:464
↓ 2 callersFunctiondetect_edges_in_gray_by_scharr_torch_batch
:param gray_imgs_float32: torch tensor, [B,res,res], ranging from 0.0 to 255.0 (B indicates batch size) :return: edges: torch tensor, [B,res,
utils/utils_2d.py:799
↓ 2 callersFunctiondiffusion_defaults
Defaults for image and classifier training.
models/DDNM/guided_diffusion/script_util.py:11
↓ 2 callersFunctiondilate_atlas
(atlas_img,mask)
pointdreamer/unproject.py:480
↓ 2 callersFunctiondistance_p2p
Computes minimal distances of each point in points_src to points_tgt. Args: points_src (numpy array): source points normals_src (
models/POCO/eval_scenenet.py:14
↓ 2 callersFunctiondistance_p2p
Computes minimal distances of each point in points_src to points_tgt. Args: points_src (numpy array): source points normals_src (
models/POCO/eval/src/eval.py:168
↓ 2 callersMethoddivideTree
* Create a tree node that subdivides the list of vecs from vind[first] * to vind[last]. The routine is called recursively on each sublist. *
models/POCO/lightconvpoint/src/nanoflann.hpp:916
↓ 2 callersMethoddownload
(self)
models/POCO/lightconvpoint/datasets/modelnet.py:65
↓ 2 callersMethoddownload
(self)
models/POCO/lightconvpoint/datasets/s3dis.py:424
↓ 2 callersFunctionexport_mesh_and_refine_vertices_region_growing_v2
( network,latent, resolution, padding=0, mc_value=0, device=None, num_pts=50000,
models/POCO/generate.py:28
↓ 2 callersFunctionfilter_padding
(patch_pts, query_point)
models/POCO/eval/eval_point2surf/evaluation.py:186
↓ 2 callersMethodfindNeighbors
models/POCO/lightconvpoint/src/nanoflann.hpp:1565
↓ 2 callersFunctionforward_inception_batch
(inception_model, images)
utils/metric_utils/fid.py:19
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/backbone/fkaconv_network.py:92
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/backbone/pointnet.py:120
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/decoder/interp_max.py:30
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/decoder/interp_attention_Kheads.py:27
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/decoder/interp_inv_dist.py:30
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/decoder/interp_mean_prefix.py:30
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/decoder/interp_attention.py:26
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/decoder/interp_inv_dist_prefix.py:30
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/networks/decoder/interp_mean.py:30
↓ 2 callersMethodforward_spatial
(self, data)
models/POCO/lightconvpoint/networks/fkaconv_network.py:91
↓ 2 callersMethodforward_without_features
(self, pos, support_points=None, indices=None)
models/POCO/lightconvpoint/nn/deprecated/module.py:9
↓ 2 callersMethodfrom_latent
(self, data)
models/POCO/networks/network.py:72
↓ 2 callersFunctiongen_bar_updater
()
models/DDNM/datasets/utils.py:8
↓ 2 callersFunctionget_cam_Ks_RTs_from_locations
The returned cam_RTs are used to transform from world 2 cam coordinate system. # https://zhuanlan.zhihu.com/p/561394626 target is always
utils/camera_utils.py:940
↓ 2 callersFunctionget_dataset
(args, config)
models/DDNM/datasets/__init__.py:47
↓ 2 callersFunctionget_inpainted_images
(sparse_imgs,hard_mask0s,hard_mask2s,save_path,inpainter,view_num,method = 'linear')
pointdreamer/ours_utils.py:884
↓ 2 callersFunctionget_nearest_neighbors_indices_batch
Returns the nearest neighbors for point sets batchwise. Args: points_src (numpy array): source points points_tgt (numpy array): t
models/POCO/eval/src/common.py:119
↓ 2 callersMethodget_object_name
(self, f_id)
models/POCO/datasets/abc.py:43
↓ 2 callersFunctionget_other_mesh_data
(root_path,name,cls_id = 'google_scanned_objects')
data/sample_colored_pc_from_mesh.py:404
↓ 2 callersFunctionget_param_groups_and_shapes
(named_model_params)
models/DDNM/guided_diffusion/fp16_util.py:82
↓ 2 callersFunctionget_pc_actor_vtk
(pc_np,color = (0,0,1),opacity = 1,point_size = 7 )
utils/vtk_basic.py:488
↓ 2 callersFunctionget_point_validation_by_o3d
(points,eye_positions = None, hidden_point_removal_radius=None,)
pointdreamer/ours_utils.py:204
↓ 2 callersFunctionget_rendered_hard_mask_and_face_idx_batch
(cams, vertices, faces, points,glctx,rescale=True,padding = 0.05)
pointdreamer/ours_utils.py:93
↓ 2 callersFunctionget_schedule_jump
(T_sampling, travel_length, travel_repeat)
models/DDNM/guided_diffusion/diffusion.py:770
↓ 2 callersFunctionget_schedule_jump
(T_sampling, travel_length, travel_repeat)
models/DDNM/functions/svd_ddnm.py:167
↓ 2 callersFunctionget_shrinked_per_view_per_pixel_visibility_torch
:param per_pixel_mask: res,res :param per_atlas_pixel_per_view_visibility: :return:
pointdreamer/unproject.py:429
↓ 2 callersFunctionget_sparse_images
(point_pixels,colors,point_validation,hard_masks,save_path, view_num,res,point_size,edge
pointdreamer/ours_utils.py:848
↓ 2 callersFunctionget_threshold_percentage
Evaluates a point cloud. Args: dist (numpy array): calculated distance thresholds (numpy array): threshold values for the F-score
models/POCO/eval/src/eval.py:204
↓ 2 callersFunctionimread
Loads an image file into a (height, width, 3) uint8 ndarray. background: None or (r,g,b) [0,255]
data/run_evaluation.py:23
↓ 2 callersFunctioninsert_point_double
Insert point into priority queue Params: closest_idx : index queue closest_dist : distance queue pidx : permutation index of data points
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:784
↓ 2 callersFunctioninsert_point_float
Insert point into priority queue Params: closest_idx : index queue closest_dist : distance queue pidx : permutation index of data points
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:140
↓ 2 callersFunctioninterpolate
(attr, rast, attr_idx, rast_db=None)
models/get3d/extract_texture_map.py:16
↓ 2 callersMethodkdtree_get_bbox
models/POCO/lightconvpoint/src/nanoflann.hpp:1977
↓ 2 callersMethodloadIndex_
Loads a previous index from a binary file. * IMPORTANT NOTE: The set of data points is NOT stored in the file, so the index object must be const
models/POCO/lightconvpoint/src/nanoflann.hpp:1105
↓ 2 callersMethodload_data
(self,files)
models/POCO/lightconvpoint/datasets/modelnet.py:20
↓ 2 callersFunctionlogs_file
(filepath, epoch, log_data)
models/POCO/lightconvpoint/utils/logs.py:7
↓ 2 callersFunctionmake_master_params
Copy model parameters into a (differently-shaped) list of full-precision parameters.
models/DDNM/guided_diffusion/fp16_util.py:35
↓ 2 callersFunctionmakedir_exist_ok
Python2 support for os.makedirs(.., exist_ok=True)
models/DDNM/datasets/utils.py:36
↓ 2 callersFunctionmd5_hash
(path)
models/DDNM/functions/ckpt_util.py:49
↓ 2 callersFunctionnormalize_pc
:param pc: :return:
utils/other_utils.py:199
↓ 2 callersFunctionoptimize_color
:param atlas_img: [3,atlas_res,atlas_res] :param inpainted_imgs: [view_num, 3,res,res] :param vertices: [num_vertices, 3] :param fa
pointdreamer/ours_utils.py:1583
↓ 2 callersFunctionpaint_invisible_areas_by_neighbors
Modified from: https://github.com/AiuniAI/Unique3D/blob/main/scripts/project_mesh.py: complete_unseen_vertex_color meshes: the mesh with vert
pointdreamer/unproject.py:93
↓ 2 callersFunctionpil_loader
(path)
models/DDNM/datasets/imagenet_subset.py:25
↓ 2 callersFunctionpreprocessing_transform
This the transform used in shapenet dataset __getitem__. Three tasks are done: 1) Get the areas of each faces, so it can be used to sample poi
data/sample_colored_pc_from_mesh.py:50
↓ 2 callersMethodradiusSearch
* Find all the neighbors to \a query_point[0:dim-1] within a maximum radius. * The output is given as a vector of pairs, of which the first elemen
models/POCO/lightconvpoint/src/nanoflann.hpp:1288
↓ 2 callersFunctionread_header
Read binvox header. Mostly meant for internal use.
models/POCO/eval/src/utils/binvox_rw.py:107
↓ 2 callersFunctionread_ply_xyzrgb
(file)
utils/other_utils.py:155
↓ 2 callersFunctionread_trimesh_vtk
(mesh)
utils/vtk_basic.py:106
↓ 2 callersFunctionrecon_one_shape_SPR
By default we use depth=12 for higher-quality reconstruction. If it's too slow to run on your device, try modify it from 12 to 8.
baselines/spr.py:26
↓ 2 callersFunctionrefine_point_validation
(cam_RTs,cam_K,res, hard_masks,point_validation,point_uvs,points,save_path)
pointdreamer/ours_utils.py:227
↓ 2 callersFunctionrender_textured_mesh
(mesh_file,cams, device, save_path, glctx,save=True, vertices = None,normalize_mesh=T
utils/camera_utils.py:379
↓ 2 callersMethodrescale
(self, array)
models/POCO/eval/src/utils/libmesh/inside_mesh.py:108
↓ 2 callersMethodsample
(self, simplified)
models/DDNM/guided_diffusion/diffusion.py:115
↓ 2 callersFunctionsample_one_mesh_w_o_invisible_points_
(mesh_data)
data/sample_colored_pc_from_mesh.py:390
↓ 2 callersFunctionsampling_knn_random
models/POCO/lightconvpoint/src/sampling_random.cxx:62
↓ 2 callersMethodsaveIndex_
Stores the index in a binary file. * IMPORTANT NOTE: The set of data points is NOT stored in the file, so when loading the index object it must
models/POCO/lightconvpoint/src/nanoflann.hpp:1091
↓ 2 callersFunctionsave_CHW_RGBA_img
(img,file_name)
utils/utils_2d.py:367
↓ 2 callersFunctionsave_colored_pc_ply
:param coords: :param colors: float within range of 0-1 :param path: :return:
utils/other_utils.py:122
↓ 2 callersFunctionsave_one_mesh_npy
Saved rgb colors are uint8 ranging from 0 - 255. :param inputs: :param save_root: :return:
data/sample_colored_pc_from_mesh.py:187
↓ 2 callersFunctionsavemeshtes2
(pointnp_px3, tcoords_px2, facenp_fx3, facetex_fx3, fname)
utils/mesh_utils.py:117
↓ 2 callersFunctionsavemeshtes2
(pointnp_px3, tcoords_px2, facenp_fx3, facetex_fx3, fname)
models/get3d/get3d_utils/utils_3d.py:27
↓ 2 callersFunctionsearch_tree_double
Search for nearest neighbour for a set of query points Params: tree : Tree struct of kd tree pa : data points pidx : permutation index of
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:1379
↓ 2 callersFunctionsearch_tree_float
Search for nearest neighbour for a set of query points Params: tree : Tree struct of kd tree pa : data points pidx : permutation index of
models/POCO/eval/src/utils/libkdtree/pykdtree/_kdtree_core.c:735
↓ 2 callersFunctionset_arrow_actor
Design an actor to draw an arrow from startpoint to startpoint + vector. :param startpoint: 3D point :param vector: 3D vector :return
utils/vtk_basic.py:815
↓ 2 callersFunctionset_bbox_line_actor
(corners, faces, color)
utils/vtk_basic.py:750
↓ 2 callersFunctionset_points_property
( point_clouds, point_colors)
utils/vtk_basic.py:441
↓ 2 callersFunctionstart_process_pool
(worker_function, parameters, num_processes, timeout=None)
models/POCO/eval/eval_point2surf/utils_mp.py:21
← previousnext →301–400 of 2,121, ranked by callers