Skip to content

Instantly share code, notes, and snippets.

@thundo
thundo / stylegan2-training.py
Created July 28, 2020 08:48
StyleGAN2 Training
python run_training.py --num-gpus=1 --data-dir=~/datasets --config=config-e --dataset=lego --mirror-augment=true
@thundo
thundo / stylegan2-tfrecords.py
Last active July 28, 2020 08:47
StyleGAN2 Dataset Preparation
python dataset_tool.py create_from_images ~/datasets/lego ~/path-to-images
@thundo
thundo / environment.yml
Created July 16, 2020 16:32
StyleGAN2 Conda environment
name: stylegan2
channels:
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- _tflow_select=2.1.0=gpu
- absl-py=0.9.0=py37_0
- astor=0.8.0=py37_0
- blas=1.0=mkl