MCPcopy Create free account

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

Functions574 in github.com/VDIGPKU/CMUA-Watermark

Method__getitem__
(self, index)
AttGAN/data.py:65
Method__getitem__
(self, index)
AttGAN/data.py:102
Method__getitem__
Return one image and its corresponding attribute label.
HiSD/core/data.py:16
Method__getitem__
(self, index)
AttentionGAN/AttentionGAN-v1/datasets.py:17
Method__getitem__
Return a data point and its metadata information. Parameters: index - - a random integer for data indexing Returns:
AttentionGAN/data/base_dataset.py:51
Method__getitem__
Return a data point and its metadata information. Parameters: index (int) -- a random integer for data indexing Ret
AttentionGAN/data/unaligned_dataset.py:39
Method__getitem__
(self, index)
AttentionGAN/data/image_folder.py:55
Method__getitem__
Return one image and its corresponding attribute label.
AttentionGAN/AttentionGAN_v1_multi/data_loader.py:59
Method__init__
(self, data_path, attr_path, image_size, mode, selected_attrs, stargan_selected_attrs)
data.py:12
Method__init__
FGSM, I-FGSM and PGD attacks epsilon: magnitude of attack k: iterations a: step size
attacks.py:18
Method__init__
(self, channels=3)
evaluate.py:12
Method__init__
Initialize configurations.
stargan_solver.py:34
Method__init__
Initialize configurations.
attentiongan_solver.py:20
Method__init__
Initialize configurations.
stargan/solver.py:34
Method__init__
Initialize summary writer.
stargan/logger.py:7
Method__init__
Initialize and preprocess the CelebA dataset.
stargan/data_loader.py:13
Method__init__
FGSM, I-FGSM and PGD attacks epsilon: magnitude of attack k: iterations a: step size
stargan/attacks.py:16
Method__init__
(self, dim_in, dim_out)
stargan/model.py:14
Method__init__
(self, image_size=128, conv_dim=64, c_dim=5, repeat_num=6)
stargan/model.py:95
Method__init__
(self, conv_dim=64, c_dim=5, repeat_num=6)
stargan/model.py:120
Method__init__
(self)
stargan/defenses/base.py:14
Method__init__
(self, kernel_size=3, stride=1)
stargan/defenses/smoothing.py:26
Method__init__
(self, sigma, channels, kernel_size=None)
stargan/defenses/smoothing.py:71
Method__init__
(self, channels, kernel_size)
stargan/defenses/smoothing.py:84
Method__init__
(self, dim)
AttGAN/nn.py:66
Method__init__
(self, n_in, n_out, norm_fn='none', acti_fn='none')
AttGAN/nn.py:75
Method__init__
(self, n_in, n_out, kernel_size, stride=1, padding=0, norm_fn=None, acti_fn=None)
AttGAN/nn.py:86
Method__init__
(self, n_in, n_out, kernel_size, stride=1, padding=0, norm_fn=False, acti_fn=None)
AttGAN/nn.py:98
Method__init__
(self, enc_dim=64, enc_layers=5, enc_norm_fn='batchnorm', enc_acti_fn='lrelu', dec_dim=64, de
AttGAN/attgan.py:22
Method__init__
(self, dim=64, norm_fn='instancenorm', acti_fn='lrelu', fc_dim=1024, fc_norm_fn='none', fc_ac
AttGAN/attgan.py:91
Method__init__
(self)
AttGAN/helpers.py:27
Method__init__
(self, data_path, attr_path, image_size, mode, selected_attrs)
AttGAN/data.py:39
Method__init__
(self, data_path, attr_path, image_list_path, image_size, mode, selected_attrs)
AttGAN/data.py:73
Method__init__
FGSM, I-FGSM and PGD attacks epsilon: magnitude of attack k: iterations a: step size
AttGAN/attacks.py:15
Method__init__
(self, num_features, eps=1e-5, momentum=0.997, using_moving_average=True, using_bn=True, last
AttGAN/switchable_norm.py:65
Method__init__
(self, num_features, eps=1e-5, momentum=0.997, using_moving_average=True, using_bn=True, last
AttGAN/switchable_norm.py:146
Method__init__
(self)
AttGAN/defenses/base.py:14
Method__init__
(self, kernel_size=3, stride=1)
AttGAN/defenses/smoothing.py:26
Method__init__
(self, sigma, channels, kernel_size=None)
AttGAN/defenses/smoothing.py:71
Method__init__
(self, channels, kernel_size)
AttGAN/defenses/smoothing.py:84
Method__init__
FGSM, I-FGSM and PGD attacks epsilon: magnitude of attack k: iterations a: step size
HiSD/attacks.py:13
Method__init__
(self, loader, batch_size, gpus)
HiSD/core/utils.py:120
Method__init__
(self, hyperparameters)
HiSD/core/networks.py:99
Method__init__
(self, hyperparameters)
HiSD/core/networks.py:151
Method__init__
(self, hyperparameters)
HiSD/core/networks.py:167
Method__init__
(self, hyperparameters, num_attributes)
HiSD/core/networks.py:215
Method__init__
(self, in_dim, out_dim)
HiSD/core/networks.py:239
Method__init__
(self, in_dim, out_dim)
HiSD/core/networks.py:256
Method__init__
(self, in_dim, out_dim)
HiSD/core/networks.py:277
Method__init__
(self, in_dim, out_dim)
HiSD/core/networks.py:294
Method__init__
(self, in_dim, out_dim)
HiSD/core/networks.py:314
Method__init__
(self, in_dim, out_dim)
HiSD/core/networks.py:334
Method__init__
(self, num_features, eps=1e-5)
HiSD/core/networks.py:348
Method__init__
(self, num_features, eps=1e-5)
HiSD/core/networks.py:371
Method__init__
Initialize and preprocess the CelebA dataset.
HiSD/core/data.py:10
Method__init__
(self, hyperparameters, multi_gpus=False)
HiSD/core/trainer.py:102
Method__init__
(self, n_epochs, batches_epoch)
AttentionGAN/AttentionGAN-v1/utils.py:25
Method__init__
(self, max_size=50)
AttentionGAN/AttentionGAN-v1/utils.py:87
Method__init__
(self, n_epochs, offset, decay_start_epoch)
AttentionGAN/AttentionGAN-v1/utils.py:109
Method__init__
(self, dim, norm_layer, use_dropout)
AttentionGAN/AttentionGAN-v1/models.py:59
Method__init__
(self)
AttentionGAN/AttentionGAN-v1/models.py:83
Method__init__
(self, root, transforms_=None, unaligned=False, mode='train')
AttentionGAN/AttentionGAN-v1/datasets.py:10
Method__init__
Initialize the class; save the options in the class Parameters: opt (Option class)-- stores all the experiment flags; needs to be
AttentionGAN/data/base_dataset.py:23
Method__init__
Initialize this class Step 1: create a dataset instance given the name [dataset_mode] Step 2: create a multi-threaded data loader.
AttentionGAN/data/__init__.py:65
Method__init__
Initialize this dataset class. Parameters: opt (Option class) -- stores all the experiment flags; needs to be a subclass of BaseO
AttentionGAN/data/unaligned_dataset.py:19
Method__init__
(self, root, transform=None, return_paths=False, loader=default_loader)
AttentionGAN/data/image_folder.py:41
Method__init__
Reset the class; indicates the class hasn't been initailized
AttentionGAN/options/base_options.py:16
Method__init__
Initialize the CycleGAN class. Parameters: opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseOpt
AttentionGAN/AttentionGAN-geo/attention_gan_model.py:19
Method__init__
Construct a Resnet-based generator Parameters: input_nc (int) -- the number of channels in input images output_n
AttentionGAN/AttentionGAN-geo/networks.py:325
Method__init__
(self, input_nc, output_nc, ngf=64, n_blocks=9)
AttentionGAN/AttentionGAN-geo/networks.py:381
Method__init__
(self, channel, kernel, stride, padding)
AttentionGAN/AttentionGAN-geo/networks.py:521
Method__init__
Initialize the Resnet block A resnet block is a conv block with skip connections We construct a conv block with build_conv_block func
AttentionGAN/AttentionGAN-geo/networks.py:553
Method__init__
Construct a Unet generator Parameters: input_nc (int) -- the number of channels in input images output_nc (int) -- th
AttentionGAN/AttentionGAN-geo/networks.py:613
Method__init__
Construct a Unet submodule with skip connections. Parameters: outer_nc (int) -- the number of filters in the outer conv layer
AttentionGAN/AttentionGAN-geo/networks.py:648
Method__init__
Construct a PatchGAN discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int)
AttentionGAN/AttentionGAN-geo/networks.py:715
Method__init__
Construct a 1x1 PatchGAN discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int
AttentionGAN/AttentionGAN-geo/networks.py:763
Method__init__
(self, opt)
AttentionGAN/models/attention_gan_model.py:19
Method__init__
Initialize the BaseModel class. Parameters: opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseO
AttentionGAN/models/base_model.py:18
Method__init__
Initialize the CycleGAN class. Parameters: opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseOpt
AttentionGAN/models/attention_gan1_model.py:42
Method__init__
Construct a Resnet-based generator Parameters: input_nc (int) -- the number of channels in input images output_n
AttentionGAN/models/networks.py:325
Method__init__
(self, input_nc, output_nc, ngf=64, n_blocks=9)
AttentionGAN/models/networks.py:381
Method__init__
(self, channel, kernel, stride, padding)
AttentionGAN/models/networks.py:521
Method__init__
Initialize the Resnet block A resnet block is a conv block with skip connections We construct a conv block with build_conv_block func
AttentionGAN/models/networks.py:553
Method__init__
Construct a Unet generator Parameters: input_nc (int) -- the number of channels in input images output_nc (int) -- th
AttentionGAN/models/networks.py:613
Method__init__
Construct a Unet submodule with skip connections. Parameters: outer_nc (int) -- the number of filters in the outer conv layer
AttentionGAN/models/networks.py:648
Method__init__
Construct a PatchGAN discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int)
AttentionGAN/models/networks.py:715
Method__init__
Construct a 1x1 PatchGAN discriminator Parameters: input_nc (int) -- the number of channels in input images ndf (int
AttentionGAN/models/networks.py:763
Method__init__
(self, technique='cyclegan', verbose=True)
AttentionGAN/util/get_data.py:27
Method__init__
Initialize the HTML classes Parameters: web_dir (str) -- a directory that stores the webpage. HTML file will be created at <web_d
AttentionGAN/util/html.py:14
Method__init__
Initialize the Visualizer class Parameters: opt -- stores all the experiment flags; needs to be a subclass of BaseOptions
AttentionGAN/util/visualizer.py:58
Method__init__
Initialize the ImagePool class Parameters: pool_size (int) -- the size of image buffer, if pool_size=0, no buffer will be created
AttentionGAN/util/image_pool.py:12
Method__init__
Initialize configurations.
AttentionGAN/AttentionGAN_v1_multi/solver.py:20
Method__init__
Initialize summary writer.
AttentionGAN/AttentionGAN_v1_multi/logger.py:7
Method__init__
Initialize and preprocess the CelebA dataset.
AttentionGAN/AttentionGAN_v1_multi/data_loader.py:13
Method__init__
FGSM, I-FGSM and PGD attacks epsilon: magnitude of attack k: iterations a: step size
AttentionGAN/AttentionGAN_v1_multi/attacks.py:12
Method__init__
(self, dim_in, dim_out)
AttentionGAN/AttentionGAN_v1_multi/model.py:9
Method__init__
(self, image_size=128, conv_dim=64, c_dim=5, repeat_num=6)
AttentionGAN/AttentionGAN_v1_multi/model.py:76
Method__iter__
Return a batch of data
AttentionGAN/data/__init__.py:88
Method__len__
(self)
data.py:76
Method__len__
Return the number of images.
stargan/data_loader.py:66
← previousnext →301–400 of 574, ranked by callers