Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KeepTryingTo/Pytorch-GAN
/ functions
Functions
639 in github.com/KeepTryingTo/Pytorch-GAN
⨍
Functions
639
◇
Types & classes
107
↓ 1 callers
Function
Parser
()
cnn-CGANCode/train.py:20
↓ 1 callers
Method
__init__
(self,in_channels,out_channels,stride)
Code/net/Discriminator.py:13
↓ 1 callers
Method
__init__
(self)
PyTorch-VAE/dataset.py:16
↓ 1 callers
Method
__init__
Computes the differentiable MS-SSIM loss Reference: [1] https://github.com/jorge-pessoa/pytorch-msssim/blob/dev/pytorch_msssi
PyTorch-VAE/models/mssim_vae.py:184
↓ 1 callers
Method
__init__
(self,hidden_dim = 512,latent_dim = 2)
VAE_AutoEncoder/net/DenseVAE.py:11
↓ 1 callers
Method
__init__
(self,in_features = 100,W = 28,H = 28)
fc-CGANCode/models.py:12
↓ 1 callers
Method
__init__
(self,in_channels,out_channels,stride=2)
pix2pix/net/Discriminator.py:12
↓ 1 callers
Method
__init__
(self,in_channels, out_channels, down=True, act="relu", use_dropout=False)
pix2pix/net/Generator.py:12
↓ 1 callers
Method
__init__
(self,img_channels = 1,d = 128)
cnn-CGANCode/models.py:17
↓ 1 callers
Function
closeEvent
(root)
StyleGAN/mainWindow.py:67
↓ 1 callers
Function
closeEvent
(root)
SRGAN/mainWindows.py:115
↓ 1 callers
Function
closeEvent
(root)
Code/mainWindows.py:115
↓ 1 callers
Function
closeEvent
(root)
fc-CGANCode/mainWindow.py:72
↓ 1 callers
Function
closeEvent
(root)
GANCode/mainWindow.py:65
↓ 1 callers
Function
closeEvent
(root)
github/mainWindow.py:67
↓ 1 callers
Function
closeEvent
(root)
ProGAN/mainWindow.py:67
↓ 1 callers
Function
closeEvent
(root)
pix2pix/mainWindows.py:119
↓ 1 callers
Function
closeEvent
(root)
DCGAN/mainWindow.py:66
↓ 1 callers
Function
closeEvent
(root)
WGANGPCode/mainWindow.py:67
↓ 1 callers
Function
closeEvent
(root)
cnn-CGANCode/mainWindow.py:72
↓ 1 callers
Method
compute_inv_mult_quad
Computes the Inverse Multi-Quadratics Kernel between x1 and x2, given by k(x_1, x_2) = \sum \frac{C}{C + \|x_1 - x_2
PyTorch-VAE/models/info_vae.py:195
↓ 1 callers
Method
compute_inv_mult_quad
Computes the Inverse Multi-Quadratics Kernel between x1 and x2, given by k(x_1, x_2) = \sum \frac{C}{C + \|x_1 - x_2
PyTorch-VAE/models/wae_mmd.py:170
↓ 1 callers
Method
compute_kl_divergence
(self, z: Tensor, q_params: Tuple, p_params: Tuple)
PyTorch-VAE/models/lvae.py:186
↓ 1 callers
Method
compute_mmd
(self, z: Tensor)
PyTorch-VAE/models/info_vae.py:218
↓ 1 callers
Method
compute_mmd
(self, z: Tensor, reg_weight: float)
PyTorch-VAE/models/wae_mmd.py:193
↓ 1 callers
Method
compute_rbf
Computes the RBF Kernel between x1 and x2. :param x1: (Tensor) :param x2: (Tensor) :param eps: (Float) :retur
PyTorch-VAE/models/info_vae.py:178
↓ 1 callers
Method
compute_rbf
Computes the RBF Kernel between x1 and x2. :param x1: (Tensor) :param x2: (Tensor) :param eps: (Float) :retur
PyTorch-VAE/models/wae_mmd.py:153
↓ 1 callers
Method
compute_swd
Computes the Sliced Wasserstein Distance (SWD) - which consists of randomly projecting the encoded and prior vectors and computing
PyTorch-VAE/models/swae.py:151
↓ 1 callers
Method
copy_weights_to
(self, model)
StyleGAN/utils.py:131
↓ 1 callers
Method
create_window
(self, window_size, in_channels)
PyTorch-VAE/models/mssim_vae.py:208
↓ 1 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D x H x W] :return: (Tensor) [B x C x H x W
PyTorch-VAE/models/vq_vae.py:178
↓ 1 callers
Function
download_file
(session, file_spec, stats, chunk_size=128, num_attempts=10, **kwargs)
StyleGAN/download_ffhq.py:58
↓ 1 callers
Method
encode
(self, input: Tensor)
PyTorch-VAE/models/hvae.py:145
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/miwae.py:81
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/dfcvae.py:90
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/swae.py:84
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/logcosh_vae.py:78
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/cat_vae.py:89
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/info_vae.py:88
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/vanilla_vae.py:77
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/lvae.py:134
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/dip_vae.py:78
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/wae_mmd.py:81
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/beta_vae.py:88
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/cvae.py:83
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/joint_vae.py:111
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/betatc_vae.py:84
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/twostage_vae.py:100
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/mssim_vae.py:84
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/fvae.py:92
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/iwae.py:78
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/gamma_vae.py:92
↓ 1 callers
Method
encode
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/vq_vae.py:168
↓ 1 callers
Method
encode_z1
(self, input: Tensor, z2: Tensor)
PyTorch-VAE/models/hvae.py:132
↓ 1 callers
Method
encode_z2
Encodes the input by passing through the encoder network and returns the latent codes. :param input: (Tensor) Input tensor to
PyTorch-VAE/models/hvae.py:115
↓ 1 callers
Method
fade_in
(self,alpha,upscaled,generated)
StyleGAN/net/model.py:191
↓ 1 callers
Method
fade_in
Used to fade in downscaled using avg pooling and output from CNN
StyleGAN/net/model.py:254
↓ 1 callers
Method
fade_in
(self, alpha, upscaled, generated)
ProGAN/model.py:123
↓ 1 callers
Method
fade_in
Used to fade in downscaled using avg pooling and output from CNN
ProGAN/model.py:193
↓ 1 callers
Function
format_time
(seconds)
StyleGAN/download_ffhq.py:144
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/hvae.py:170
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/miwae.py:124
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/dfcvae.py:132
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/swae.py:106
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/logcosh_vae.py:120
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/cat_vae.py:134
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/info_vae.py:123
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/vanilla_vae.py:119
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/lvae.py:209
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/dip_vae.py:120
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/wae_mmd.py:103
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/beta_vae.py:124
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/cvae.py:119
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/joint_vae.py:170
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/betatc_vae.py:127
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/twostage_vae.py:142
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/mssim_vae.py:126
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/vampvae.py:118
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/fvae.py:134
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/iwae.py:121
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/gamma_vae.py:158
↓ 1 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/models/vq_vae.py:189
↓ 1 callers
Method
gaussian_window
(self, window_size:int, sigma: float)
PyTorch-VAE/models/mssim_vae.py:203
↓ 1 callers
Function
generagedImage
:param model: :return:
StyleGAN/mainWindow.py:73
↓ 1 callers
Function
generagedImage
:param model: :return:
SRGAN/mainWindows.py:121
↓ 1 callers
Function
generagedImage
:param model: :return:
Code/mainWindows.py:121
↓ 1 callers
Function
generagedImage
:param model: :return:
fc-CGANCode/mainWindow.py:78
↓ 1 callers
Function
generagedImage
:param model: :return:
GANCode/mainWindow.py:71
↓ 1 callers
Function
generagedImage
:param model: :return:
github/mainWindow.py:73
↓ 1 callers
Function
generagedImage
:param model: :return:
ProGAN/mainWindow.py:73
↓ 1 callers
Function
generagedImage
:param model: :return:
pix2pix/mainWindows.py:125
↓ 1 callers
Function
generagedImage
:param model: :return:
DCGAN/mainWindow.py:72
↓ 1 callers
Function
generagedImage
:param model: :return:
WGANGPCode/mainWindow.py:73
↓ 1 callers
Function
generagedImage
:param model: :return:
cnn-CGANCode/mainWindow.py:78
↓ 1 callers
Function
get_loader
(image_size)
StyleGAN/train.py:28
↓ 1 callers
Function
get_loader
(image_size)
ProGAN/train.py:30
↓ 1 callers
Function
get_loader
(image_size)
ProGAN/demo.py:21
↓ 1 callers
Method
get_random_projections
Returns random samples from latent distribution's (Gaussian) unit sphere for projecting the encoded samples and the distribut
PyTorch-VAE/models/swae.py:129
↓ 1 callers
Function
gradient_penality
:param critic: 判别器模型 :param real: 真实样本 :param fake: 生成的样本 :param device: 设备CUP or GPU :return:
WGANGPCode/utils.py:10
↓ 1 callers
Function
gradient_penalty
(critic, real, fake, alpha, train_step, device="cpu")
StyleGAN/utils.py:34
← previous
next →
101–200 of 639, ranked by callers