Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VDIGPKU/CMUA-Watermark
/ types & classes
Types & classes
111 in github.com/VDIGPKU/CMUA-Watermark
⨍
Functions
574
◇
Types & classes
111
↓ 10 callers
Class
Discriminator
Discriminator network with PatchGAN.
stargan/model.py:93
↓ 10 callers
Class
Generator
Generator network.
stargan/model.py:27
↓ 8 callers
Class
CelebA
AttGAN/data.py:38
↓ 7 callers
Class
AttGAN
AttGAN/attgan.py:128
↓ 6 callers
Class
CelebA_HQ
AttGAN/data.py:72
↓ 6 callers
Class
ImagePool
This class implements an image buffer that stores previously generated images. This buffer enables us to update discriminators using a history of
AttentionGAN/util/image_pool.py:5
↓ 6 callers
Class
UnetSkipConnectionBlock
Defines the Unet submodule with skip connection. X -------------------identity---------------------- |-- downsampling -- |submodule| -
AttentionGAN/AttentionGAN-geo/networks.py:642
↓ 6 callers
Class
UnetSkipConnectionBlock
Defines the Unet submodule with skip connection. X -------------------identity---------------------- |-- downsampling -- |submodule| -
AttentionGAN/models/networks.py:642
↓ 5 callers
Class
Progressbar
AttGAN/helpers.py:26
↓ 4 callers
Class
Custom
AttGAN/data.py:16
↓ 4 callers
Class
Generator
AttentionGAN/AttentionGAN-v1/models.py:6
↓ 4 callers
Class
HiSD_Trainer
HiSD/core/trainer.py:101
↓ 4 callers
Class
InstanceNorm2d
HiSD/core/networks.py:370
↓ 4 callers
Class
LinearBlock
AttGAN/nn.py:74
↓ 3 callers
Class
Logger
Tensorboard logger.
stargan/logger.py:4
↓ 2 callers
Class
AdaptiveInstanceNorm2d
HiSD/core/networks.py:347
↓ 2 callers
Class
CelebA
data.py:11
↓ 2 callers
Class
Conv2dBlock
AttGAN/nn.py:85
↓ 2 callers
Class
ConvTranspose2dBlock
AttGAN/nn.py:97
↓ 2 callers
Class
Discriminator
AttentionGAN/AttentionGAN-v1/models.py:82
↓ 2 callers
Class
Discriminator
Discriminator network with PatchGAN.
AttentionGAN/AttentionGAN_v1_multi/model.py:74
↓ 2 callers
Class
DownBlock
HiSD/core/networks.py:238
↓ 2 callers
Class
Generator
Generator network.
AttentionGAN/AttentionGAN_v1_multi/model.py:22
↓ 2 callers
Class
ImageDataset
AttentionGAN/AttentionGAN-v1/datasets.py:9
↓ 2 callers
Class
ImageFolder
AttentionGAN/data/image_folder.py:39
↓ 2 callers
Class
LambdaLR
AttentionGAN/AttentionGAN-v1/utils.py:108
↓ 2 callers
Class
LinearBlock
HiSD/core/networks.py:333
↓ 2 callers
Class
NLayerDiscriminator
Defines a PatchGAN discriminator
AttentionGAN/AttentionGAN-geo/networks.py:712
↓ 2 callers
Class
NLayerDiscriminator
Defines a PatchGAN discriminator
AttentionGAN/models/networks.py:712
↓ 2 callers
Class
ReplayBuffer
AttentionGAN/AttentionGAN-v1/utils.py:86
↓ 2 callers
Class
ResidualBlock
Residual Block with instance normalization.
stargan/model.py:12
↓ 2 callers
Class
ResnetGenerator
Resnet-based generator that consists of Resnet blocks between a few downsampling/upsampling operations. We adapt Torch code and idea from Justin
AttentionGAN/AttentionGAN-geo/networks.py:319
↓ 2 callers
Class
ResnetGenerator
Resnet-based generator that consists of Resnet blocks between a few downsampling/upsampling operations. We adapt Torch code and idea from Justin
AttentionGAN/models/networks.py:319
↓ 2 callers
Class
UnetGenerator
Create a Unet-based generator
AttentionGAN/AttentionGAN-geo/networks.py:610
↓ 2 callers
Class
UnetGenerator
Create a Unet-based generator
AttentionGAN/models/networks.py:610
↓ 1 callers
Class
CelebA
Dataset class for the CelebA dataset.
stargan/data_loader.py:10
↓ 1 callers
Class
CelebA
Dataset class for the CelebA dataset.
AttentionGAN/AttentionGAN_v1_multi/data_loader.py:10
↓ 1 callers
Class
CustomDatasetDataLoader
Wrapper class of Dataset class that performs multi-threaded data loading
AttentionGAN/data/__init__.py:62
↓ 1 callers
Class
Dis
HiSD/core/networks.py:19
↓ 1 callers
Class
Discriminators
AttGAN/attgan.py:89
↓ 1 callers
Class
DownBlockIN
HiSD/core/networks.py:255
↓ 1 callers
Class
Extractors
HiSD/core/networks.py:150
↓ 1 callers
Class
Gen
HiSD/core/networks.py:98
↓ 1 callers
Class
Generator
AttGAN/attgan.py:21
↓ 1 callers
Class
HTML
This HTML class allows us to save images and write texts into a single HTML file. It consists of functions such as <add_header> (add a text head
AttentionGAN/util/html.py:6
↓ 1 callers
Class
HiSD
HiSD/core/trainer.py:26
↓ 1 callers
Class
Identity
AttentionGAN/AttentionGAN-geo/networks.py:14
↓ 1 callers
Class
Identity
AttentionGAN/models/networks.py:14
↓ 1 callers
Class
ImageAttributeDataset
Dataset class for the CelebA dataset.
HiSD/core/data.py:7
↓ 1 callers
Class
LinfPGDAttack
HiSD/attacks.py:12
↓ 1 callers
Class
Logger
AttentionGAN/AttentionGAN-v1/utils.py:24
↓ 1 callers
Class
Logger
Tensorboard logger.
AttentionGAN/AttentionGAN_v1_multi/logger.py:4
↓ 1 callers
Class
Mapper
HiSD/core/networks.py:214
↓ 1 callers
Class
MiddleBlock
HiSD/core/networks.py:313
↓ 1 callers
Class
PixelDiscriminator
Defines a 1x1 PatchGAN discriminator (pixelGAN)
AttentionGAN/AttentionGAN-geo/networks.py:760
↓ 1 callers
Class
PixelDiscriminator
Defines a 1x1 PatchGAN discriminator (pixelGAN)
AttentionGAN/models/networks.py:760
↓ 1 callers
Class
ResidualBlock
Residual Block with instance normalization.
AttentionGAN/AttentionGAN_v1_multi/model.py:7
↓ 1 callers
Class
ResnetBlock
AttentionGAN/AttentionGAN-v1/models.py:58
↓ 1 callers
Class
ResnetBlock
Define a Resnet block
AttentionGAN/AttentionGAN-geo/networks.py:550
↓ 1 callers
Class
ResnetBlock
Define a Resnet block
AttentionGAN/models/networks.py:550
↓ 1 callers
Class
ResnetGenerator_our
AttentionGAN/AttentionGAN-geo/networks.py:379
↓ 1 callers
Class
ResnetGenerator_our
AttentionGAN/models/networks.py:379
↓ 1 callers
Class
Solver
Solver for training and testing StarGAN.
stargan_solver.py:31
↓ 1 callers
Class
Solver
Solver for training and testing StarGAN.
stargan/solver.py:31
↓ 1 callers
Class
Solver
Solver for training and testing StarGAN.
AttentionGAN/AttentionGAN_v1_multi/solver.py:17
↓ 1 callers
Class
Squeeze
AttGAN/nn.py:57
↓ 1 callers
Class
SwitchNorm1d
AttGAN/switchable_norm.py:9
↓ 1 callers
Class
SwitchNorm2d
AttGAN/switchable_norm.py:64
↓ 1 callers
Class
TestOptions
This class includes test options. It also includes shared options defined in BaseOptions.
AttentionGAN/options/test_options.py:4
↓ 1 callers
Class
TrainOptions
This class includes training options. It also includes shared options defined in BaseOptions.
AttentionGAN/options/train_options.py:4
↓ 1 callers
Class
Translator
HiSD/core/networks.py:166
↓ 1 callers
Class
Unsqueeze
AttGAN/nn.py:65
↓ 1 callers
Class
UpBlockIN
HiSD/core/networks.py:293
↓ 1 callers
Class
Visualizer
This class includes several functions that can display/save images and print/save logging information. It uses a Python library 'visdom' for disp
AttentionGAN/util/visualizer.py:52
↓ 1 callers
Class
data_prefetcher
HiSD/core/utils.py:119
↓ 1 callers
Class
resnet_block
AttentionGAN/AttentionGAN-geo/networks.py:520
↓ 1 callers
Class
resnet_block
AttentionGAN/models/networks.py:520
Class
AttentionGANModel
AttentionGAN/AttentionGAN-geo/attention_gan_model.py:8
Class
AttentionGANModel
AttentionGAN/models/attention_gan_model.py:8
Class
AverageSmoothing2D
Average Smoothing 2D. :param channels: number of channels in the output. :param kernel_size: aperture size.
stargan/defenses/smoothing.py:76
Class
AverageSmoothing2D
Average Smoothing 2D. :param channels: number of channels in the output. :param kernel_size: aperture size.
AttGAN/defenses/smoothing.py:76
Class
AvgBlurGenerator
Generator network.
stargan/model.py:118
Class
BaseDataset
This class is an abstract base class (ABC) for datasets. To create a subclass, you need to implement the following four functions: -- <__init
AttentionGAN/data/base_dataset.py:13
Class
BaseModel
This class is an abstract base class (ABC) for models. To create a subclass, you need to implement the following five functions: -- <__ini
AttentionGAN/models/base_model.py:8
Class
BaseOptions
This class defines options used during both training and test time. It also implements several helper functions such as parsing, printing, and sa
AttentionGAN/options/base_options.py:9
Class
ConvSmoothing2D
Conv Smoothing 2D. :param kernel_size: size of the convolving kernel.
stargan/defenses/smoothing.py:47
Class
ConvSmoothing2D
Conv Smoothing 2D. :param kernel_size: size of the convolving kernel.
AttGAN/defenses/smoothing.py:47
Class
CycleGAN1Model
This class implements the CycleGAN model, for learning image-to-image translation without paired data. The model training requires '--dataset
AttentionGAN/models/attention_gan1_model.py:8
Class
GANLoss
Define different GAN objectives. The GANLoss class abstracts away the need to create the target label tensor that has the same size as the in
AttentionGAN/AttentionGAN-geo/networks.py:213
Class
GANLoss
Define different GAN objectives. The GANLoss class abstracts away the need to create the target label tensor that has the same size as the in
AttentionGAN/models/networks.py:213
Class
GaussianBlurConv
evaluate.py:11
Class
GaussianSmoothing2D
Gaussian Smoothing 2D. :param sigma: sigma of the Gaussian. :param channels: number of channels in the output. :param kernel_size: a
stargan/defenses/smoothing.py:62
Class
GaussianSmoothing2D
Gaussian Smoothing 2D. :param sigma: sigma of the Gaussian. :param channels: number of channels in the output. :param kernel_size: a
AttGAN/defenses/smoothing.py:62
Class
GetData
A Python script for downloading CycleGAN or pix2pix datasets. Parameters: technique (str) -- One of: 'cyclegan' or 'pix2pix'. ver
AttentionGAN/util/get_data.py:11
Class
LinfPGDAttack
attacks.py:17
Class
LinfPGDAttack
stargan/attacks.py:15
Class
LinfPGDAttack
AttGAN/attacks.py:14
Class
LinfPGDAttack
AttentionGAN/AttentionGAN_v1_multi/attacks.py:11
Class
MedianSmoothing2D
Median Smoothing 2D. :param kernel_size: aperture linear size; must be odd and greater than 1. :param stride: stride of the convolution.
stargan/defenses/smoothing.py:18
Class
MedianSmoothing2D
Median Smoothing 2D. :param kernel_size: aperture linear size; must be odd and greater than 1. :param stride: stride of the convolution.
AttGAN/defenses/smoothing.py:18
next →
1–100 of 111, ranked by callers