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
↓ 23 callers
Method
loss_function
(self, *args, **kwargs)
PyTorch-VAE/models/hvae.py:192
↓ 13 callers
Method
sample
(self, batch_size:int, current_device: int, **kwargs)
PyTorch-VAE/models/hvae.py:233
↓ 9 callers
Method
__init__
(self,channel,w_dim)
StyleGAN/net/model.py:109
↓ 6 callers
Function
showImage
:param root: 主窗口 :return:
pix2pix/mainWindows.py:61
↓ 5 callers
Method
generate
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/hvae.py:252
↓ 5 callers
Function
showImage
:param root: 主窗口 :return:
SRGAN/mainWindows.py:62
↓ 4 callers
Method
__init__
(self,in_channels,out_channels, discriminator = False,use_act = True, use_bn
SRGAN/models.py:12
↓ 4 callers
Method
__init__
( self, in_channels, out_channels, kernel_size=3, stride=1, padding=1, gain=2 )
ProGAN/model.py:48
↓ 4 callers
Method
_block
(self,in_channels,out_channels,kernel_size,stride,padding)
github/net/Generator.py:37
↓ 4 callers
Method
_block
(self,in_channels,out_channels,kernel_size,stride,padding)
WGANGPCode/net/Generator.py:37
↓ 4 callers
Function
showImage
:param root: 主窗口 :return:
Code/mainWindows.py:62
↓ 3 callers
Function
Canvas_
(root)
SRGAN/mainWindows.py:45
↓ 3 callers
Function
Canvas_
(root)
Code/mainWindows.py:45
↓ 3 callers
Function
Canvas_
(root)
pix2pix/mainWindows.py:35
↓ 3 callers
Method
_block
(self,in_channels,out_channels,kernel_size,stride,padding)
github/net/Discriminator.py:29
↓ 3 callers
Method
_block
(self,in_channels,out_channels,kernel_size,stride,padding)
WGANGPCode/net/Discriminator.py:29
↓ 3 callers
Method
compute_kernel
(self, x1: Tensor, x2: Tensor)
PyTorch-VAE/models/info_vae.py:150
↓ 3 callers
Method
compute_kernel
(self, x1: Tensor, x2: Tensor)
PyTorch-VAE/models/wae_mmd.py:125
↓ 3 callers
Method
decode
(self, input: Tensor)
PyTorch-VAE/models/hvae.py:153
↓ 3 callers
Method
log_density_gaussian
Computes the log pdf of the Gaussian with parameters mu and logvar at x :param x: (Tensor) Point at whichGaussian PDF is to be evalua
PyTorch-VAE/models/betatc_vae.py:132
↓ 3 callers
Function
loss_fn
(inputs,outputs,loss_fn,z_mean,z_log_var,num_features = 784)
VAE_AutoEncoder/utils.py:101
↓ 3 callers
Method
reparameterize
Will a single z be enough ti compute the expectation for the loss?? :param mu: (Tensor) Mean of the latent Gaussian :
PyTorch-VAE/models/hvae.py:158
↓ 3 callers
Method
reparameterize
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/lvae.py:197
↓ 2 callers
Function
Canvas_
(root)
StyleGAN/mainWindow.py:29
↓ 2 callers
Function
Canvas_
(root)
fc-CGANCode/mainWindow.py:34
↓ 2 callers
Function
Canvas_
(root)
GANCode/mainWindow.py:27
↓ 2 callers
Function
Canvas_
(root)
github/mainWindow.py:29
↓ 2 callers
Function
Canvas_
(root)
ProGAN/mainWindow.py:29
↓ 2 callers
Function
Canvas_
(root)
DCGAN/mainWindow.py:28
↓ 2 callers
Function
Canvas_
(root)
WGANGPCode/mainWindow.py:29
↓ 2 callers
Function
Canvas_
(root)
cnn-CGANCode/mainWindow.py:34
↓ 2 callers
Method
I_function
(self, a, b, c, d)
PyTorch-VAE/models/gamma_vae.py:168
↓ 2 callers
Method
__init__
(self,in_channels,out_channels,down=True,use_act=True,**kwargs)
Code/net/Generator.py:14
↓ 2 callers
Method
__init__
(self, in_channels: int, latent_dims: List, hidden_dims: Li
PyTorch-VAE/models/lvae.py:64
↓ 2 callers
Method
__init__
(self, in_channels: int, embedding_dim: int, num_embeddings
PyTorch-VAE/models/vq_vae.py:75
↓ 2 callers
Function
choose_bytes_unit
(num_bytes)
StyleGAN/download_ffhq.py:134
↓ 2 callers
Function
conv_out_shape
(img_size)
PyTorch-VAE/models/lvae.py:9
↓ 2 callers
Method
decode
Maps the given latent codes of S samples onto the image space. :param z: (Tensor) [B x S x D] :return: (Tensor) [B x
PyTorch-VAE/models/miwae.py:98
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/dfcvae.py:107
↓ 2 callers
Method
decode
(self, z: Tensor)
PyTorch-VAE/models/swae.py:99
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/logcosh_vae.py:95
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D x Q] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/cat_vae.py:105
↓ 2 callers
Method
decode
(self, z: Tensor)
PyTorch-VAE/models/info_vae.py:104
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/vanilla_vae.py:94
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/lvae.py:151
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/dip_vae.py:95
↓ 2 callers
Method
decode
(self, z: Tensor)
PyTorch-VAE/models/wae_mmd.py:96
↓ 2 callers
Method
decode
(self, z: Tensor)
PyTorch-VAE/models/beta_vae.py:105
↓ 2 callers
Method
decode
(self, z: Tensor)
PyTorch-VAE/models/cvae.py:100
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D x Q] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/joint_vae.py:129
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/betatc_vae.py:102
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/twostage_vae.py:117
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/mssim_vae.py:101
↓ 2 callers
Method
decode
(self, z: Tensor)
PyTorch-VAE/models/vampvae.py:99
↓ 2 callers
Method
decode
Maps the given latent codes onto the image space. :param z: (Tensor) [B x D] :return: (Tensor) [B x C x H x W]
PyTorch-VAE/models/fvae.py:109
↓ 2 callers
Method
decode
Maps the given latent codes of S samples onto the image space. :param z: (Tensor) [B x S x D] :return: (Tensor) [B x
PyTorch-VAE/models/iwae.py:95
↓ 2 callers
Method
decode
(self, z: Tensor)
PyTorch-VAE/models/gamma_vae.py:109
↓ 2 callers
Function
download_files
(file_specs, num_threads=32, status_delay=0.2, timing_window=50, **download_kwargs)
StyleGAN/download_ffhq.py:154
↓ 2 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/vampvae.py:82
↓ 2 callers
Method
extract_features
Extracts the features from the pretrained model at the layers indicated by feature_layers. :param input: (Tensor) [B x C x H
PyTorch-VAE/models/dfcvae.py:142
↓ 2 callers
Method
forward
(self, input: Tensor, **kwargs)
PyTorch-VAE/experiment.py:31
↓ 2 callers
Function
initialize_weights
(model)
github/initialize.py:9
↓ 2 callers
Function
initialize_weights
(model)
WGANGPCode/initialize.py:9
↓ 2 callers
Function
loadModel
:param model: :return:
Code/mainWindows.py:133
↓ 2 callers
Function
load_checkpoint
(checkpoint_file, model, optimizer, lr)
StyleGAN/utils.py:68
↓ 2 callers
Function
load_checkpoint
(checkpoint_file, model, optimizer, lr)
SRGAN/utils.py:47
↓ 2 callers
Function
load_checkpoint
(checkpoint_file, model, optimizer, lr)
ProGAN/utils.py:65
↓ 2 callers
Function
load_checkpoint
(checkpoint_file, model, optimizer, lr)
ProGAN/demo.py:261
↓ 2 callers
Function
load_checkpoint
(checkpoint_file, model, optimizer, lr)
pix2pix/utils.py:41
↓ 2 callers
Method
minibatch_std
(self,x)
StyleGAN/net/model.py:259
↓ 2 callers
Method
minibatch_std
(self, x)
ProGAN/model.py:198
↓ 2 callers
Function
save_checkpoint
(model, optimizer, filename="models/my_checkpoint.pth.tar")
StyleGAN/utils.py:58
↓ 2 callers
Function
save_checkpoint
(model, optimizer, filename="my_checkpoint.pth.tar")
SRGAN/utils.py:38
↓ 2 callers
Function
save_checkpoint
(model, optimizer, filename="my_checkpoint.pth.tar")
ProGAN/utils.py:56
↓ 2 callers
Function
save_checkpoint
(model, optimizer, filename="my_checkpoint.pth.tar")
ProGAN/demo.py:252
↓ 2 callers
Function
save_checkpoint
(model, optimizer, filename="my_checkpoint.pth.tar")
pix2pix/utils.py:32
↓ 2 callers
Function
showImage
:param root: 主窗口 :return:
StyleGAN/mainWindow.py:39
↓ 2 callers
Function
showImage
:param root: 主窗口 :return:
fc-CGANCode/mainWindow.py:44
↓ 2 callers
Function
showImage
:param root: 主窗口 :return:
GANCode/mainWindow.py:37
↓ 2 callers
Function
showImage
:param root: 主窗口 :return:
github/mainWindow.py:39
↓ 2 callers
Function
showImage
:param root: 主窗口 :return:
ProGAN/mainWindow.py:39
↓ 2 callers
Function
showImage
:param root: 主窗口 :return:
DCGAN/mainWindow.py:38
↓ 2 callers
Function
showImage
:param root: 主窗口 :return:
WGANGPCode/mainWindow.py:39
↓ 2 callers
Function
showImage
:param root: 主窗口 :return:
cnn-CGANCode/mainWindow.py:44
↓ 1 callers
Function
ButtonImage
(model,root)
StyleGAN/mainWindow.py:107
↓ 1 callers
Function
ButtonImage
(model1,root)
SRGAN/mainWindows.py:155
↓ 1 callers
Function
ButtonImage
(model1,model2,root)
Code/mainWindows.py:151
↓ 1 callers
Function
ButtonImage
(model,root)
fc-CGANCode/mainWindow.py:109
↓ 1 callers
Function
ButtonImage
(model,root)
GANCode/mainWindow.py:104
↓ 1 callers
Function
ButtonImage
(model,root)
github/mainWindow.py:112
↓ 1 callers
Function
ButtonImage
(model,root)
ProGAN/mainWindow.py:108
↓ 1 callers
Function
ButtonImage
(model1,root)
pix2pix/mainWindows.py:175
↓ 1 callers
Function
ButtonImage
(model,root)
DCGAN/mainWindow.py:111
↓ 1 callers
Function
ButtonImage
(model,root)
WGANGPCode/mainWindow.py:112
↓ 1 callers
Function
ButtonImage
(model,root)
cnn-CGANCode/mainWindow.py:109
↓ 1 callers
Function
DrawGen
:param model: 生成器训练的模型 :param epoch: 迭代次数 :param test_input: 对产生的噪声生成图像 :return:
GANCode/GAN.py:52
↓ 1 callers
Function
DrawGen
:param model: 生成器训练的模型 :param epoch: 迭代次数 :param test_input: 对产生的噪声生成图像 :return:
github/draw.py:12
↓ 1 callers
Function
DrawGen
:param model: 生成器训练的模型 :param epoch: 迭代次数 :param test_input: 对产生的噪声生成图像 :return:
DCGAN/DCGAN.py:63
↓ 1 callers
Function
DrawGen
:param model: 生成器训练的模型 :param epoch: 迭代次数 :param test_input: 对产生的噪声生成图像 :return:
WGANGPCode/draw.py:12
↓ 1 callers
Function
Parser
()
fc-CGANCode/train.py:20
next →
1–100 of 639, ranked by callers