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

报错:FileNotFoundError: [Errno 2] No such file or directory: 'data/CASIA_CHINESE/Chinese_content.pkl' #105

Open
Suxiaobai666 opened this issue Oct 30, 2024 · 4 comments

Comments

@Suxiaobai666
Copy link

在运行 python user_generate.py --pretrained_model ./checkpoint/checkpoint-iter199999.pth --style_path ./style_samples 这串代码后,就出现了 FileNotFoundError: [Errno 2] No such file or directory: 'data/CASIA_CHINESE/Chinese_content.pkl' 这样的报错。本人是小白,看了别人的解决方法但还是不懂。而且是我历经千辛万苦才搞到这一步(这么说有点夸张了哈),还是希望有大佬能帮我解决一下的呢。谢谢各位啦!

@dailenson
Copy link
Owner

检查下你的project,是否存在data/CASIA_CHINESE/这个目录,以及data/CASIA_CHINESE/这个目录下是否存在Chinese_content.pkl这个文件

@Suxiaobai666
Copy link
Author

检查下你的project,是否存在data/CASIA_CHINESE/这个目录,以及data/CASIA_CHINESE/这个目录下是否存在Chinese_content.pkl这个文件

有的,但是还是不行
237b508ad9cb364b46058d6c61e043f

@Suxiaobai666
Copy link
Author

检查下你的project,是否存在data/CASIA_CHINESE/这个目录,以及data/CASIA_CHINESE/这个目录下是否存在Chinese_content.pkl这个文件

除了这个可能的原因之外,还有什么别的可能的原因呢,谢谢啦

@QiferG
Copy link
Collaborator

QiferG commented Nov 26, 2024

检查下你的project,是否存在data/CASIA_CHINESE/这个目录,以及data/CASIA_CHINESE/这个目录下是否存在Chinese_content.pkl这个文件

有的,但是还是不行 237b508ad9cb364b46058d6c61e043f
请把你的'date'文件夹重命名为'data'

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