MCPcopy Create free account

hub / github.com/One-2-3-45/One-2-3-45 / functions

Functions1,158 in github.com/One-2-3-45/One-2-3-45

↓ 2 callersFunctioninitial_voxelize
(z, init_res, after_res)
reconstruction/tsparse/torchsparse_utils.py:17
↓ 2 callersFunctionload_K_Rt_from_P
(filename, P=None)
reconstruction/data/One2345_eval_new_data.py:34
↓ 2 callersFunctionload_K_Rt_from_P
(filename, P=None)
reconstruction/data/One2345_train.py:33
↓ 2 callersFunctionload_model_from_config
(config, ckpt, device, verbose=False)
utils/zero123_utils.py:17
↓ 2 callersFunctionmake_beta_schedule
(schedule, n_timestep, linear_start=1e-4, linear_end=2e-2, cosine_s=8e-3)
ldm/modules/diffusionmodules/util.py:21
↓ 2 callersFunctionmake_ddim_sampling_parameters
(alphacums, ddim_timesteps, eta, verbose=True)
ldm/modules/diffusionmodules/util.py:63
↓ 2 callersFunctionmake_ddim_timesteps
(ddim_discr_method, num_ddim_timesteps, num_ddpm_timesteps, verbose=True)
ldm/modules/diffusionmodules/util.py:46
↓ 2 callersFunctionmake_matching_figure
( img0, img1, mkpts0, mkpts1, color, kpts0=None, kpts1=None, text=[], dpi=75, path=None)
elevation_estimate/utils/plotting.py:20
↓ 2 callersMethodmanifold_radii
(self, features: np.ndarray)
ldm/modules/evaluate/adm_evaluator.py:270
↓ 2 callersFunctionmask_pts_at_padded_regions
For megadepth dataset, zero-padding exists in images
elevation_estimate/loftr/utils/supervision.py:14
↓ 2 callersFunctionmkdir
(path)
ldm/modules/image_degradation/utils_image.py:153
↓ 2 callersFunctionnorm_thresholding
(x0, value)
ldm/models/diffusion/sampling_util.py:42
↓ 2 callersFunctionnormalize_tensor
(in_feat, eps=1e-10)
ldm/modules/evaluate/evaluate_perceptualsim.py:18
↓ 2 callersFunctionout_bound_mask
(pt, w, h)
elevation_estimate/loftr/utils/supervision.py:74
↓ 2 callersMethodp_sample
(self, x, c, t, clip_denoised=False, repeat_noise=False, return_codebook_ids=False, quantize_
ldm/models/diffusion/ddpm.py:1071
↓ 2 callersMethodp_sample_ddim
(self, x, c, t, index, repeat_noise=False, use_original_steps=False, quantize_denoised=False,
ldm/models/diffusion/ddim.py:187
↓ 2 callersMethodpairwise_distances
Evaluate pairwise distances between two batches of feature vectors.
ldm/modules/evaluate/adm_evaluator.py:415
↓ 2 callersFunctionpoint_to_voxel
(x, z)
reconstruction/tsparse/torchsparse_utils.py:42
↓ 2 callersMethodpreprocess_image
(self, image_path, segmentation_path=None)
ldm/data/coco.py:101
↓ 2 callersMethodprocess_im
(self, im)
ldm/data/simple.py:410
↓ 2 callersMethodprogressive_denoising
(self, cond, shape, verbose=True, callback=None, quantize_denoised=False, img_ca
ldm/models/diffusion/ddpm.py:1102
↓ 2 callersMethodq_posterior
(self, x_start, x_t, t)
ldm/models/diffusion/ddpm.py:272
↓ 2 callersFunctionrandom_crop
(lq, hq, sf=4, lq_patchsize=64)
ldm/modules/image_degradation/bsrgan.py:427
↓ 2 callersMethodread_activations
(self, npz_path: str)
ldm/modules/evaluate/adm_evaluator.py:159
↓ 2 callersMethodread_statistics
( self, npz_path: str, activations: Tuple[np.ndarray, np.ndarray] )
ldm/modules/evaluate/adm_evaluator.py:186
↓ 2 callersMethodregister_schedule
(self, given_betas=None, beta_schedule="linear", timesteps=1000, linear_start=1e-4,
ldm/models/diffusion/ddpm.py:126
↓ 2 callersMethodrestore
Restore the parameters stored with the `store` method. Useful to validate the model with EMA parameters without affecting the
ldm/modules/ema.py:64
↓ 2 callersFunctionsam_init
(device_id=0)
utils/sam_utils.py:9
↓ 2 callersFunctionsam_out_nosave
(predictor, input_image, *bbox_sliders)
utils/sam_utils.py:19
↓ 2 callersFunctionsample_pdf
:param bins: tensor of shape [N_rays, M+1], M is the number of bins :param weights: tensor of shape [N_rays, M] :param N_samples: number
reconstruction/models/render_utils.py:8
↓ 2 callersMethodsave_visualization
(self, true_img, true_colored_depth, out_depth, out_normal, w2cs, out_color, H, W,
reconstruction/models/trainer_generic.py:984
↓ 2 callersFunctionscene_bbox
(single_obj=None, ignore_matrix=False)
render/single_render_eval.py:111
↓ 2 callersFunctionscene_root_objects
()
render/single_render_eval.py:128
↓ 2 callersFunctionshift_pixel
shift pixel for super-resolution with different scale factors Args: x: WxHxC or WxH sf: scale factor upper_left: shift dir
ldm/modules/image_degradation/bsrgan_light.py:99
↓ 2 callersFunctionshift_pixel
shift pixel for super-resolution with different scale factors Args: x: WxHxC or WxH sf: scale factor upper_left: shift dir
ldm/modules/image_degradation/bsrgan.py:99
↓ 2 callersMethodstep
Performs a single optimization step. Args: closure (callable, optional): A closure that reevaluates the model and
ldm/util.py:178
↓ 2 callersMethodstore
Save the current parameters for restoring later. Args: parameters: Iterable of `torch.nn.Parameter`; the parameters to be
ldm/modules/ema.py:55
↓ 2 callersFunctiontimestep_embedding
Create sinusoidal timestep embeddings. :param timesteps: a 1-D Tensor of N indices, one per batch element. These may be
ldm/modules/diffusionmodules/util.py:151
↓ 2 callersMethodto_rgb
(self, x)
ldm/models/autoencoder.py:417
↓ 2 callersMethodtrain
(self)
reconstruction/exp_runner_generic_blender_val.py:211
↓ 2 callersMethodup_sample
(self, rays_o, rays_d, z_vals, sdf, n_importance, inv_variance, conditional_valid_mask_volum
reconstruction/models/sparse_neus_renderer.py:73
↓ 2 callersMethodvalidate
(self, idx=-1, resolution_level=-1)
reconstruction/exp_runner_generic_blender_train.py:509
↓ 2 callersMethodvalidate
(self, resolution_level=-1)
reconstruction/exp_runner_generic_blender_val.py:514
↓ 2 callersMethodvalidate_colored_mesh
(self, density_or_sdf_network, func_extract_geometry, world_space=True, resolution=360,
reconstruction/models/trainer_generic.py:1309
↓ 2 callersFunctionwarp_kpts
Warp kpts0 from I0 to I1 with depth, K and Rt Also check covisibility and depth consistency. Depth is consistent if relative error < 0.2 (har
elevation_estimate/loftr/utils/geometry.py:5
↓ 1 callersMethod__getitem__
(self, index)
ldm/data/simple.py:493
↓ 1 callersMethod__init__
(self, use_dropout=False, attention_dropout=0.1)
elevation_estimate/loftr/loftr_module/linear_attention.py:51
↓ 1 callersMethod__init__
(self, d_model, nhead, attention='linear')
elevation_estimate/loftr/loftr_module/transformer.py:8
↓ 1 callersMethod__init__
(self, **kwargs)
reconstruction/models/embedder.py:8
↓ 1 callersMethod__init__
(self, type='l1')
reconstruction/loss/depth_loss.py:7
↓ 1 callersMethod__init__
Apply classifier guidance Specify a guidance scale as either a scalar Or a schedule as a list of tuples t = 0->1 and scale, e.g.
ldm/guidance.py:24
↓ 1 callersMethod__len__
(self)
ldm/data/base.py:20
↓ 1 callersFunction_augment
(img)
ldm/modules/image_degradation/utils_image.py:475
↓ 1 callersFunction_compute_conf_thresh
(data)
elevation_estimate/utils/plotting.py:7
↓ 1 callersMethod_compute_hash
(url, text)
ldm/data/laion.py:50
↓ 1 callersFunction_create_feature_graph
(input_batch)
ldm/modules/evaluate/adm_evaluator.py:608
↓ 1 callersFunction_create_softmax_graph
(input_batch)
ldm/modules/evaluate/adm_evaluator.py:625
↓ 1 callersMethod_filter_relpaths
(self, relpaths)
ldm/data/imagenet.py:48
↓ 1 callersFunction_get_paths_from_images
(path)
ldm/modules/image_degradation/utils_image.py:74
↓ 1 callersFunction_is_in_graph
Checks whether a given tensor does exists in the graph.
ldm/modules/evaluate/frechet_video_distance.py:57
↓ 1 callersMethod_load
(self)
ldm/data/imagenet.py:93
↓ 1 callersMethod_load_caption_file
(self, filename)
ldm/data/simple.py:498
↓ 1 callersMethod_load_sample
(self, index)
ldm/data/simple.py:73
↓ 1 callersFunction_make_confidence_figure
(data, b_id)
elevation_estimate/utils/plotting.py:107
↓ 1 callersFunction_make_evaluation_figure
(data, b_id, alpha='dynamic')
elevation_estimate/utils/plotting.py:68
↓ 1 callersFunction_ncc
(pred, gt, window, channel)
reconstruction/loss/ncc.py:43
↓ 1 callersFunction_numpy_partition
(arr, kth, **kwargs)
ldm/modules/evaluate/adm_evaluator.py:658
↓ 1 callersFunction_open_npy_file
(path: str, arr_name: str)
ldm/modules/evaluate/adm_evaluator.py:586
↓ 1 callersMethod_prepare
(self)
ldm/data/imagenet.py:45
↓ 1 callersMethod_prepare_human_to_integer_label
(self)
ldm/data/imagenet.py:80
↓ 1 callersMethod_prepare_idx_to_synset
(self)
ldm/data/imagenet.py:74
↓ 1 callersMethod_prepare_synset_to_human
(self)
ldm/data/imagenet.py:66
↓ 1 callersFunction_read_bytes
Copied from: https://github.com/numpy/numpy/blob/fb215c76967739268de71aa4bda55dd1b062bc2e/numpy/lib/format.py#L788-L886 Read from file-like
ldm/modules/evaluate/adm_evaluator.py:556
↓ 1 callersMethod_reset_parameters
(self)
elevation_estimate/loftr/loftr_module/fine_preprocess.py:24
↓ 1 callersMethod_reset_parameters
(self)
elevation_estimate/loftr/loftr_module/transformer.py:75
↓ 1 callersFunction_update_shapes
(pool3)
ldm/modules/evaluate/adm_evaluator.py:639
↓ 1 callersFunctionabs_error
(depth_pred, depth_gt, mask)
reconstruction/utils/misc_utils.py:72
↓ 1 callersFunctionadd_hom
(pts)
reconstruction/models/patch_projector.py:164
↓ 1 callersFunctionadd_lighting
()
render/single_render_eval.py:65
↓ 1 callersFunctionadd_margin
(pil_img, color, size=256)
ldm/util.py:38
↓ 1 callersFunctionadd_sharpening
USM sharpening. borrowed from real-ESRGAN Input image: I; Blurry image: B. 1. K = I + weight * (I - B) 2. Mask = 1 if abs(I - B) > thresho
ldm/modules/image_degradation/bsrgan.py:299
↓ 1 callersMethodadjust
(self)
reconstruction/loss/color_loss.py:133
↓ 1 callersMethodaggregate_multiview_features
aggregate mutli-view features by compute their cost variance :param multiview_features: (num of voxels, num_of_views, c) :par
reconstruction/models/sparse_sdf_network.py:221
↓ 1 callersFunctionall_logging_disabled
A context manager that will prevent any logging messages triggered during the body from being processed. :param highest_level: the maxim
ldm/extras.py:12
↓ 1 callersFunctionanisotropic_Gaussian
generate an anisotropic Gaussian kernel Args: ksize : e.g., 15, kernel size theta : [0, pi], rotation angle range l1
ldm/modules/image_degradation/bsrgan_light.py:65
↓ 1 callersFunctionanisotropic_Gaussian
generate an anisotropic Gaussian kernel Args: ksize : e.g., 15, kernel size theta : [0, pi], rotation angle range l1
ldm/modules/image_degradation/bsrgan.py:65
↓ 1 callersFunctionappend_dims
Appends dimensions to the end of a tensor until it has target_dims dimensions. From https://github.com/crowsonkb/k-diffusion/blob/master/k_diffusi
ldm/models/diffusion/sampling_util.py:5
↓ 1 callersFunctionaugment_img
Kai Zhang (github: https://github.com/cszn)
ldm/modules/image_degradation/utils_image.py:380
↓ 1 callersFunctionavg_pool_nd
Create a 1D, 2D, or 3D average pooling module.
ldm/modules/diffusionmodules/util.py:238
↓ 1 callersFunctionba_error_general
(K, matches, poses)
elevation_estimate/utils/elev_est_api.py:121
↓ 1 callersFunctionbgr2ycbcr
bgr version of rgb2ycbcr only_y: only return Y channel Input: uint8, [0, 255] float, [0, 1]
ldm/modules/image_degradation/utils_image.py:573
↓ 1 callersFunctionbicubic_interpolate_batch
two dimensional cubic interpolation :param p: [B, N, 4, 4] :param x: [B, N] :param y: [B, N] :return:
reconstruction/ops/grid_sampler.py:309
↓ 1 callersMethodblend_rgba
(self, img)
ldm/data/nerf_like.py:79
↓ 1 callersMethodblend_rgba
(self, img)
ldm/data/nerf_like.py:123
↓ 1 callersMethodblend_rgba
(self, img)
ldm/data/nerf_like.py:163
↓ 1 callersFunctionbuild_backbone
(config)
elevation_estimate/loftr/backbone/__init__.py:4
↓ 1 callersFunctionbuild_patch_offset
(h_patch_size)
reconstruction/models/patch_projector.py:209
↓ 1 callersFunctionbuild_patch_offset
(h_patch_size)
reconstruction/models/rays.py:6
↓ 1 callersMethodcal_scale_mat
(self, img_hw, intrinsics, extrinsics, near_fars, factor=1.)
reconstruction/data/One2345_eval_new_data.py:125
↓ 1 callersMethodcal_scale_mat
(self, img_hw, intrinsics, extrinsics, near_fars, factor=1.)
reconstruction/data/One2345_train.py:148
← previousnext →201–300 of 1,158, ranked by callers