MCPcopy Create free account

hub / github.com/VDIGPKU/CMUA-Watermark / functions

Functions574 in github.com/VDIGPKU/CMUA-Watermark

Functioninference_to_attack
(x, transform, F, T, G, E, reference, gen)
HiSD/inference.py:50
Functioninit_fun
(m)
HiSD/core/utils.py:96
Functioninit_func
(m)
AttentionGAN/AttentionGAN-geo/networks.py:79
Functioninit_func
(m)
AttentionGAN/models/networks.py:79
Methodinitialize
(self, parser)
AttentionGAN/options/train_options.py:10
Methodinitialize
(self, parser)
AttentionGAN/options/test_options.py:10
Functionlambda_rule
(epoch)
AttentionGAN/AttentionGAN-geo/networks.py:53
Functionlambda_rule
(epoch)
AttentionGAN/models/networks.py:53
Functionmean_kernel_inception_distance
()
AttentionGAN/scripts/GAN_Metrics-Tensorflow/main.py:77
Functionmkdirs
create empty directories if they don't exist Parameters: paths (str list) -- a list of directory paths
AttentionGAN/util/util.py:76
Methodmodify_commandline_options
Add new dataset-specific options, and rewrite default values for existing options. Parameters: parser -- original option
AttentionGAN/data/base_dataset.py:33
Methodmodify_commandline_options
(parser, is_train=True)
AttentionGAN/AttentionGAN-geo/attention_gan_model.py:10
Methodmodify_commandline_options
(parser, is_train=True)
AttentionGAN/models/attention_gan_model.py:10
Methodmodify_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
Methodmodify_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
Functionname_experiment
(prefix='', suffix='')
AttGAN/helpers.py:15
Functionnoisy
(noise_typ, image)
stargan/noise.py:16
Methodoptimize_parameters
Calculate losses, gradients, and update network weights; called in every training iteration
AttentionGAN/AttentionGAN-geo/attention_gan_model.py:168
Methodoptimize_parameters
Calculate losses, gradients, and update network weights; called in every training iteration
AttentionGAN/models/attention_gan_model.py:162
Methodoptimize_parameters
Calculate losses, gradients, and update network weights; called in every training iteration
AttentionGAN/models/attention_gan1_model.py:190
Functionperturb_batch
(X, y, c_trg, model, adversary)
attacks.py:238
Functionperturb_batch
(X, y, c_trg, model, adversary)
stargan/attacks.py:353
Functionperturb_batch
(X, y, c_trg, model, adversary)
AttGAN/attacks.py:349
Functionperturb_batch
(X, y, c_trg, model, adversary)
HiSD/attacks.py:97
Functionperturb_batch
(X, y, c_trg, model, adversary)
AttentionGAN/AttentionGAN_v1_multi/attacks.py:349
Methodperturb_blur
White-box attack against blur pre-processing.
stargan/attacks.py:112
Methodperturb_blur
White-box attack against blur pre-processing.
AttGAN/attacks.py:108
Methodperturb_blur
White-box attack against blur pre-processing.
AttentionGAN/AttentionGAN_v1_multi/attacks.py:108
Methodperturb_blur_eot
EoT adaptation to the blur transformation.
stargan/attacks.py:213
Methodperturb_blur_eot
EoT adaptation to the blur transformation.
AttGAN/attacks.py:209
Methodperturb_blur_eot
EoT adaptation to the blur transformation.
AttentionGAN/AttentionGAN_v1_multi/attacks.py:209
Methodperturb_blur_iter_full
Spread-spectrum attack against blur defenses (gray-box scenario).
stargan/attacks.py:154
Methodperturb_blur_iter_full
Spread-spectrum attack against blur defenses (gray-box scenario).
AttGAN/attacks.py:150
Methodperturb_blur_iter_full
Spread-spectrum attack against blur defenses (gray-box scenario).
AttentionGAN/AttentionGAN_v1_multi/attacks.py:150
Methodperturb_iter_class
Iterative Class Conditional Attack
stargan/attacks.py:275
Methodperturb_iter_class
Iterative Class Conditional Attack
AttGAN/attacks.py:271
Methodperturb_iter_class
Iterative Class Conditional Attack
AttentionGAN/AttentionGAN_v1_multi/attacks.py:271
Methodperturb_joint_class
Joint Class Conditional Attack
stargan/attacks.py:310
Methodperturb_joint_class
Joint Class Conditional Attack
AttGAN/attacks.py:306
Methodperturb_joint_class
Joint Class Conditional Attack
AttentionGAN/AttentionGAN_v1_multi/attacks.py:306
Functionprint_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
Functionrun_from_ipython
()
AttGAN/helpers.py:8
Methodset_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
Methodset_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
Methodset_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
Functionstr2bool
(v)
stargan/main.py:8
Functionstr2bool
(v)
AttentionGAN/AttentionGAN_v1_multi/main.py:8
Functiontensor2im
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
Methodtest
Translate images using StarGAN trained on a single dataset. No attack.
stargan_solver.py:920
Methodtest
Translate images using StarGAN trained on a single dataset.
attentiongan_solver.py:540
Methodtest
Translate images using StarGAN trained on a single dataset. No attack.
stargan/solver.py:920
Methodtest_attack
Vanilla or blur attacks.
stargan_solver.py:949
Methodtest_attack
Vanilla or blur attacks.
stargan/solver.py:949
Methodtest_attack_cond
Class conditional transfer
stargan_solver.py:1194
Methodtest_attack_cond
Class conditional transfer
stargan/solver.py:1194
Methodtest_attack_feats
Feature-level attacks
stargan_solver.py:1120
Methodtest_attack_feats
Feature-level attacks
stargan/solver.py:1120
Methodtest_universal_attack
Universal Attack by Huang Hao
stargan_solver.py:1029
Methodtest_universal_model_level
Universal Attack by Huang Hao
attentiongan_solver.py:634
Methodtest_universal_model_level
Universal Attack by Huang Hao
stargan/solver.py:1333
Methodtest_universal_model_level
Universal Attack by Huang Hao
AttentionGAN/AttentionGAN_v1_multi/solver.py:634
Methodtest_universal_model_level_attack
Universal Attack by Huang Hao
attentiongan_solver.py:618
Methodtest_universal_model_level_attack
Universal Attack by Huang Hao
stargan/solver.py:1311
Methodtest_universal_model_level_attack
Universal Attack by Huang Hao
AttentionGAN/AttentionGAN_v1_multi/solver.py:618
Methodtrain
Vanilla Training of StarGAN within a single dataset.
stargan_solver.py:241
Methodtrain
Train StarGAN within a single dataset.
attentiongan_solver.py:186
Methodtrain
Vanilla Training of StarGAN within a single dataset.
stargan/solver.py:241
Methodtrain_adv_both
G+D Adversarial Training for StarGAN with both Discriminator and Generator, within a single dataset.
stargan_solver.py:569
Methodtrain_adv_gen
Adversarial Training for StarGAN only for Generator, within a single dataset.
stargan_solver.py:400
Methodtrain_adv_gen
Adversarial Training for StarGAN only for Generator, within a single dataset.
stargan/solver.py:400
Methoduniversal_perturb
Vanilla Attack.
AttentionGAN/AttentionGAN_v1_multi/attacks.py:69
Methodweight_init
(self, mean, std)
AttentionGAN/AttentionGAN-geo/networks.py:434
Methodweight_init
(self, mean, std)
AttentionGAN/models/networks.py:434
Functionweights_init_normal
(m)
AttentionGAN/AttentionGAN-v1/utils.py:118
← previous501–574 of 574, ranked by callers