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
Function
inference_to_attack
(x, transform, F, T, G, E, reference, gen)
HiSD/inference.py:50
Function
init_fun
(m)
HiSD/core/utils.py:96
Function
init_func
(m)
AttentionGAN/AttentionGAN-geo/networks.py:79
Function
init_func
(m)
AttentionGAN/models/networks.py:79
Method
initialize
(self, parser)
AttentionGAN/options/train_options.py:10
Method
initialize
(self, parser)
AttentionGAN/options/test_options.py:10
Function
lambda_rule
(epoch)
AttentionGAN/AttentionGAN-geo/networks.py:53
Function
lambda_rule
(epoch)
AttentionGAN/models/networks.py:53
Function
mean_kernel_inception_distance
()
AttentionGAN/scripts/GAN_Metrics-Tensorflow/main.py:77
Function
mkdirs
create empty directories if they don't exist Parameters: paths (str list) -- a list of directory paths
AttentionGAN/util/util.py:76
Method
modify_commandline_options
Add new dataset-specific options, and rewrite default values for existing options. Parameters: parser -- original option
AttentionGAN/data/base_dataset.py:33
Method
modify_commandline_options
(parser, is_train=True)
AttentionGAN/AttentionGAN-geo/attention_gan_model.py:10
Method
modify_commandline_options
(parser, is_train=True)
AttentionGAN/models/attention_gan_model.py:10
Method
modify_commandline_options
Add new model-specific options, and rewrite default values for existing options. Parameters: parser -- original option p
AttentionGAN/models/base_model.py:47
Method
modify_commandline_options
Add new dataset-specific options, and rewrite default values for existing options. Parameters: parser -- original option
AttentionGAN/models/attention_gan1_model.py:18
Function
name_experiment
(prefix='', suffix='')
AttGAN/helpers.py:15
Function
noisy
(noise_typ, image)
stargan/noise.py:16
Method
optimize_parameters
Calculate losses, gradients, and update network weights; called in every training iteration
AttentionGAN/AttentionGAN-geo/attention_gan_model.py:168
Method
optimize_parameters
Calculate losses, gradients, and update network weights; called in every training iteration
AttentionGAN/models/attention_gan_model.py:162
Method
optimize_parameters
Calculate losses, gradients, and update network weights; called in every training iteration
AttentionGAN/models/attention_gan1_model.py:190
Function
perturb_batch
(X, y, c_trg, model, adversary)
attacks.py:238
Function
perturb_batch
(X, y, c_trg, model, adversary)
stargan/attacks.py:353
Function
perturb_batch
(X, y, c_trg, model, adversary)
AttGAN/attacks.py:349
Function
perturb_batch
(X, y, c_trg, model, adversary)
HiSD/attacks.py:97
Function
perturb_batch
(X, y, c_trg, model, adversary)
AttentionGAN/AttentionGAN_v1_multi/attacks.py:349
Method
perturb_blur
White-box attack against blur pre-processing.
stargan/attacks.py:112
Method
perturb_blur
White-box attack against blur pre-processing.
AttGAN/attacks.py:108
Method
perturb_blur
White-box attack against blur pre-processing.
AttentionGAN/AttentionGAN_v1_multi/attacks.py:108
Method
perturb_blur_eot
EoT adaptation to the blur transformation.
stargan/attacks.py:213
Method
perturb_blur_eot
EoT adaptation to the blur transformation.
AttGAN/attacks.py:209
Method
perturb_blur_eot
EoT adaptation to the blur transformation.
AttentionGAN/AttentionGAN_v1_multi/attacks.py:209
Method
perturb_blur_iter_full
Spread-spectrum attack against blur defenses (gray-box scenario).
stargan/attacks.py:154
Method
perturb_blur_iter_full
Spread-spectrum attack against blur defenses (gray-box scenario).
AttGAN/attacks.py:150
Method
perturb_blur_iter_full
Spread-spectrum attack against blur defenses (gray-box scenario).
AttentionGAN/AttentionGAN_v1_multi/attacks.py:150
Method
perturb_iter_class
Iterative Class Conditional Attack
stargan/attacks.py:275
Method
perturb_iter_class
Iterative Class Conditional Attack
AttGAN/attacks.py:271
Method
perturb_iter_class
Iterative Class Conditional Attack
AttentionGAN/AttentionGAN_v1_multi/attacks.py:271
Method
perturb_joint_class
Joint Class Conditional Attack
stargan/attacks.py:310
Method
perturb_joint_class
Joint Class Conditional Attack
AttGAN/attacks.py:306
Method
perturb_joint_class
Joint Class Conditional Attack
AttentionGAN/AttentionGAN_v1_multi/attacks.py:306
Function
print_numpy
Print the mean, min, max, median, std, and size of a numpy array Parameters: val (bool) -- if print the values of the numpy array
AttentionGAN/util/util.py:60
Function
run_from_ipython
()
AttGAN/helpers.py:8
Method
set_input
Unpack input data from the dataloader and perform necessary pre-processing steps. Parameters: input (dict): include the data itsel
AttentionGAN/AttentionGAN-geo/attention_gan_model.py:77
Method
set_input
Unpack input data from the dataloader and perform necessary pre-processing steps. Parameters: input (dict): include the data itsel
AttentionGAN/models/attention_gan_model.py:73
Method
set_input
Unpack input data from the dataloader and perform necessary pre-processing steps. Parameters: input (dict): include the data itsel
AttentionGAN/models/attention_gan1_model.py:99
Function
str2bool
(v)
stargan/main.py:8
Function
str2bool
(v)
AttentionGAN/AttentionGAN_v1_multi/main.py:8
Function
tensor2im
Converts a Tensor array into a numpy image array. Parameters: input_image (tensor) -- the input image tensor array imtype (type)
AttentionGAN/util/util.py:9
Method
test
Translate images using StarGAN trained on a single dataset. No attack.
stargan_solver.py:920
Method
test
Translate images using StarGAN trained on a single dataset.
attentiongan_solver.py:540
Method
test
Translate images using StarGAN trained on a single dataset. No attack.
stargan/solver.py:920
Method
test_attack
Vanilla or blur attacks.
stargan_solver.py:949
Method
test_attack
Vanilla or blur attacks.
stargan/solver.py:949
Method
test_attack_cond
Class conditional transfer
stargan_solver.py:1194
Method
test_attack_cond
Class conditional transfer
stargan/solver.py:1194
Method
test_attack_feats
Feature-level attacks
stargan_solver.py:1120
Method
test_attack_feats
Feature-level attacks
stargan/solver.py:1120
Method
test_universal_attack
Universal Attack by Huang Hao
stargan_solver.py:1029
Method
test_universal_model_level
Universal Attack by Huang Hao
attentiongan_solver.py:634
Method
test_universal_model_level
Universal Attack by Huang Hao
stargan/solver.py:1333
Method
test_universal_model_level
Universal Attack by Huang Hao
AttentionGAN/AttentionGAN_v1_multi/solver.py:634
Method
test_universal_model_level_attack
Universal Attack by Huang Hao
attentiongan_solver.py:618
Method
test_universal_model_level_attack
Universal Attack by Huang Hao
stargan/solver.py:1311
Method
test_universal_model_level_attack
Universal Attack by Huang Hao
AttentionGAN/AttentionGAN_v1_multi/solver.py:618
Method
train
Vanilla Training of StarGAN within a single dataset.
stargan_solver.py:241
Method
train
Train StarGAN within a single dataset.
attentiongan_solver.py:186
Method
train
Vanilla Training of StarGAN within a single dataset.
stargan/solver.py:241
Method
train_adv_both
G+D Adversarial Training for StarGAN with both Discriminator and Generator, within a single dataset.
stargan_solver.py:569
Method
train_adv_gen
Adversarial Training for StarGAN only for Generator, within a single dataset.
stargan_solver.py:400
Method
train_adv_gen
Adversarial Training for StarGAN only for Generator, within a single dataset.
stargan/solver.py:400
Method
universal_perturb
Vanilla Attack.
AttentionGAN/AttentionGAN_v1_multi/attacks.py:69
Method
weight_init
(self, mean, std)
AttentionGAN/AttentionGAN-geo/networks.py:434
Method
weight_init
(self, mean, std)
AttentionGAN/models/networks.py:434
Function
weights_init_normal
(m)
AttentionGAN/AttentionGAN-v1/utils.py:118
← previous
501–574 of 574, ranked by callers