home scroll AI Learning

Computer Vision - Jeff Heaton StyleGAN

Jeff Heaton Class

Attempts to create a conda environment that satisfies the requirements of StyleGAN2 have been unsuccessful.

However, the use of StyleGAN3 has worked.

The following examples run with StyleGAN3:

- class_07_1_gan_intro
- class_07_1_gan_intro_latent
- class_07_2_train_gan
- class_09_4_facial_points_video.ipynb

Use the instructions from stylegan3.html
to install StyleGAN3.

When running python code such as
python3 class_07_1_gan_intro.py
Make sure the code contains the line
sys.path.insert(0, "../../../../local_data/packages/stylegan3")
This will allow python to find dnnlib and legacy.
Otherwise, you will get an "import not found" error.
Unverified attempts to use StyleGAN2
https://github.com/NVlabs/stylegan2-ada

https://github.com/jeffheaton/present/issues/4

"Use python 3.7, clone the stylegan2 repo and copy dnnlib in the /lib/site-packages/ folder of your env. Last but not least, pip install ffmpeg.""

Follow Me

discord