2022-06-22 23:02:31 +00:00
2022-05-25 19:54:48 +02:00
2022-06-10 06:59:58 +00:00
2022-06-22 23:02:31 +00:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-06-22 23:02:31 +00:00
2022-06-16 15:28:52 +00:00
2022-06-22 23:02:31 +00:00
2022-06-16 15:26:47 +00:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-06-22 23:02:31 +00:00
2022-05-25 19:54:48 +02:00
2022-06-10 06:59:58 +00:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-06-16 16:45:21 +00:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-06-16 16:45:21 +00:00
2022-06-22 23:02:31 +00:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-06-17 21:42:45 +02:00
2022-05-25 19:54:48 +02:00
2022-06-17 14:30:35 +00:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-05-25 19:54:48 +02:00
2022-06-22 23:02:31 +00:00
2022-05-25 19:54:48 +02:00

stylegan2-tf-2.x

  • This is tensorflow 2.0 based keras subclassing reimplementation of official StyleGAN2 Repo

Inference from official weights

Official repo result Official weight copied result from this repo
official_result restored_result

Training on 256x256

  • batch size 32
  • around 300k steps
d_loss g_loss
256x256_d_loss 256x256_g_loss
  • result samples
256x256_result_0 256x256_result_1 256x256_result_2

Using custom data

  • Create dataset(tf.data.Dataset) loader which returns
    • shape: [None, 3, res, res] where res is desired image resolution
    • image value range: [-1, +1]

Etc

Using with pycharm

  • If .bashrc file's paths don't work in pycharm environment (e.g. nvcc -h), open pycharm with following
# move to pycharm installed location (location may vary)
moono@moono-ubuntu:~$ cd .local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/201.7846.77/bin/

# launch pycharm with .bashrc 
moono@moono-ubuntu:~/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/201.7846.77/bin$ bash pycharm.sh
S
Description
No description provided
Readme
224 MiB
Languages
Python 97.8%
Cuda 2.1%