Skip to content

Synthesizing Computerized Tomographic Medical Images using styleGAN2-ADA

Notifications You must be signed in to change notification settings

Michelle607/styleGAN2-ADA

Repository files navigation

styleGAN2-ADA

Synthesizing Computerized Tomographic Medical Images using styleGAN2-ADA

styleGAN2-ADA Original Project

image

styleGAN2-ADA Medical Image Synthesis

image

Prerequisites

- 1–8 high-end NVIDIA GPUs with at least 12 GB of memory.
- 64-bit Python 3.7 and PyTorch 1.7.1. 
- CUDA toolkit 11.0 or later. Use at least version 11.1 if running on RTX 3090.

Get Started

# Generate images without truncation 
python generate.py --outdir=out --trunc=1 --seeds=85,265,297,849 --network=.pkl    
# Generate images with truncation
python generate.py --outdir=out --trunc=0.7 --seeds=600-605 --network=.pkl
# Generate class conditional images
python generate.py --outdir=out --seeds=0-35 --class=1 --network=.pkl
# Style mixing example
python style_mixing.py --outdir=out --rows=85,100,75,458,1500 --cols=55,821,1789,293 --network=.pkl

References

styleGAN2-ADA, 
paper: Karras, T., Aittala, M., Hellsten, J., Laine, S., Lehtinen, J., & Aila, T. (2020). Training generative adversarial networks with limited data. Advances in neural information processing systems, 33, 12104-12114.
URL: https://github.com/NVlabs/stylegan2-ada-pytorch.git

About

Synthesizing Computerized Tomographic Medical Images using styleGAN2-ADA

Topics

Resources

Stars

Watchers

Forks

Languages