MCPcopy Create free account

hub / github.com/KeepTryingTo/Pytorch-GAN / functions

Functions639 in github.com/KeepTryingTo/Pytorch-GAN

Methodforward
(self,x)
Code/net/Discriminator.py:53
Methodforward
(self,x)
Code/net/Generator.py:23
Methodforward
(self,x)
Code/net/Generator.py:33
Methodforward
(self,x)
Code/net/Generator.py:63
Methodforward
(self,x)
AutoEncoder/net/AE.py:32
Methodforward
(self, *inputs: Tensor)
PyTorch-VAE/models/base.py:23
Methodforward
(self, input: Tensor)
PyTorch-VAE/models/lvae.py:32
Methodforward
(self, z: Tensor)
PyTorch-VAE/models/lvae.py:55
Methodforward
(self, img1: Tensor, img2: Tensor)
PyTorch-VAE/models/mssim_vae.py:250
Methodforward
(self, latents: Tensor)
PyTorch-VAE/models/vq_vae.py:24
Methodforward
(self, input: Tensor)
PyTorch-VAE/models/vq_vae.py:69
Methodforward
(self,x)
VAE_AutoEncoder/net/DenseVAE.py:24
Methodforward
(self,x)
VAE_AutoEncoder/net/DenseVAE.py:46
Methodforward
(self,input,label)
fc-CGANCode/models.py:36
Methodforward
(self,input,label)
fc-CGANCode/models.py:71
Methodforward
(self,x)
Adversarial_AutoEncoder/net/Encoder.py:23
Methodforward
(self,x)
Adversarial_AutoEncoder/net/Decoder.py:23
Methodforward
(self,x)
Adversarial_AutoEncoder/net/Discriminator.py:30
Methodforward
(self,input)
GANCode/dModel.py:25
Methodforward
(self,input)
GANCode/gModel.py:23
Methodforward
(self,input)
github/net/Discriminator.py:37
Methodforward
(self,input)
github/net/Generator.py:47
Methodforward
(self, x)
ProGAN/model.py:61
Methodforward
(self, x)
ProGAN/model.py:70
Methodforward
(self, x)
ProGAN/model.py:83
Methodforward
(self, x, alpha, steps)
ProGAN/model.py:127
Methodforward
(self, x, alpha, steps)
ProGAN/model.py:207
Methodforward
(self,x)
Dropout_AutoEncoder/net/AE.py:36
Methodforward
(self,input)
pix2pix/net/Discriminator.py:20
Methodforward
(self,x,y)
pix2pix/net/Discriminator.py:46
Methodforward
(self,x)
pix2pix/net/Generator.py:25
Methodforward
(self,x)
pix2pix/net/Generator.py:64
Methodforward
(self,input)
DCGAN/DCDis.py:42
Methodforward
(self,randomNoise)
DCGAN/DCGen.py:44
Methodforward
(self,input)
WGANGPCode/net/Discriminator.py:37
Methodforward
(self,input)
WGANGPCode/net/Generator.py:47
Methodforward
(self,x)
Denoising_AutoEncoder/net/AE.py:32
Methodforward
(self,input,label)
cnn-CGANCode/models.py:72
Methodforward
(self,input,label)
cnn-CGANCode/models.py:136
Functionfunc_wrapper
(self)
PyTorch-VAE/utils.py:15
Methodgenerate
Given an input image x, returns the reconstructed image. Returns only the first reconstructed sample :param x: (Tensor) [B x
PyTorch-VAE/models/miwae.py:184
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/dfcvae.py:210
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/swae.py:199
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/logcosh_vae.py:175
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/cat_vae.py:202
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/info_vae.py:249
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/vanilla_vae.py:166
Methodgenerate
(self, x: Tensor, **kwargs)
PyTorch-VAE/models/base.py:19
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/lvae.py:264
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/dip_vae.py:184
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/wae_mmd.py:224
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/beta_vae.py:172
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/cvae.py:170
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/joint_vae.py:261
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/betatc_vae.py:231
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/twostage_vae.py:190
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/mssim_vae.py:173
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/vampvae.py:188
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/fvae.py:221
Methodgenerate
Given an input image x, returns the reconstructed image. Returns only the first reconstructed sample :param x: (Tensor) [B x
PyTorch-VAE/models/iwae.py:180
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/gamma_vae.py:230
Methodgenerate
Given an input image x, returns the reconstructed image :param x: (Tensor) [B x C x H x W] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/vq_vae.py:218
Functiongenerate_and_save_images
:param save_dir: :param gen: :param epoch: :return:
VAE_AutoEncoder/utils.py:44
Functiongenerate_examples
Tried using truncation trick here but not sure it actually helped anything, you can remove it if you like and just sample from torch.randn
ProGAN/utils.py:86
Functiongenerate_examples
Tried using truncation trick here but not sure it actually helped anything, you can remove it if you like and just sample from torch.randn
ProGAN/demo.py:282
Functiongradient_penalty
(critic, real, fake, device)
SRGAN/utils.py:15
Functiongradient_penalty
(critic, real, fake, device)
fc-CGANCode/utils.py:29
Functiongradient_penalty
(critic, real, fake, device)
cnn-CGANCode/utils.py:30
Functionload_checkPoint
(model,filename,optimizer,lr)
AutoEncoder/utils.py:57
Functionload_checkPoint
(model,filename,optimizer,lr)
Adversarial_AutoEncoder/utils.py:58
Functionload_checkPoint
(model,filename,optimizer,lr)
Dropout_AutoEncoder/utils.py:57
Functionload_checkPoint
(model,filename,optimizer,lr)
Denoising_AutoEncoder/utils.py:57
Functionload_checkpoin
(checkpoint_file,model,optimizer,lr)
Code/utils.py:23
Functionload_checkpoin
(checkpoint_file, model, optimizer, lr)
VAE_AutoEncoder/utils.py:35
Functionload_checkpoint
(checkpoint_file, model, optimizer, lr)
fc-CGANCode/utils.py:61
Functionload_checkpoint
(checkpoint_file, model, optimizer, lr)
cnn-CGANCode/utils.py:62
Methodloss_function
KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2} :param args: :param kwargs:
PyTorch-VAE/models/miwae.py:132
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/dfcvae.py:163
Methodloss_function
(self, *args, **kwargs)
PyTorch-VAE/models/swae.py:110
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/logcosh_vae.py:125
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/cat_vae.py:139
Methodloss_function
(self, *args, **kwargs)
PyTorch-VAE/models/info_vae.py:128
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/vanilla_vae.py:124
Methodloss_function
(self, *inputs: Any, **kwargs)
PyTorch-VAE/models/base.py:27
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/lvae.py:218
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/dip_vae.py:125
Methodloss_function
(self, *args, **kwargs)
PyTorch-VAE/models/wae_mmd.py:107
Methodloss_function
(self, *args, **kwargs)
PyTorch-VAE/models/beta_vae.py:129
Methodloss_function
(self, *args, **kwargs)
PyTorch-VAE/models/cvae.py:133
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/joint_vae.py:175
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/betatc_vae.py:144
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/twostage_vae.py:148
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/mssim_vae.py:131
Methodloss_function
(self, *args, **kwargs)
PyTorch-VAE/models/vampvae.py:123
Methodloss_function
Computes the VAE loss function. KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2}
PyTorch-VAE/models/fvae.py:151
Methodloss_function
KL(N(\mu, \sigma), N(0, 1)) = \log \frac{1}{\sigma} + \frac{\sigma^2 + \mu^2}{2} - \frac{1}{2} :param args: :param kwargs:
PyTorch-VAE/models/iwae.py:129
Methodloss_function
(self, *args, **kwargs)
PyTorch-VAE/models/gamma_vae.py:184
Methodloss_function
:param args: :param kwargs: :return:
PyTorch-VAE/models/vq_vae.py:194
Methodon_validation_end
(self)
PyTorch-VAE/experiment.py:61
Functionplot_predictions
:param y_true: 真实的图像 :param y_pred: 网络输出的图像 :return:
VAE_AutoEncoder/utils.py:76
← previousnext →401–500 of 639, ranked by callers