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

↓ 1 callersMethodinit_from_ckpt
(self, path, ignore_keys=list(), only_model=False)
ldm/models/diffusion/ddpm.py:1644
↓ 1 callersMethodinstantiate_cond_stage
(self, config)
ldm/models/diffusion/ddpm.py:577
↓ 1 callersMethodinstantiate_first_stage
(self, config)
ldm/models/diffusion/ddpm.py:570
↓ 1 callersMethodinstantiate_low_stage
(self, config)
ldm/models/diffusion/ddpm.py:1485
↓ 1 callersMethodinstantiate_pretrained
(self, config)
ldm/modules/diffusionmodules/model.py:807
↓ 1 callersFunctionis_image_file
(filename)
ldm/modules/image_degradation/utils_image.py:29
↓ 1 callersMethodkl
(self, other=None)
ldm/modules/distributions/distributions.py:39
↓ 1 callersFunctionl2_norm
(input, axis=1)
ldm/thirdp/psp/helpers.py:17
↓ 1 callersMethodless_thans
(self, batch_1, radii_1, batch_2, radii_2)
ldm/modules/evaluate/adm_evaluator.py:424
↓ 1 callersMethodload_checkpoint
(self, checkpoint_name)
reconstruction/exp_runner_generic_blender_train.py:430
↓ 1 callersMethodload_checkpoint
(self, checkpoint_name)
reconstruction/exp_runner_generic_blender_val.py:435
↓ 1 callersMethodload_classifier
(self, ckpt_path, pool)
ldm/models/diffusion/classifier.py:95
↓ 1 callersMethodload_diffusion
(self)
ldm/models/diffusion/classifier.py:88
↓ 1 callersFunctionload_example
(example)
ldm/data/laion.py:382
↓ 1 callersFunctionload_model_from_config
Loads a model from config and a ckpt if config is a path will use omegaconf to load
ldm/extras.py:55
↓ 1 callersFunctionload_object
Loads a glb model into the scene.
render/single_render_eval.py:77
↓ 1 callersMethodload_state_dict
(network, checkpoint, comment)
reconstruction/exp_runner_generic_blender_train.py:432
↓ 1 callersMethodload_state_dict
(network, checkpoint, comment)
reconstruction/exp_runner_generic_blender_val.py:437
↓ 1 callersMethodlog_images
(self, batch, N=8, n_row=2, sample=True, return_keys=None, **kwargs)
ldm/models/diffusion/ddpm.py:437
↓ 1 callersFunctionlower_config
(yacs_cfg)
elevation_estimate/loftr/utils/cvpr_ds_config.py:4
↓ 1 callersFunctionmain
()
ldm/modules/evaluate/adm_evaluator.py:31
↓ 1 callersMethodmake_cond_schedule
(self, )
ldm/models/diffusion/ddpm.py:539
↓ 1 callersFunctionmake_multi_folder_data
Make a concat dataset from multiple folders Don't suport captions yet If paths is a list, that's ok, if it's a Dict interpret it as: k=fo
ldm/data/simple.py:113
↓ 1 callersMethodmake_schedule
(self, ddim_num_steps, ddim_discretize="uniform", ddim_eta=0., verbose=True)
ldm/models/diffusion/ddim.py:37
↓ 1 callersMethodmake_schedule
(self, ddim_num_steps, ddim_discretize="uniform", ddim_eta=0., verbose=True)
ldm/models/diffusion/plms.py:25
↓ 1 callersFunctionmask_border
Mask borders with value Args: m (torch.Tensor): [N, H0, W0, H1, W1] b (int) v (m.dtype)
elevation_estimate/loftr/utils/coarse_matching.py:8
↓ 1 callersFunctionmask_border_with_padding
(m, bd, v, p_m0, p_m1)
elevation_estimate/loftr/utils/coarse_matching.py:28
↓ 1 callersFunctionmask_out_bkgd
(img_path, dbg=False)
elevation_estimate/utils/elev_est_api.py:43
↓ 1 callersFunctionmax_neg_value
(tensor)
ldm/modules/x_transformer.py:82
↓ 1 callersFunctionmean_flat
Take the mean over all non-batch dimensions.
ldm/modules/diffusionmodules/util.py:192
↓ 1 callersFunctionmeasure_perplexity
(predicted_indices, n_embed)
ldm/modules/losses/vqperceptual.py:26
↓ 1 callersFunctionnormal_kl
source: https://github.com/openai/guided-diffusion/blob/27c20a8fab9cb472df5d6bdd6c8d11c8f430b924/guided_diffusion/losses.py#L12 Compute the K
ldm/modules/distributions/distributions.py:65
↓ 1 callersFunctionnormalize
(flow, h, w, clamp=None)
reconstruction/models/patch_projector.py:175
↓ 1 callersFunctionnormalize_scene
(format="glb")
render/single_render_eval.py:140
↓ 1 callersFunctionnot_equals
(val)
ldm/modules/x_transformer.py:70
↓ 1 callersMethodnp2pt
(self, x)
ldm/data/laion.py:235
↓ 1 callersFunctionnsfw_check
(models, raw_im, device='cuda')
demo/app.py:376
↓ 1 callersFunctionnumpy2tensor
(vars, device='cpu')
reconstruction/utils/training_utils.py:61
↓ 1 callersFunctionon_coords_slider
Draw a bounding box annotation for an image.
demo/app.py:398
↓ 1 callersFunctionopen_npz_array
(path: str, arr_name: str)
ldm/modules/evaluate/adm_evaluator.py:539
↓ 1 callersFunctionopen_url
Download the given URL and return a binary-mode file object to access the data.
ldm/modules/evaluate/torch_frechet_video_distance.py:41
↓ 1 callersMethodoptimizer_setup
(self)
reconstruction/exp_runner_generic_blender_train.py:159
↓ 1 callersMethodoptimizer_setup
(self)
reconstruction/exp_runner_generic_blender_val.py:156
↓ 1 callersMethodp_losses
(self, x_start, t, noise=None)
ldm/models/diffusion/ddpm.py:344
↓ 1 callersMethodp_losses
(self, x_start, cond, t, noise=None)
ldm/models/diffusion/ddpm.py:1004
↓ 1 callersMethodp_mean_variance
(self, x, t, clip_denoised: bool)
ldm/models/diffusion/ddpm.py:281
↓ 1 callersMethodp_mean_variance
(self, x, c, t, clip_denoised: bool, return_codebook_ids=False, quantize_denoised=False,
ldm/models/diffusion/ddpm.py:1039
↓ 1 callersMethodp_sample
(self, x, t, clip_denoised=True, repeat_noise=False)
ldm/models/diffusion/ddpm.py:294
↓ 1 callersMethodp_sample_loop
(self, shape, return_intermediates=False)
ldm/models/diffusion/ddpm.py:303
↓ 1 callersMethodp_sample_loop
(self, cond, shape, return_intermediates=False, x_T=None, verbose=True, callback=None, t
ldm/models/diffusion/ddpm.py:1158
↓ 1 callersMethodp_sample_plms
(self, x, c, t, index, repeat_noise=False, use_original_steps=False, quantize_denoised=False,
ldm/models/diffusion/plms.py:180
↓ 1 callersMethodpatch_homography
(self, H, uv)
reconstruction/models/patch_projector.py:149
↓ 1 callersMethodpatch_warp
:param pts: [N_rays, n_samples, 3] :param uv : [N_rays, 2] normalized in (-1, 1) :param normals: [N_rays, n_samples, 3] Th
reconstruction/models/patch_projector.py:45
↓ 1 callersFunctionpatches_from_image
(img, p_size=512, p_overlap=64, p_max=800)
ldm/modules/image_degradation/utils_image.py:93
↓ 1 callersMethodpixel_warp
:param pts: [N_rays, n_samples, 3] :param imgs: [N_views, 3, H, W] :param intrinsics: [N_views, 4, 4] :param c2ws: [
reconstruction/models/patch_projector.py:21
↓ 1 callersMethodplms_sampling
(self, cond, shape, x_T=None, ddim_use_original_steps=False, callb
ldm/models/diffusion/plms.py:120
↓ 1 callersFunctionpred_bbox
(image)
utils/utils.py:10
↓ 1 callersFunctionpredict_multiview
(shape_dir, args)
run.py:79
↓ 1 callersFunctionpreprocess
(predictor, raw_im, lower_contrast=False)
run.py:11
↓ 1 callersMethodpreprocess
(self, x_img)
ldm/guidance.py:15
↓ 1 callersMethodpreprocess
(self, x)
ldm/modules/encoders/modules.py:307
↓ 1 callersMethodpreprocess
(self, x)
ldm/modules/encoders/modules.py:363
↓ 1 callersMethodpreprocess
(self, x)
ldm/modules/encoders/modules.py:409
↓ 1 callersMethodpt2np
(self, x)
ldm/data/laion.py:231
↓ 1 callersMethodq_mean_variance
Get the distribution q(x_t | x_0). :param x_start: the [N x C x ...] tensor of noiseless inputs. :param t: the number of diff
ldm/models/diffusion/ddpm.py:254
↓ 1 callersMethodq_sample
(self, x_start, t, noise=None)
ldm/modules/encoders/modules.py:517
↓ 1 callersFunctionrandom_crop
(lq, hq, sf=4, lq_patchsize=64)
ldm/modules/image_degradation/bsrgan_light.py:431
↓ 1 callersFunctionratio_threshold
Computes the percentage of pixels for which the ratio of the two depth maps is less than a given threshold. Takes preprocessed depths (no nan
reconstruction/loss/depth_metric.py:181
↓ 1 callersMethodray_sampler
Sample the ray in a given range and run secant on rays which have sign transition
reconstruction/models/fast_renderer.py:190
↓ 1 callersMethodread_batch
(self, batch_size: int)
ldm/modules/evaluate/adm_evaluator.py:457
↓ 1 callersMethodread_batches
(self, batch_size: int)
ldm/modules/evaluate/adm_evaluator.py:464
↓ 1 callersFunctionreconstruct
(exp_dir, output_format=".ply", device_idx=0, resolution=256)
run.py:56
↓ 1 callersFunctionrect_to_img
(K, pts_rect)
elevation_estimate/utils/utils3d.py:29
↓ 1 callersMethodregister_schedule
(self, beta_schedule="linear", timesteps=1000, linear_start=1e-4, linear_end=2e-2, c
ldm/modules/encoders/modules.py:490
↓ 1 callersMethodremaining
(self)
ldm/modules/evaluate/adm_evaluator.py:461
↓ 1 callersMethodrender_core
(self, rays_o, rays_d, z_vals,
reconstruction/models/sparse_neus_renderer.py:171
↓ 1 callersMethodreset
(self)
reconstruction/loss/color_loss.py:129
↓ 1 callersMethodreset_noise_accs
(self)
ldm/models/diffusion/classifier.py:202
↓ 1 callersFunctionrigid_transform
Applies a rigid transform (c2w) to an (N, 3) pointcloud.
reconstruction/data/scene.py:5
↓ 1 callersFunctionsafe_l2_normalize
(x, dim=None, eps=1e-6)
reconstruction/models/projector.py:7
↓ 1 callersMethodsample
(self, S, batch_size, shape, conditioning=None,
ldm/models/diffusion/ddim.py:69
↓ 1 callersMethodsample
(self, cond, batch_size=16, return_intermediates=False, x_T=None, verbose=True, timesteps=None,
ldm/models/diffusion/ddpm.py:1209
↓ 1 callersFunctionsample_camera_loc
(phi=None, theta=None, r=1.0)
render/single_render_eval.py:164
↓ 1 callersMethodsample_z_vals_from_maskVolume
(self, rays_o, rays_d, near, far, mask_volume)
reconstruction/models/sparse_neus_renderer.py:661
↓ 1 callersMethodsave_checkpoint
(self)
reconstruction/exp_runner_generic_blender_train.py:480
↓ 1 callersMethodsave_checkpoint
(self)
reconstruction/exp_runner_generic_blender_val.py:485
↓ 1 callersFunctionsave_images
Saves rendered images of the object in the scene.
render/single_render_eval.py:170
↓ 1 callersFunctionscene_meshes
()
render/single_render_eval.py:134
↓ 1 callersMethodschedule
(self, n, **kwargs)
ldm/lr_scheduler.py:17
↓ 1 callersMethodschedule
(self, n, **kwargs)
ldm/lr_scheduler.py:59
↓ 1 callersMethodsdf
(self, pts, conditional_volume, lod)
reconstruction/models/sparse_sdf_network.py:402
↓ 1 callersMethodsdf
(self, pts, conditional_volume, lod)
reconstruction/models/sparse_sdf_network.py:680
↓ 1 callersMethodsecant
Runs the secant method for interval [z_low, z_high] for n_secant_steps
reconstruction/models/fast_renderer.py:262
↓ 1 callersFunctionsetup_camera
()
render/single_render_eval.py:154
↓ 1 callersMethodsparse_to_dense_volume
convert the sparse volume into dense volume to enable trilinear sampling to save GPU memory; :param coords: [num_pts, 3]
reconstruction/models/sparse_sdf_network.py:252
↓ 1 callersMethodsphere_tracing
Run sphere tracing algorithm for max iterations from both sides of unit sphere intersection
reconstruction/models/fast_renderer.py:72
↓ 1 callersFunctionspvs_coarse
Update: data (dict): { "conf_matrix_gt": [N, hw0, hw1], 'spv_b_ids': [M] 'spv_i_ids': [M]
elevation_estimate/loftr/utils/supervision.py:22
↓ 1 callersFunctionspvs_fine
Update: data (dict):{ "expec_f_gt": [M, 2]}
elevation_estimate/loftr/utils/supervision.py:124
↓ 1 callersFunctionssim
(img1, img2, window_size=11, mask=None, size_average=True)
ldm/modules/evaluate/ssim.py:116
↓ 1 callersFunctionstage1_run
(model, device, exp_dir, input_im, scale, ddim_steps)
run.py:18
← previousnext →401–500 of 1,158, ranked by callers