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

No files present when I run main.py #4

Open
Husnain08 opened this issue Aug 6, 2019 · 2 comments
Open

No files present when I run main.py #4

Husnain08 opened this issue Aug 6, 2019 · 2 comments

Comments

@Husnain08
Copy link

When I run main.py, I get the following error. Can you tell what is possibly wrong?
Traceback (most recent call last):
File "main.py", line 93, in
main(config)
File "main.py", line 35, in main
solver.train()
File "C:\Users\user pc\PycharmProjects\pygan\solver.py", line 126, in train
norm = Normalizer()
File "C:\Users\user pc\PycharmProjects\pygan\utility.py", line 47, in init
self.norm_dict = self.normalizer_dict()
File "C:\Users\user pc\PycharmProjects\pygan\utility.py", line 77, in normalizer_dict
raise Exception('====no match files!====')
Exception: ====no match files!====

@KujouAika
Copy link

I met the same problem. Looking forward to any answer

@lvxiaoqi
Copy link

原因是windows下面glob.glob(p) 获取文件路径时正斜杠"/"被转义了的反双斜杠替代了"\",在CommonInfo类的speakers方法里面把双斜杠"\"替换成正斜杠"/"就可以了。

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