Skip to content

Instantly share code, notes, and snippets.

@robgon-art
Created November 11, 2021 01:20
Show Gist options
  • Save robgon-art/b1bfa3f6a95a46a5b5e3e363a4451fc1 to your computer and use it in GitHub Desktop.
Save robgon-art/b1bfa3f6a95a46a5b5e3e363a4451fc1 to your computer and use it in GitHub Desktop.
train_stylegan2.py
!python stylegan2/dataset_tool.py create_from_images 'datasets/paintings' 'paintings/'
!python stylegan2/run_training.py --config=config-e --metrics=none \
--data-dir='/content/datasets' --dataset=paintings \
--mirror-augment=true \
--total-kimg=5000 \
--result-dir='/content/drive/My Drive/results'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment