Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VDIGPKU/CMUA-Watermark
/ functions
Functions
574 in github.com/VDIGPKU/CMUA-Watermark
⨍
Functions
574
◇
Types & classes
111
Method
__len__
(self)
AttGAN/data.py:35
Method
__len__
(self)
AttGAN/data.py:69
Method
__len__
(self)
AttGAN/data.py:106
Method
__len__
Return the number of images.
HiSD/core/data.py:23
Method
__len__
(self)
AttentionGAN/AttentionGAN-v1/datasets.py:27
Method
__len__
Return the total number of images in the dataset.
AttentionGAN/data/base_dataset.py:46
Method
__len__
Return the number of data in the dataset
AttentionGAN/data/__init__.py:84
Method
__len__
Return the total number of images in the dataset. As we have two datasets with potentially different number of images, we take a maxi
AttentionGAN/data/unaligned_dataset.py:65
Method
__len__
(self)
AttentionGAN/data/image_folder.py:65
Method
__len__
Return the number of images.
AttentionGAN/AttentionGAN_v1_multi/data_loader.py:66
Method
__repr__
(self)
HiSD/core/networks.py:367
Method
__repr__
(self)
HiSD/core/networks.py:389
Method
__setattr__
(self,name,value)
universal_attack.py:36
Method
__setattr__
(self,name,value)
universal_attack_nni.py:36
Method
__setattr__
(self,name,value)
universal_attack_inference_one_image.py:38
Method
__setattr__
(self,name,value)
model_data_prepare.py:36
Method
__setattr__
(self,name,value)
universal_attack_inference.py:36
Function
avg_smoothing_filter
(channels, kernel_size)
stargan/model.py:170
Method
blur_tensor
(self, tensor)
stargan_solver.py:1306
Method
blur_tensor
(self, tensor)
stargan/solver.py:1306
Method
build_and_restore_alt_model
Create a generator and a discriminator.
stargan_solver.py:127
Method
build_and_restore_alt_model
Create a generator and a discriminator.
stargan/solver.py:127
Function
cal_gradient_penalty
Calculate the gradient penalty loss, used in WGAN-GP paper https://arxiv.org/abs/1704.00028 Arguments: netD (network) -- dis
AttentionGAN/AttentionGAN-geo/networks.py:282
Function
cal_gradient_penalty
Calculate the gradient penalty loss, used in WGAN-GP paper https://arxiv.org/abs/1704.00028 Arguments: netD (network) -- dis
AttentionGAN/models/networks.py:282
Function
clip_tensor
(X, Y, Z)
attacks.py:229
Function
clip_tensor
(X, Y, Z)
stargan/attacks.py:344
Function
clip_tensor
(X, Y, Z)
AttGAN/attacks.py:340
Function
clip_tensor
(X, Y, Z)
HiSD/attacks.py:87
Function
clip_tensor
(X, Y, Z)
AttentionGAN/AttentionGAN_v1_multi/attacks.py:340
Function
compute_kid_block
Compute the ith block of the KID estimate.
AttentionGAN/scripts/GAN_Metrics-Tensorflow/frechet_kernel_Inception_distance.py:269
Function
default_loader
(path)
AttentionGAN/data/image_folder.py:35
Function
define_D
Create a discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int) -- the number
AttentionGAN/AttentionGAN-geo/networks.py:166
Function
define_D
Create a discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int) -- the number
AttentionGAN/models/networks.py:166
Function
define_G
Create a generator Parameters: input_nc (int) -- the number of channels in input images output_nc (int) -- the number of channels
AttentionGAN/AttentionGAN-geo/networks.py:121
Function
define_G
Create a generator Parameters: input_nc (int) -- the number of channels in input images output_nc (int) -- the number of channels
AttentionGAN/models/networks.py:121
Function
diagnose_network
Calculate and print the mean of average absolute(gradients) Parameters: net (torch network) -- Torch network name (str) -- the na
AttentionGAN/util/util.py:30
Method
extra_repr
(self)
stargan/defenses/base.py:20
Method
extra_repr
(self)
AttGAN/defenses/base.py:20
Method
forward
(self, x)
stargan/model.py:23
Method
forward
(self, x, c)
stargan/model.py:60
Method
forward
(self, x)
stargan/model.py:112
Method
forward
(self, x, c)
stargan/model.py:156
Method
forward
(self, x)
stargan/defenses/base.py:17
Method
forward
(self, x)
stargan/defenses/smoothing.py:39
Method
forward
(self, x)
stargan/defenses/smoothing.py:58
Method
forward
(self, x)
AttGAN/nn.py:62
Method
forward
(self, x)
AttGAN/nn.py:70
Method
forward
(self, x)
AttGAN/nn.py:82
Method
forward
(self, x)
AttGAN/nn.py:94
Method
forward
(self, x)
AttGAN/nn.py:106
Method
forward
(self, x, a=None, mode='enc-dec')
AttGAN/attgan.py:78
Method
forward
(self, x)
AttGAN/attgan.py:114
Method
forward
(self, x)
AttGAN/switchable_norm.py:34
Method
forward
(self, x)
AttGAN/switchable_norm.py:102
Method
forward
(self, x)
AttGAN/switchable_norm.py:183
Method
forward
(self, x)
AttGAN/defenses/base.py:17
Method
forward
(self, x)
AttGAN/defenses/smoothing.py:39
Method
forward
(self, x)
AttGAN/defenses/smoothing.py:58
Method
forward
(self, x, i)
HiSD/core/networks.py:162
Method
forward
(self, e, s)
HiSD/core/networks.py:186
Method
forward
(self, z, j)
HiSD/core/networks.py:230
Method
forward
(self, x)
HiSD/core/networks.py:249
Method
forward
(self, x)
HiSD/core/networks.py:270
Method
forward
(self, x)
HiSD/core/networks.py:287
Method
forward
(self, x)
HiSD/core/networks.py:307
Method
forward
(self, x)
HiSD/core/networks.py:327
Method
forward
(self, x)
HiSD/core/networks.py:340
Method
forward
(self, x)
HiSD/core/networks.py:357
Method
forward
(self, x)
HiSD/core/networks.py:380
Method
forward
(self, args, mode)
HiSD/core/trainer.py:35
Method
forward
(self, x)
AttentionGAN/AttentionGAN-v1/models.py:77
Method
forward
(self, img)
AttentionGAN/AttentionGAN-v1/models.py:104
Method
forward
(self, x)
AttentionGAN/AttentionGAN-geo/networks.py:15
Method
forward
Standard forward
AttentionGAN/AttentionGAN-geo/networks.py:375
Method
forward
(self, input)
AttentionGAN/AttentionGAN-geo/networks.py:439
Method
forward
(self, input)
AttentionGAN/AttentionGAN-geo/networks.py:537
Method
forward
Forward function (with skip connections)
AttentionGAN/AttentionGAN-geo/networks.py:604
Method
forward
Standard forward
AttentionGAN/AttentionGAN-geo/networks.py:637
Method
forward
(self, x)
AttentionGAN/AttentionGAN-geo/networks.py:705
Method
forward
Standard forward.
AttentionGAN/AttentionGAN-geo/networks.py:755
Method
forward
Standard forward.
AttentionGAN/AttentionGAN-geo/networks.py:787
Method
forward
(self, x)
AttentionGAN/models/networks.py:15
Method
forward
Standard forward
AttentionGAN/models/networks.py:375
Method
forward
(self, input)
AttentionGAN/models/networks.py:439
Method
forward
(self, input)
AttentionGAN/models/networks.py:537
Method
forward
Forward function (with skip connections)
AttentionGAN/models/networks.py:604
Method
forward
Standard forward
AttentionGAN/models/networks.py:637
Method
forward
(self, x)
AttentionGAN/models/networks.py:705
Method
forward
Standard forward.
AttentionGAN/models/networks.py:755
Method
forward
Standard forward.
AttentionGAN/models/networks.py:787
Method
forward
(self, x)
AttentionGAN/AttentionGAN_v1_multi/model.py:18
Method
forward
(self, x, c)
AttentionGAN/AttentionGAN_v1_multi/model.py:55
Method
forward
(self, x)
AttentionGAN/AttentionGAN_v1_multi/model.py:93
Function
get_images
(filename)
AttentionGAN/scripts/GAN_Metrics-Tensorflow/frechet_kernel_Inception_distance.py:350
Function
get_option_setter
Return the static method <modify_commandline_options> of the dataset class.
AttentionGAN/data/__init__.py:41
Function
get_option_setter
Return the static method <modify_commandline_options> of the model class.
AttentionGAN/models/__init__.py:48
Function
get_params
(opt, size)
AttentionGAN/data/base_dataset.py:63
Function
get_scheduler
Return a learning rate scheduler Parameters: optimizer -- the optimizer of the network opt (option class) -- stores all
AttentionGAN/AttentionGAN-geo/networks.py:39
Function
get_scheduler
Return a learning rate scheduler Parameters: optimizer -- the optimizer of the network opt (option class) -- stores all
AttentionGAN/models/networks.py:39
Method
gradient_penalty
(f, real, fake=None)
AttGAN/attgan.py:205
← previous
next →
401–500 of 574, ranked by callers