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

Methodforward
(self, x)
ldm/modules/attention.py:88
Methodforward
(self, x)
ldm/modules/attention.py:126
Methodforward
(self, x, context=None, mask=None)
ldm/modules/attention.py:170
Methodforward
(self, x, context=None)
ldm/modules/attention.py:211
Methodforward
(self, x, context=None)
ldm/modules/attention.py:255
Methodforward
(self, X)
ldm/modules/evaluate/evaluate_perceptualsim.py:72
Methodforward
(self, X)
ldm/modules/evaluate/evaluate_perceptualsim.py:124
Methodforward
(self, X)
ldm/modules/evaluate/evaluate_perceptualsim.py:167
Methodforward
(self, X)
ldm/modules/evaluate/evaluate_perceptualsim.py:211
Methodforward
(self, in0, in1, retPerLayer=False)
ldm/modules/evaluate/evaluate_perceptualsim.py:272
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:52
Methodforward
Apply the module to `x` given `emb` timestep embeddings.
ldm/modules/diffusionmodules/openaimodel.py:69
Methodforward
(self, x, emb, context=None)
ldm/modules/diffusionmodules/openaimodel.py:81
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:110
Methodforward
(self,x)
ldm/modules/diffusionmodules/openaimodel.py:131
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:159
Methodforward
Apply the block to a Tensor, conditioned on a timestep embedding. :param x: an [N x C x ...] Tensor of features. :param emb:
ldm/modules/diffusionmodules/openaimodel.py:244
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:315
Methodforward
Apply QKV attention. :param qkv: an [N x (H * 3 * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor afte
ldm/modules/diffusionmodules/openaimodel.py:357
Methodforward
Apply QKV attention. :param qkv: an [N x (3 * H * C) x T] tensor of Qs, Ks, and Vs. :return: an [N x (H * C) x T] tensor afte
ldm/modules/diffusionmodules/openaimodel.py:389
Methodforward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps.
ldm/modules/diffusionmodules/openaimodel.py:745
Methodforward
Apply the model to an input batch. :param x: an [N x C x ...] Tensor of inputs. :param timesteps: a 1-D batch of timesteps.
ldm/modules/diffusionmodules/openaimodel.py:973
Methodforward
(ctx, run_function, length, *args)
ldm/modules/diffusionmodules/util.py:121
Methodforward
(self, x)
ldm/modules/diffusionmodules/util.py:215
Methodforward
(self, c_concat, c_crossattn)
ldm/modules/diffusionmodules/util.py:258
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:53
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:72
Methodforward
(self, x, temb)
ldm/modules/diffusionmodules/model.py:121
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:178
Methodforward
(self, x, t=None, context=None)
ldm/modules/diffusionmodules/model.py:316
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:434
Methodforward
(self, z)
ldm/modules/diffusionmodules/model.py:535
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:594
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:641
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:680
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:705
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:722
Methodforward
(self, x)
ldm/modules/diffusionmodules/model.py:741
Methodforward
(self, x, scale_factor=1.0)
ldm/modules/diffusionmodules/model.py:763
Methodforward
(self,x)
ldm/modules/diffusionmodules/model.py:822
Methodforward
(self, img)
ldm/modules/encoders/modules.py:31
Methodforward
(self, img)
ldm/modules/encoders/modules.py:69
Methodforward
(self, batch, key=None)
ldm/modules/encoders/modules.py:97
Methodforward
(self, tokens)
ldm/modules/encoders/modules.py:114
Methodforward
(self, text)
ldm/modules/encoders/modules.py:133
Methodforward
(self, text)
ldm/modules/encoders/modules.py:163
Methodforward
(self, text)
ldm/modules/encoders/modules.py:200
Methodforward
(self, img)
ldm/modules/encoders/modules.py:237
Methodforward
(self, text)
ldm/modules/encoders/modules.py:270
Methodforward
(self, x)
ldm/modules/encoders/modules.py:317
Methodforward
(self, text)
ldm/modules/encoders/modules.py:336
Methodforward
(self, x)
ldm/modules/encoders/modules.py:373
Methodforward
(self, x)
ldm/modules/encoders/modules.py:423
Methodforward
(self,x)
ldm/modules/encoders/modules.py:462
Methodforward
(self, x)
ldm/modules/encoders/modules.py:522
Methodforward
(self, codebook_loss, inputs, reconstructions, optimizer_idx, global_step, last_layer=None, co
ldm/modules/losses/vqperceptual.py:98
Methodforward
(self, inputs, reconstructions, posteriors, optimizer_idx, global_step, last_layer=None, cond=
ldm/modules/losses/contperceptual.py:45
Methodforward
(self, input, return_pred_indices=False)
ldm/models/autoencoder.py:117
Methodforward
(self, input, sample_posterior=True)
ldm/models/autoencoder.py:335
Methodforward
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:442
Methodforward
(self, x_noisy, t, *args, **kwargs)
ldm/models/diffusion/classifier.py:120
Methodforward
(self, x, *args, **kwargs)
ldm/models/diffusion/ddpm.py:373
Methodforward
(self, x, c, *args, **kwargs)
ldm/models/diffusion/ddpm.py:867
Methodforward
(self, x, t, c_concat: list = None, c_crossattn: list = None, c_adm=None)
ldm/models/diffusion/ddpm.py:1448
Methodforward
(self, x)
ldm/thirdp/psp/model_irse.py:46
Methodforward
(self, input)
ldm/thirdp/psp/helpers.py:13
Methodforward
(self, x)
ldm/thirdp/psp/helpers.py:67
Methodforward
(self, x)
ldm/thirdp/psp/helpers.py:93
Methodforward
(self, x)
ldm/thirdp/psp/helpers.py:118
Methodforward
(self, x, crop=False)
ldm/thirdp/psp/id_loss.py:16
Functionfused_mean_variance
(x, weight)
reconstruction/models/sparse_sdf_network.py:29
Functiongen_kernel
# modified version of https://github.com/assafshocher/BlindSR_dataset_generator # Kai Zhang # min_var = 0.175 * sf # variance of the gau
ldm/modules/image_degradation/bsrgan_light.py:145
Functiongen_kernel
# modified version of https://github.com/assafshocher/BlindSR_dataset_generator # Kai Zhang # min_var = 0.175 * sf # variance of the gau
ldm/modules/image_degradation/bsrgan.py:145
Functiongen_random_rays_from_batch_images
:param H: :param W: :param N_rays: :param images: [B,3,H,W] :param intrinsics: [B, 3, 3] :param c2ws: [B, 4, 4] :param d
reconstruction/models/rays.py:238
Functiongen_random_rays_of_patch_from_single_image
generate random rays in world space, for a single image sample rays from local patches :param H: :param W: :param N_rays: the num
reconstruction/models/rays.py:159
Functiongen_rays_between
(c2w_0, c2w_1, intrinsic, ratio, H, W, resolution_level=1)
reconstruction/models/rays.py:284
Functionget_T
(T_target, T_cond)
ldm/data/nerf_like.py:21
Methodget_base
(self)
ldm/data/imagenet.py:390
Methodget_conditional_volume
(self)
reconstruction/models/sparse_sdf_network.py:644
Methodget_last_layer
(self)
ldm/modules/diffusionmodules/model.py:364
Methodget_model_output
(x, t)
ldm/models/diffusion/plms.py:186
Functionget_nearest_pose_ids
Args: tar_pose: target pose [N, 4, 4] ref_poses: reference poses [M, 4, 4] num_select: the number of nearest views to sel
reconstruction/utils/misc_utils.py:206
Functionget_psnr
(imgs_pred, imgs_gt)
reconstruction/utils/misc_utils.py:15
Functionget_ray_directions
Get ray directions for all pixels in camera coordinate. Reference: https://www.scratchapixel.com/lessons/3d-basic-rendering/ r
reconstruction/data/One2345_eval_new_data.py:14
Functionget_scheduler
(hparams, optimizer)
reconstruction/utils/misc_utils.py:188
Functionget_spherical
(T_target, T_cond)
ldm/data/nerf_like.py:32
Methodget_split
(self)
ldm/data/coco.py:193
Methodget_split
(self)
ldm/data/coco.py:212
Methodget_split
(self)
ldm/data/coco.py:231
Methodget_weight
(iter_step, weight)
reconstruction/models/trainer_generic.py:1130
Methodget_x_prev_and_pred_x0
(e_t, index)
ldm/models/diffusion/plms.py:220
Methodgradient
return the gradient of specific lod :param x: :param lod: :return:
reconstruction/models/sparse_sdf_network.py:476
Methodgradient
return the gradient of specific lod :param x: :param lod: :return:
reconstruction/models/sparse_sdf_network.py:710
Functiongrid_sample_2d
(image, optical)
reconstruction/ops/grid_sampler.py:11
Functiongroup_by_key_prefix
(prefix, d)
ldm/modules/x_transformer.py:106
Functionhf_dataset
Make huggingface dataset with appropriate list of transforms applied
ldm/data/simple.py:447
Functionhinge_d_loss_with_exemplar_weights
(logits_real, logits_fake, weights)
ldm/modules/losses/vqperceptual.py:11
Functionhover_masks_on_imgs
(images, masks)
elevation_estimate/utils/plt_utils.py:139
Functionimage_grid
(imgs, rows, cols)
utils/utils.py:21
Functionimresize
(img, scale, antialiasing=True)
ldm/modules/image_degradation/utils_image.py:766
← previousnext →901–1,000 of 1,158, ranked by callers