GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - genforce/dynamicd: [NeurIPS 2022] Improving GANs with A Dynamic Discriminator

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
dnnlib
dnnlib
 
 
docs
docs
 
 
metrics
metrics
 
 
torch_utils
torch_utils
 
 
training
training
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
calc_metrics.py
calc_metrics.py
 
 
dataset_tool.py
dataset_tool.py
 
 
docker_run.sh
docker_run.sh
 
 
generate.py
generate.py
 
 
legacy.py
legacy.py
 
 
projector.py
projector.py
 
 
style_mixing.py
style_mixing.py
 
 
train.py
train.py
 
 

Repository files navigation

DynamicD - Improving GANs with A Dynamic Discriminator

image

Improving GANs with A Dynamic Discriminator
Ceyuan Yang*, Yujun Shen*, Yinghao Xu, Deli Zhao, Bo Dai, Bolei Zhou
arXiv preprint arXiv:2209.09897

[Paper] [Project Page]

This work aims at adjusting the capacity of a discriminator on-the-fly to better accommodate the time-varying bi-classification task. A comprehensive empirical study confirms that the proposed training strategy, termed as DynamicD, improves the synthesis performance without incurring any additional computation cost or training objectives. Two capacity adjusting schemes are developed for training GANs under different data regimes: i) given a sufficient amount of training data, the discriminator benefits from a progressively increased learning capacity, and ii) when the training data is limited, gradually decreasing the layer width mitigates the over-fitting issue of the discriminator. Experiments on both 2D and 3D-aware image synthesis tasks conducted on a range of datasets substantiate the generalizability of our DynamicD as well as its substantial improvement over the baselines. Furthermore, DynamicD is synergistic to other discriminator-improving approaches (including data augmentation, regularizers, and pre-training), and brings continuous performance gain when combined for learning GANs.

Qualitative results

Here we provide synthesis with corresponding FID. Numbers in blue highlight the improvements over baselines. image

Training

This repository is built based on styleGAN2-ada-pytorch. In particular, we introduce several options that control the behavior of on-the-fly capacity adjusting:

  • --occupy_start specifies the capacity ratio in the beginning.
  • --occupy_end specifies the capacity ratio in the end.
  • --randomly_select determines whether to randomly sample a subnet.
  • --keepd determines the layers to be excluded from adjusting strategy.

For instance, using the following command enables the increasing strategy:

--occupy_start 0.5 --occupy_end 1.0

while command like this

--occupy_start 1.0 --occupy_end 0.5 --randomly_select TRUE --keepd 9

is for the decreasing strategy.

TODOs

  • Pretrained weights
  • Training code verification

License

This work is made available under the Nvidia Source Code License.

BibTeX

@article{yang2022improving,
  title   = {Improving GANs with A Dynamic Discriminator},
  author  = {Yang, Ceyuan and Shen, Yujun and Xu, Yinghao and Zhao, Deli and Dai, Bo and Zhou, Bolei},
  article = {arXiv preprint arXiv:2209.09897},
  year    = {2022}
}

About

[NeurIPS 2022] Improving GANs with A Dynamic Discriminator

genforce.github.io/dynamicd

Resources

Readme
License
Activity
Custom properties

Stars

64 stars

Watchers

12 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.