MCPcopy Create free account

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

Functions574 in github.com/VDIGPKU/CMUA-Watermark

↓ 1 callersFunctionget_data_iters
(conf, gpus)
HiSD/core/utils.py:22
↓ 1 callersMethodget_image_dir
Return the directory that stores images
AttentionGAN/util/html.py:35
↓ 1 callersMethodget_image_paths
Return image paths that are used to load current data
AttentionGAN/models/base_model.py:112
↓ 1 callersFunctionget_inception_probs
(batch_size, images, inception_images, logits)
AttentionGAN/scripts/GAN_Metrics-Tensorflow/inception_score.py:27
↓ 1 callersFunctionget_inception_score
(batch_size, images, inception_images, logits, splits=10)
AttentionGAN/scripts/GAN_Metrics-Tensorflow/inception_score.py:45
↓ 1 callersMethodget_num_adain_params
(self, model)
HiSD/core/networks.py:205
↓ 1 callersMethodget_target_tensor
Create label tensors with the same size as the input. Parameters: prediction (tensor) - - tpyically the prediction from a discrim
AttentionGAN/AttentionGAN-geo/networks.py:244
↓ 1 callersMethodget_target_tensor
Create label tensors with the same size as the input. Parameters: prediction (tensor) - - tpyically the prediction from a discrim
AttentionGAN/models/networks.py:244
↓ 1 callersMethodgradient_penalty
Compute gradient penalty: (L2_norm(dy/dx) - 1)**2.
attentiongan_solver.py:132
↓ 1 callersMethodgradient_penalty
Compute gradient penalty: (L2_norm(dy/dx) - 1)**2.
AttentionGAN/AttentionGAN_v1_multi/solver.py:132
↓ 1 callersFunctioninception_logits
(images, num_splits = 1)
AttentionGAN/scripts/GAN_Metrics-Tensorflow/inception_score.py:12
↓ 1 callersFunctioninception_score
()
AttentionGAN/scripts/GAN_Metrics-Tensorflow/main.py:6
↓ 1 callersFunctioninit_Attack
(args_attack)
universal_attack.py:55
↓ 1 callersFunctioninit_Attack
(args_attack)
universal_attack_nni.py:50
↓ 1 callersFunctioninit_Attack
(args_attack)
universal_attack_inference_one_image.py:48
↓ 1 callersFunctioninit_Attack
(args_attack)
universal_attack_inference.py:55
↓ 1 callersFunctioninit_attGAN
(args_attack)
model_data_prepare.py:45
↓ 1 callersFunctioninit_attack_data
(args_attack, attgan_args)
model_data_prepare.py:70
↓ 1 callersFunctioninit_attentiongan
(args_attack, test_dataloader)
model_data_prepare.py:66
↓ 1 callersFunctioninit_inference_data
(args_attack, attgan_args)
model_data_prepare.py:83
↓ 1 callersFunctioninit_stargan
(args_attack, test_dataloader)
model_data_prepare.py:62
↓ 1 callersFunctioninit_weights
Initialize network weights. Parameters: net (network) -- network to be initialized init_type (str) -- the name of an initializa
AttentionGAN/AttentionGAN-geo/networks.py:68
↓ 1 callersFunctioninit_weights
Initialize network weights. Parameters: net (network) -- network to be initialized init_type (str) -- the name of an initializa
AttentionGAN/models/networks.py:68
↓ 1 callersMethodinitialize
Define the common options that are used in both training and test.
AttentionGAN/options/base_options.py:20
↓ 1 callersFunctionis_image_file
(filename)
AttentionGAN/data/image_folder.py:19
↓ 1 callersFunctionkernel_inception_distance
()
AttentionGAN/scripts/GAN_Metrics-Tensorflow/main.py:50
↓ 1 callersMethodload_data
(self)
AttentionGAN/data/__init__.py:81
↓ 1 callersMethodload_networks
Load all the networks from the disk. Parameters: epoch (int) -- current epoch; used in the file name '%s_net_%s.pth' % (epoch, na
AttentionGAN/models/base_model.py:175
↓ 1 callersFunctionmain
(config)
stargan/main.py:11
↓ 1 callersFunctionmain
(config)
AttentionGAN/AttentionGAN_v1_multi/main.py:11
↓ 1 callersMethodoptimize_parameters
Calculate losses, gradients, and update network weights; called in every training iteration
AttentionGAN/models/base_model.py:74
↓ 1 callersFunctionparse
(args=None)
universal_attack.py:39
↓ 1 callersFunctionparse
(args=None)
universal_attack_nni.py:39
↓ 1 callersFunctionparse
(args=None)
universal_attack_inference_one_image.py:41
↓ 1 callersFunctionparse
(args=None)
model_data_prepare.py:39
↓ 1 callersFunctionparse
(args=None)
universal_attack_inference.py:39
↓ 1 callersFunctionparse
(args=None)
AttGAN/train.py:29
↓ 1 callersFunctionparse
(args=None)
AttGAN/test.py:23
↓ 1 callersFunctionparse
(args=None)
AttGAN/test_slide.py:23
↓ 1 callersFunctionparse
(args=None)
AttGAN/attack_attgan.py:26
↓ 1 callersFunctionparse
(args=None)
AttGAN/test_multi.py:23
↓ 1 callersMethodperturb
Vanilla Attack.
AttGAN/attacks.py:39
↓ 1 callersMethodperturb
Vanilla Attack.
AttentionGAN/AttentionGAN_v1_multi/attacks.py:36
↓ 1 callersMethodplot_current_losses
display the current losses on visdom display: dictionary of error labels and values Parameters: epoch (int) -- current
AttentionGAN/util/visualizer.py:185
↓ 1 callersFunctionpreds2score
(preds, splits=10)
AttentionGAN/scripts/GAN_Metrics-Tensorflow/inception_score.py:36
↓ 1 callersFunctionprepare_HiSD
()
HiSD/inference.py:25
↓ 1 callersFunctionprepare_sub_folder
(output_directory)
HiSD/core/utils.py:65
↓ 1 callersMethodpreprocess
Preprocess the CelebA attribute file.
data.py:48
↓ 1 callersMethodpreprocess
Preprocess the CelebA attribute file.
stargan/data_loader.py:31
↓ 1 callersMethodpreprocess
Preprocess the CelebA attribute file.
AttentionGAN/AttentionGAN_v1_multi/data_loader.py:31
↓ 1 callersMethodprint_current_losses
print current losses on console; also save the losses to the disk Parameters: epoch (int) -- current epoch iters (int
AttentionGAN/util/visualizer.py:211
↓ 1 callersMethodprint_networks
Print the total number of parameters in the network and (if verbose) network architecture Parameters: verbose (bool) -- if verbos
AttentionGAN/models/base_model.py:200
↓ 1 callersMethodprint_options
Print and save options It will print both current options and default values(if different). It will save options into a text file / [
AttentionGAN/options/base_options.py:89
↓ 1 callersMethodreset
Reset the self.saved status
AttentionGAN/util/visualizer.py:93
↓ 1 callersMethodreset_parameters
(self)
AttGAN/switchable_norm.py:23
↓ 1 callersMethodreset_parameters
(self)
AttGAN/switchable_norm.py:87
↓ 1 callersMethodreset_parameters
(self)
AttGAN/switchable_norm.py:168
↓ 1 callersMethodresume
(self, checkpoint_dir, hyperparameters)
HiSD/core/trainer.py:212
↓ 1 callersMethodsave
(self, snapshot_dir, iterations)
HiSD/core/trainer.py:242
↓ 1 callersMethodsaveG
(self, path)
AttGAN/attgan.py:281
↓ 1 callersFunctionsave_images
Save images to the disk. Parameters: webpage (the HTML class) -- the HTML webpage class that stores these imaegs (see html.py for more de
AttentionGAN/util/visualizer.py:16
↓ 1 callersMethodsay
(self, **kwargs)
AttGAN/helpers.py:33
↓ 1 callersMethodscalar_summary
Add scalar summary.
AttentionGAN/AttentionGAN_v1_multi/logger.py:11
↓ 1 callersFunctionsearch
()
universal_attack_nni.py:55
↓ 1 callersMethodset_lr
(self, lr)
AttGAN/attgan.py:162
↓ 1 callersMethodtest
Forward function used in test time. This function wraps <forward> function in no_grad() so we don't save intermediate steps for backprop
AttentionGAN/models/base_model.py:98
↓ 1 callersMethodtest
Translate images using StarGAN trained on a single dataset.
AttentionGAN/AttentionGAN_v1_multi/solver.py:540
↓ 1 callersMethodtest_multi
Translate images using StarGAN trained on multiple datasets.
stargan_solver.py:1274
↓ 1 callersMethodtest_multi
Translate images using StarGAN trained on multiple datasets.
stargan/solver.py:1274
↓ 1 callersMethodtest_universal_attack
Universal Attack by Huang Hao
stargan/solver.py:1029
↓ 1 callersFunctiontrace_sqrt_product
Find the trace of the positive sqrt of product of covariance matrices. '_symmetric_matrix_square_root' only works for symmetric matrices, so we
AttentionGAN/scripts/GAN_Metrics-Tensorflow/frechet_kernel_Inception_distance.py:43
↓ 1 callersMethodtrain
Train StarGAN within a single dataset.
AttentionGAN/AttentionGAN_v1_multi/solver.py:186
↓ 1 callersMethodtrainD
(self, img_a, att_a, att_a_, att_b, att_b_)
AttGAN/attgan.py:197
↓ 1 callersMethodtrainG
(self, img_a, att_a, att_a_, att_b, att_b_)
AttGAN/attgan.py:168
↓ 1 callersMethodtrain_adv_both
G+D Adversarial Training for StarGAN with both Discriminator and Generator, within a single dataset.
stargan/solver.py:569
↓ 1 callersMethodtrain_multi
Vanilla Training for StarGAN with multiple datasets.
stargan_solver.py:738
↓ 1 callersMethodtrain_multi
Vanilla Training for StarGAN with multiple datasets.
stargan/solver.py:738
↓ 1 callersMethoduniversal_perturb
Vanilla Attack.
stargan/attacks.py:73
↓ 1 callersMethoduniversal_perturb_HiSD
(self, X_nat, transform, F, T, G, E, device, reference, y, gen)
HiSD/attacks.py:46
↓ 1 callersFunctionupdate_average
(model_tgt, model_src, beta=0.99)
HiSD/core/trainer.py:18
↓ 1 callersMethodupdate_learning_rate
Update learning rates for all the networks; called at the end of every epoch
AttentionGAN/models/base_model.py:116
↓ 1 callersMethodupdate_lr
Decay learning rates of the generator and discriminator.
attentiongan_solver.py:115
↓ 1 callersMethodupdate_lr
Decay learning rates of the generator and discriminator.
AttentionGAN/AttentionGAN_v1_multi/solver.py:115
↓ 1 callersMethodweight_init
(self, mean, std)
AttentionGAN/AttentionGAN-geo/networks.py:533
↓ 1 callersMethodweight_init
(self, mean, std)
AttentionGAN/models/networks.py:533
↓ 1 callersFunctionweights_init
(init_type='gaussian')
HiSD/core/utils.py:95
↓ 1 callersFunctionwrite_2images
(image_outputs, display_image_num, image_directory, postfix)
HiSD/core/utils.py:60
↓ 1 callersFunctionwrite_loss
(iterations, trainer, train_writer)
HiSD/core/utils.py:76
Method__call__
(self, x)
evaluate.py:24
Method__call__
(self, iterable)
AttGAN/helpers.py:29
Method__call__
Calculate loss given Discriminator's output and grount truth labels. Parameters: prediction (tensor) - - tpyically the prediction
AttentionGAN/AttentionGAN-geo/networks.py:261
Method__call__
Calculate loss given Discriminator's output and grount truth labels. Parameters: prediction (tensor) - - tpyically the prediction
AttentionGAN/models/networks.py:261
Method__getattr__
(self,name)
universal_attack.py:31
Method__getattr__
(self,name)
universal_attack_nni.py:31
Method__getattr__
(self,name)
universal_attack_inference_one_image.py:33
Method__getattr__
(self,name)
model_data_prepare.py:31
Method__getattr__
(self,name)
universal_attack_inference.py:31
Method__getitem__
(self, index)
data.py:69
Method__getitem__
Return one image and its corresponding attribute label.
stargan/data_loader.py:59
Method__getitem__
(self, index)
AttGAN/data.py:30
← previousnext →201–300 of 574, ranked by callers