Shortcuts

mmedit.models.editors.mspie.pe_singan

Module Contents

Classes

PESinGAN

Positional Encoding in SinGAN.

Attributes

ModelType

TrainInput

mmedit.models.editors.mspie.pe_singan.ModelType[源代码]
mmedit.models.editors.mspie.pe_singan.TrainInput[源代码]
class mmedit.models.editors.mspie.pe_singan.PESinGAN(generator: ModelType, discriminator: Optional[ModelType], data_preprocessor: Optional[Union[dict, mmengine.Config]] = None, generator_steps: int = 1, discriminator_steps: int = 1, num_scales: Optional[int] = None, fixed_noise_with_pad: bool = False, first_fixed_noises_ch: int = 1, iters_per_scale: int = 200, noise_weight_init: int = 0.1, lr_scheduler_args: Optional[dict] = None, test_pkl_data: Optional[str] = None, ema_confg: Optional[dict] = None)[源代码]

Bases: mmedit.models.editors.singan.SinGAN

Positional Encoding in SinGAN.

This modified SinGAN is used to reimplement the experiments in: Positional Encoding as Spatial Inductive Bias in GANs, CVPR2021.

construct_fixed_noises()[源代码]

Construct the fixed noises list used in SinGAN.

Read the Docs v: latest
Versions
master
latest
stable
zyh-doc-notfound-extend
Downloads
pdf
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.