harskish / ganspace

Discovering Interpretable GAN Controls [NeurIPS 2020]
Apache License 2.0
1.78k stars 264 forks source link

missing 'model.py' #2

Closed squarevale closed 4 years ago

squarevale commented 4 years ago

I've followed the install instructions to the letter, but I'm unable to run interactive.py with any of the examples in the README (stylegan, stylegan2 or biggan)

(NB the notes at the end about StyleGAN2 installation don't work - there is no setup.py in the directory)

the error is:

Traceback (most recent call last): File "interactive.py", line 22, in from models import get_instrumented_model File "/xxx/ganspace/models/init.py", line 11, in from .wrappers import * File "/xxx/ganspace/models/wrappers.py", line 22, in from . import stylegan2 File "/xxx/ganspace/models/stylegan2/init.py", line 14, in from model import Generator ModuleNotFoundError: No module named 'model'

can you help?

harskish commented 4 years ago

You probably didn't clone the submodules. You can fix this by running git submodule update --init --recursive.

Let me know if that fixes is.

squarevale commented 4 years ago

ah! thank you - it's looking more promising now!

harskish commented 4 years ago

Closing, feel free to reopen in case of further issues.