MCPcopy Create free account

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

Functions639 in github.com/KeepTryingTo/Pytorch-GAN

↓ 1 callersFunctiongradient_penalty
(critic, real, fake, alpha, train_step, device="cpu")
ProGAN/utils.py:33
↓ 1 callersFunctiongradient_penalty
(critic, real, fake, alpha, train_step, device="cpu")
ProGAN/demo.py:229
↓ 1 callersMethodh_func
Reparameterize a sample eps ~ N(0, 1) so that h(z) ~ Gamma(alpha, 1) :param alpha: (Tensor) Shape parameter :param eps: (Tens
PyTorch-VAE/models/gamma_vae.py:137
↓ 1 callersFunctioninit_
(m)
PyTorch-VAE/models/gamma_vae.py:239
↓ 1 callersMethodinv_h_func
Inverse reparameterize the given z into eps. :param alpha: (Tensor) :param z: (Tensor) :return: (Tensor)
PyTorch-VAE/models/gamma_vae.py:148
↓ 1 callersFunctionloadModel
:param model: :return:
StyleGAN/mainWindow.py:90
↓ 1 callersFunctionloadModel
:param model: :return:
SRGAN/mainWindows.py:133
↓ 1 callersFunctionloadModel
:param model: :return:
fc-CGANCode/mainWindow.py:92
↓ 1 callersFunctionloadModel
:param model: :return:
GANCode/mainWindow.py:87
↓ 1 callersFunctionloadModel
:param model: :return:
github/mainWindow.py:95
↓ 1 callersFunctionloadModel
:param model: :return:
ProGAN/mainWindow.py:91
↓ 1 callersFunctionloadModel
:param model: :return:
pix2pix/mainWindows.py:153
↓ 1 callersFunctionloadModel
:param model: :return:
DCGAN/mainWindow.py:94
↓ 1 callersFunctionloadModel
:param model: :return:
WGANGPCode/mainWindow.py:95
↓ 1 callersFunctionloadModel
:param model: :return:
cnn-CGANCode/mainWindow.py:92
↓ 1 callersFunctionmain
()
StyleGAN/train.py:143
↓ 1 callersFunctionmain
()
SRGAN/train.py:67
↓ 1 callersFunctionmain
(args)
fc-CGANCode/train.py:90
↓ 1 callersFunctionmain
()
ProGAN/train.py:138
↓ 1 callersFunctionmain
()
ProGAN/demo.py:129
↓ 1 callersFunctionmain
()
pix2pix/train.py:57
↓ 1 callersFunctionmain
(args)
cnn-CGANCode/train.py:95
↓ 1 callersFunctionmain_
()
Code/train.py:106
↓ 1 callersMethodmerge_gauss
(self, mu_1: Tensor, mu_2: Tensor, log_var_1: Tens
PyTorch-VAE/models/lvae.py:173
↓ 1 callersMethodpermute_latent
Permutes each of the latent codes in the batch :param z: [B x D] :return: [B x D]
PyTorch-VAE/models/fvae.py:139
↓ 1 callersFunctionplot_examples
(low_res_folder, gen)
SRGAN/utils.py:59
↓ 1 callersFunctionplot_to_tensorboard
( writer, loss_critic, loss_gen, real, fake, tensorboard_step )
StyleGAN/utils.py:17
↓ 1 callersFunctionplot_to_tensorboard
( writer, loss_critic, loss_gen, real, fake, tensorboard_step )
ProGAN/utils.py:18
↓ 1 callersFunctionplot_to_tensorboard
( writer, loss_critic, loss_gen, real, fake, tensorboard_step )
ProGAN/demo.py:214
↓ 1 callersFunctionprint_statistics
(json_data)
StyleGAN/download_ffhq.py:219
↓ 1 callersFunctionrecreate_aligned_images
(json_data, source_dir, dst_dir='realign1024x1024', output_size=1024, transform_size=4096, enable_padding=True
StyleGAN/download_ffhq.py:258
↓ 1 callersMethodreparameterize
:param mu: (Tensor) Mean of the latent Gaussian :param logvar: (Tensor) Standard deviation of the latent Gaussian :return:
PyTorch-VAE/models/miwae.py:114
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/dfcvae.py:120
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/logcosh_vae.py:108
↓ 1 callersMethodreparameterize
Gumbel-softmax trick to sample from Categorical Distribution :param z: (Tensor) Latent Codes [B x D x Q] :return: (Tensor) [B
PyTorch-VAE/models/cat_vae.py:118
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/info_vae.py:111
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/vanilla_vae.py:107
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/dip_vae.py:108
↓ 1 callersMethodreparameterize
Will a single z be enough ti compute the expectation for the loss?? :param mu: (Tensor) Mean of the latent Gaussian :
PyTorch-VAE/models/beta_vae.py:112
↓ 1 callersMethodreparameterize
Will a single z be enough ti compute the expectation for the loss?? :param mu: (Tensor) Mean of the latent Gaussian :
PyTorch-VAE/models/cvae.py:107
↓ 1 callersMethodreparameterize
Gumbel-softmax trick to sample from Categorical Distribution :param mu: (Tensor) mean of the latent Gaussian [B x D] :param
PyTorch-VAE/models/joint_vae.py:142
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/betatc_vae.py:115
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/twostage_vae.py:130
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/mssim_vae.py:114
↓ 1 callersMethodreparameterize
Will a single z be enough ti compute the expectation for the loss?? :param mu: (Tensor) Mean of the latent Gaussian :
PyTorch-VAE/models/vampvae.py:106
↓ 1 callersMethodreparameterize
Reparameterization trick to sample from N(mu, var) from N(0,1). :param mu: (Tensor) Mean of the latent Gaussian [B x D]
PyTorch-VAE/models/fvae.py:122
↓ 1 callersMethodreparameterize
:param mu: (Tensor) Mean of the latent Gaussian :param logvar: (Tensor) Standard deviation of the latent Gaussian :return:
PyTorch-VAE/models/iwae.py:111
↓ 1 callersMethodreparameterize
Reparameterize the Gamma distribution by the shape augmentation trick. Reference: [1] https://arxiv.org/pdf/1610.05683.pdf
PyTorch-VAE/models/gamma_vae.py:116
↓ 1 callersFunctionresize
(imgsPath = 'test_images/')
SRGAN/reSize.py:11
↓ 1 callersFunctionrun
(tasks, **download_kwargs)
StyleGAN/download_ffhq.py:383
↓ 1 callersFunctionrun_cmdline
(argv)
StyleGAN/download_ffhq.py:415
↓ 1 callersMethodsample
Samples from the latent space and return the corresponding image space map. :param num_samples: (Int) Number of samples
PyTorch-VAE/models/swae.py:181
↓ 1 callersMethodsample
Samples from the latent space and return the corresponding image space map. :param num_samples: (Int) Number of samples
PyTorch-VAE/models/gamma_vae.py:214
↓ 1 callersMethodsample_images
(self)
PyTorch-VAE/experiment.py:64
↓ 1 callersFunctionsaveImage
(generator,epoch,)
fc-CGANCode/utils.py:17
↓ 1 callersFunctionsaveImage
(generator,epoch,)
cnn-CGANCode/utils.py:17
↓ 1 callersFunctionsave_checkpoint
(model, optimizer, filename="my_checkpoint.pth.tar")
fc-CGANCode/utils.py:52
↓ 1 callersFunctionsave_checkpoint
(model, optimizer, filename="my_checkpoint.pth.tar")
cnn-CGANCode/utils.py:53
↓ 1 callersMethodsave_ema_weights
(self)
StyleGAN/utils.py:136
↓ 1 callersFunctionsave_some_examples
:param gen: 生成模型 :param val_loader:加载的验证集数据集 :param epoch: 迭代次数 :param folder: 保存文件路径 :return:
pix2pix/utils.py:11
↓ 1 callersFunctionseed_everything
(seed=42)
ProGAN/demo.py:272
↓ 1 callersFunctionselectFilename
(root)
SRGAN/mainWindows.py:97
↓ 1 callersFunctionselectFilename
(root)
Code/mainWindows.py:97
↓ 1 callersFunctionselectFilename
(root)
pix2pix/mainWindows.py:101
↓ 1 callersFunctionset_BackGround
(image_path, root = root)
StyleGAN/mainWindow.py:59
↓ 1 callersFunctionset_BackGround
(image_path1,image_path2, root)
SRGAN/mainWindows.py:83
↓ 1 callersFunctionset_BackGround
(image_path1,image_path2, root)
Code/mainWindows.py:83
↓ 1 callersFunctionset_BackGround
(image_path, root = root)
fc-CGANCode/mainWindow.py:64
↓ 1 callersFunctionset_BackGround
(image_path, root = root)
GANCode/mainWindow.py:57
↓ 1 callersFunctionset_BackGround
(image_path, root = root)
github/mainWindow.py:59
↓ 1 callersFunctionset_BackGround
(image_path, root = root)
ProGAN/mainWindow.py:59
↓ 1 callersFunctionset_BackGround
(image_path1,image_path2, image_path3,root)
pix2pix/mainWindows.py:83
↓ 1 callersFunctionset_BackGround
(image_path, root = root)
DCGAN/mainWindow.py:58
↓ 1 callersFunctionset_BackGround
(image_path, root = root)
WGANGPCode/mainWindow.py:59
↓ 1 callersFunctionset_BackGround
(image_path, root = root)
cnn-CGANCode/mainWindow.py:64
↓ 1 callersMethodsetup
(self, stage: Optional[str] = None)
PyTorch-VAE/dataset.py:100
↓ 1 callersMethodssim
(self, img1: Tensor, img2: Tensor, window_size: int, in_ch
PyTorch-VAE/models/mssim_vae.py:214
↓ 1 callersFunctiontest
()
SRGAN/dataset.py:47
↓ 1 callersMethodtest_dataloader
(self)
PyTorch-VAE/dataset.py:173
↓ 1 callersFunctiontrain_fn
( critic, gen, loader, dataset, step, alpha, opt_critic, opt_gen, tensorbo
StyleGAN/train.py:54
↓ 1 callersFunctiontrain_fn
(loader, disc, gen, opt_gen, opt_disc, mse, bce, vgg_loss,epoch)
SRGAN/train.py:20
↓ 1 callersFunctiontrain_fn
(disc_X,disc_Y,gen_G,gen_F,loader,opt_disc,opt_gen,L1,mse,d_scale,g_scale,epoch,cudaIsAvailable = False)
Code/train.py:23
↓ 1 callersFunctiontrain_fn
(generator,discriminator,optimizer_G,optimizer_D,adversarial_loss,dataloader,epoch)
fc-CGANCode/train.py:38
↓ 1 callersFunctiontrain_fn
( critic, gen, loader, dataset, step, alpha, opt_critic, opt_gen, tensorbo
ProGAN/train.py:54
↓ 1 callersFunctiontrain_fn
( critic, gen, loader, dataset, step, alpha, opt_critic, opt_gen, tensorbo
ProGAN/demo.py:45
↓ 1 callersFunctiontrain_fn
(disc,gen,train_loader,opt_disc,opt_gen,L1_LOSS,BCE)
pix2pix/train.py:19
↓ 1 callersFunctiontrain_fn
(generator,discriminator,optimizer_G,optimizer_D,adversarial_loss,dataloader,epoch)
cnn-CGANCode/train.py:38
↓ 1 callersMethodvae_gamma_kl_loss
https://stats.stackexchange.com/questions/11646/kullback-leibler-divergence-between-two-gamma-distributions b and d are Gamma shape p
PyTorch-VAE/models/gamma_vae.py:171
↓ 1 callersMethodweight_init
(self)
PyTorch-VAE/models/gamma_vae.py:85
Method__call__
(self, model)
StyleGAN/utils.py:121
Method__getitem__
(self, index)
SRGAN/dataset.py:31
Method__getitem__
(self, index)
Code/datasets.py:33
Method__getitem__
(self, idx)
PyTorch-VAE/dataset.py:23
Method__getitem__
(self, idx)
PyTorch-VAE/dataset.py:58
Method__getitem__
(self, index)
pix2pix/dataset.py:25
Method__init__
Initialize the weight to which we will do the exponential moving average and the dictionary where we store the model paramete
StyleGAN/utils.py:94
Method__init__
(self)
StyleGAN/net/model.py:19
Method__init__
(self,in_channels,out_channels,kernel_size = 3,stride = 1, padding = 1,gain = 2)
StyleGAN/net/model.py:29
Method__init__
(self,in_features,out_features,gain = 2)
StyleGAN/net/model.py:50
Method__init__
(self,z_dim,w_dim)
StyleGAN/net/model.py:68
← previousnext →201–300 of 639, ranked by callers