Code from rosinality-stylegan2-pytorch-cp
Scripts to convert rosinality/stylegan2-pytorch to the CPU compatible format
If you would like to use CPU for testing, please make the following changes:
-
Change
model.stylegan.op
tomodel.stylegan.op_cpu
Line 10 in 6ab383b
-
Change
model.stylegan.op
tomodel.stylegan.op_cpu
DualStyleGAN/model/stylegan/model.py
Line 11 in 6ab383b
If using GPUs, changing the above lines back to the original ones.