Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows users FileNotFoundError: [Errno 2] During Running Stage 4: Blending #15

Closed
pyrator opened this issue Sep 27, 2020 · 2 comments
Closed

Comments

@pyrator
Copy link

pyrator commented Sep 27, 2020

If you encounter the above error you will probably need to change one line of code in Face_Enhancement\test_face.py
Currently line 40 reads
img_name = img_path[b].split("/")[-1]
Change this to
img_name = img_path[b].split("\\")[-1]

@hjinlee88
Copy link

i think that should be
img_name = os.path.split(img_path[b])[-1]

@zhangmozhe
Copy link
Contributor

Thanks! Already fix the issue according to the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants