MCPcopy Create free account

hub / github.com/MegaScenes/nvs / functions

Functions1,032 in github.com/MegaScenes/nvs

Functioncompute_perceptual_similarity_from_list_topk
(pred_imgs_list, tgt_imgs_list, take_every_other, resize=Fals
ldm/modules/evaluate/evaluate_perceptualsim.py:502
Functioncompute_scale_and_shift_to_01
(target_disparity, mask)
ldm/data/common.py:164
Methodconfigure_optimizers
(self)
ldm/models/autoencoder.py:388
Methodconfigure_optimizers
(self)
ldm/models/diffusion/classifier.py:220
Methodconfigure_optimizers
(self)
ldm/models/diffusion/ddpm.py:477
Methodconfigure_optimizers
(self)
ldm/models/diffusion/ddpm.py:1645
Methodconfigure_optimizers
(self)
ldm/models/diffusion/backup_ddpm.py:475
Methodconfigure_optimizers
(self)
ldm/models/diffusion/backup_ddpm.py:1399
Methodconfigure_optimizers
(self)
ldm/models/diffusion/all_functions_ddpm.py:477
Methodconfigure_optimizers
(self)
ldm/models/diffusion/all_functions_ddpm.py:1500
Functionconvert_module_to_f16
(x)
ldm/modules/diffusionmodules/openaimodel.py:26
Functionconvert_module_to_f32
(x)
ldm/modules/diffusionmodules/openaimodel.py:29
Methodconvert_to_fp16
Convert the torso of the model to float16.
ldm/modules/diffusionmodules/openaimodel.py:730
Methodconvert_to_fp16
Convert the torso of the model to float16.
ldm/modules/diffusionmodules/openaimodel.py:969
Methodconvert_to_fp32
Convert the torso of the model to float32.
ldm/modules/diffusionmodules/openaimodel.py:738
Methodconvert_to_fp32
Convert the torso of the model to float32.
ldm/modules/diffusionmodules/openaimodel.py:976
Methodcount_flops
(model, _x, y)
ldm/modules/diffusionmodules/openaimodel.py:377
Methodcount_flops
(model, _x, y)
ldm/modules/diffusionmodules/openaimodel.py:411
Functioncreate_carvekit_interface
()
ldm/util.py:47
Functioncreate_id3_embedding
Embeds the given videos using the Inflated 3D Convolution ne twork. Downloads the graph of the I3D from tf.hub and adds it to the graph on the
ldm/modules/evaluate/frechet_video_distance.py:66
Functioncreate_pose_embedding
(rot_mat, trans_mat, K, pos_enc=False, target_res=256)
dataloader/data_helpers.py:220
Methoddecode
(self, z)
ldm/modules/encoders/modules.py:553
Methoddecode
(self, h, force_not_quantize=False)
ldm/models/autoencoder.py:275
Methoddecode
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:436
Methoddecode_code
(self, code_b)
ldm/models/autoencoder.py:113
Functiondegradation_bsrgan
This is the degradation model of BSRGAN from the paper "Designing a Practical Degradation Model for Deep Blind Image Super-Resolution" --
ldm/modules/image_degradation/bsrgan_light.py:442
Functiondegradation_bsrgan
This is the degradation model of BSRGAN from the paper "Designing a Practical Degradation Model for Deep Blind Image Super-Resolution" --
ldm/modules/image_degradation/bsrgan.py:438
Functiondegradation_bsrgan_plus
This is an extended degradation model by combining the degradation models of BSRGAN and Real-ESRGAN ---------- img: HXWXC, [0, 1], it
ldm/modules/image_degradation/bsrgan.py:617
Functiondegradation_bsrgan_variant
This is the degradation model of BSRGAN from the paper "Designing a Practical Degradation Model for Deep Blind Image Super-Resolution" --
ldm/modules/image_degradation/bsrgan_light.py:534
Functiondegradation_bsrgan_variant
This is the degradation model of BSRGAN from the paper "Designing a Practical Degradation Model for Deep Blind Image Super-Resolution" --
ldm/modules/image_degradation/bsrgan.py:530
Functiondict_collation_fn
Take a list of samples (as dictionary) and create a batch, preserving the keys. If `tensors` is True, `ndarray` objects are combined into ten
ldm/data/laion.py:77
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/modules/encoders/modules.py:182
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/models/diffusion/classifier.py:22
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/models/diffusion/ddpm.py:38
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/models/diffusion/backup_ddpm.py:38
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
ldm/models/diffusion/all_functions_ddpm.py:38
Functiondpsr_degradation
bicubic downsampling + blur Args: x: HxWxC image, [0, 1] k: hxw, double sf: down-scale factor Return: downsam
ldm/modules/image_degradation/bsrgan_light.py:262
Functiondpsr_degradation
bicubic downsampling + blur Args: x: HxWxC image, [0, 1] k: hxw, double sf: down-scale factor Return: downsam
ldm/modules/image_degradation/bsrgan.py:262
Methodencode
(self, *args, **kwargs)
ldm/modules/encoders/modules.py:20
Methodencode
(self, x)
ldm/modules/encoders/modules.py:25
Methodencode
(self, img)
ldm/modules/encoders/modules.py:58
Methodencode
(self, img)
ldm/modules/encoders/modules.py:88
Methodencode
(self, x)
ldm/modules/encoders/modules.py:123
Methodencode
(self, text)
ldm/modules/encoders/modules.py:144
Methodencode
(self, text)
ldm/modules/encoders/modules.py:213
Methodencode
(self, img)
ldm/modules/encoders/modules.py:255
Methodencode
(self, text)
ldm/modules/encoders/modules.py:300
Methodencode
(self, im)
ldm/modules/encoders/modules.py:348
Methodencode
(self, text)
ldm/modules/encoders/modules.py:361
Methodencode
(self, im)
ldm/modules/encoders/modules.py:402
Methodencode
(self, im)
ldm/modules/encoders/modules.py:461
Methodencode
(self, x)
ldm/modules/encoders/modules.py:492
Methodencode
(self, x)
ldm/models/autoencoder.py:270
Methodencode
(self, x, *args, **kwargs)
ldm/models/autoencoder.py:433
Methodencode_to_prequant
(self, x)
ldm/models/autoencoder.py:103
Functionet_to_utc
(filename)
dataloader/data_helpers.py:438
Functioneuler_angles_to_rotation_matrix
(yaw_deg, pitch_deg, roll_deg)
dataloader/data_helpers.py:272
Functioneuler_angles_to_rotation_matrix
(yaw_deg, pitch_deg, roll_deg)
ldm/data/data_helpers.py:206
Functioneuler_to_quaternion
Convert Euler angles to a quaternion
dataloader/data_helpers.py:571
Methodevaluate
Evaluate if new feature vectors are at the manifold.
ldm/modules/evaluate/adm_evaluator.py:305
Functionexample00
()
ldm/data/laion.py:365
Functionexample01
()
ldm/data/laion.py:397
Functionexample02
()
ldm/data/laion.py:438
Functionexample04
()
ldm/data/laion.py:505
Functionext_to_sph
(ext)
dataloader/data_helpers.py:590
Functionfilename_to_image
(img_txt)
dataloader/data_helpers.py:352
Functionfilter_keys
(x)
ldm/data/laion.py:462
Methodfilter_keys
(self, x)
ldm/data/laion.py:205
Methodfilter_size
(self, x)
ldm/data/laion.py:188
Methodforward
(self,model)
ldm/modules/ema.py:25
Methodforward
(self, x)
ldm/modules/x_transformer.py:34
Methodforward
(self, x, seq_dim=1, offset=0)
ldm/modules/x_transformer.py:45
Methodforward
(self, x, **kwargs)
ldm/modules/x_transformer.py:123
Methodforward
(self, x, **kwargs)
ldm/modules/x_transformer.py:134
Methodforward
(self, x)
ldm/modules/x_transformer.py:146
Methodforward
(self, x)
ldm/modules/x_transformer.py:158
Methodforward
(self, x, residual)
ldm/modules/x_transformer.py:164
Methodforward
(self, x, residual)
ldm/modules/x_transformer.py:173
Methodforward
(self, x)
ldm/modules/x_transformer.py:189
Methodforward
(self, x)
ldm/modules/x_transformer.py:210
Methodforward
( self, x, context=None, mask=None, context_mask=N
ldm/modules/x_transformer.py:268
Methodforward
( self, x, context=None, mask=None, context_mask=N
ldm/modules/x_transformer.py:481
Methodforward
( self, x, return_embeddings=False, mask=None, ret
ldm/modules/x_transformer.py:598
Methodforward
(self, x)
ldm/modules/attention.py:43
Methodforward
(self, x)
ldm/modules/attention.py:64
Methodforward
(self, x)
ldm/modules/attention.py:89
Methodforward
(self, x)
ldm/modules/attention.py:127
Methodforward
(self, x, context=None, mask=None)
ldm/modules/attention.py:171
Methodforward
(self, x, context=None)
ldm/modules/attention.py:213
Methodforward
(self, x, context=None)
ldm/modules/attention.py:258
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:53
Methodforward
Apply the module to `x` given `emb` timestep embeddings.
ldm/modules/diffusionmodules/openaimodel.py:70
Methodforward
(self, x, emb, context=None)
ldm/modules/diffusionmodules/openaimodel.py:82
Methodforward
(self, x)
ldm/modules/diffusionmodules/openaimodel.py:111
Methodforward
(self,x)
ldm/modules/diffusionmodules/openaimodel.py:132
← previousnext →701–800 of 1,032, ranked by callers