Import Python Packages

Asked 1 years ago, Updated 1 years ago, 76 views

Downloaded the https://github.com/NVlabs/stylegan package from github.

On my laptop, it says, "C:\Users\user\stylegan," and it's saved here, and I opened the ipynb file here, and I did it like this

An error appears like this... How can I use the modules in the dataset_tool, generate_figures, or dnnlib folder? ㅠ<

I'm using Jupiter laptop ipython

import sys 
sys.path

"C:\Users\user\Anaconda3\Lib\site-packages" I copied and moved the style folder here, but the error still appears.

How do I use the modules in the stylegan folder? Where should I put the style folder to work?

It's a silly question, but please answer itㅠ<

python ipython jupyter-notebook

2022-09-21 15:32

2 Answers

If you read me,

I think that's how you want me to do it.


2022-09-21 15:32

You wrote it the other way around.

from stylegan import generate_figures


2022-09-21 15:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.