NVIDIA / vid2vid

Pytorch implementation of our method for high-resolution (e.g. 2048x1024) photorealistic video-to-video translation.
Other
8.6k stars 1.2k forks source link

scripts/street/download_models.py: Import Error #60

Closed Bowenwu1 closed 6 years ago

Bowenwu1 commented 6 years ago

Hello, I'm trying to run vid2vid and encounter some weird problem.

When I run python scripts/street/download_models.py, It raise: Traceback (most recent call last): File "scripts/street/download_models.py", line 4, in <module> from scripts.download_gdrive import * ModuleNotFoundError: No module named 'scripts.download_gdrive'

I know this question might be stupid, but I'm stuck for a while. Hope for your response! Thank You!

wygdkl commented 6 years ago

Hello, "scripts.download_gdrive" maybe means the python file :"vid2vid/scripts/download_gdrive.py", you should consider adding the path in download_models.py to solve this problem.

Bowenwu1 commented 6 years ago

Thank you for your response! I have checked sys.path before, and it outputs as follows:

image

As you can see, the path is already in sys.path.

But never mind this issue, I move download_gdrive.py to the same dir with download_models.py to solve the problem.

But I still think it's a potential bug.