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

RuntimeError: Unable to open /dlib_model/shape_predictor_68_face_landmarks.dat #8

Open
AnniRen opened this issue Mar 24, 2020 · 34 comments

Comments

@AnniRen
Copy link

AnniRen commented Mar 24, 2020

No description provided.

@liufan777
Copy link

Did you solve it?

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@liufan777
Copy link

please tell me how to deal with it?thank you

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@liufan777
Copy link

Does it work?

------------------ 原始邮件 ------------------ 发件人: "liufan777"<notifications@github.com>; 发送时间: 2020年5月9日(星期六) 晚上8:10 收件人: "danmohaha/CVPRW2019_Face_Artifacts"<CVPRW2019_Face_Artifacts@noreply.github.com>; 抄送: "ANNI"<940509850@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [danmohaha/CVPRW2019_Face_Artifacts] RuntimeError: Unable to open /dlib_model/shape_predictor_68_face_landmarks.dat (#8) please tell me how to deal with it?thank you — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sorry I don’t understand your idea, what path?

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@liufan777
Copy link

Because I used Chinese in the path.Like C:/user/安妮/...

------------------ 原始邮件 ------------------ 发件人: "liufan777"<notifications@github.com>; 发送时间: 2020年5月9日(星期六) 晚上8:06 收件人: "danmohaha/CVPRW2019_Face_Artifacts"<CVPRW2019_Face_Artifacts@noreply.github.com>; 抄送: "ANNI"<940509850@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [danmohaha/CVPRW2019_Face_Artifacts] RuntimeError: Unable to open /dlib_model/shape_predictor_68_face_landmarks.dat (#8) Did you solve it? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

I didn’t use Chinese path…and are you Chinese?

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@liufan777
Copy link

Yes.Maybe we don't have the same error.Maybe you can google the error haha

------------------ 原始邮件 ------------------ 发件人: "liufan777"<notifications@github.com>; 发送时间: 2020年5月9日(星期六) 晚上8:19 收件人: "danmohaha/CVPRW2019_Face_Artifacts"<CVPRW2019_Face_Artifacts@noreply.github.com>; 抄送: "ANNI"<940509850@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [danmohaha/CVPRW2019_Face_Artifacts] RuntimeError: Unable to open /dlib_model/shape_predictor_68_face_landmarks.dat (#8) Because I used Chinese in the path.Like C:/user/安妮/... … ------------------ 原始邮件 ------------------ 发件人: "liufan777"<notifications@github.com>; 发送时间: 2020年5月9日(星期六) 晚上8:06 收件人: "danmohaha/CVPRW2019_Face_Artifacts"<CVPRW2019_Face_Artifacts@noreply.github.com>; 抄送: "ANNI"<940509850@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [danmohaha/CVPRW2019_Face_Artifacts] RuntimeError: Unable to open /dlib_model/shape_predictor_68_face_landmarks.dat (#8) Did you solve it? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. I didn’t use Chinese path…and are you Chinese? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

那我还费劲和你用英文交流个啥呀😄😄,我是在虚拟机里跑的,目录也没中文的东西啊

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@liufan777
Copy link

哈哈哈哈 你在美国读书吗?

没,我在搞毕设,要了命了,全是报错

@liufan777
Copy link

是cd到项目文件夹里再运行吧?语句就是README给的那句直接用吗

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@liufan777
Copy link

是的 README给的那句是哪句 我有点忘了

那这样怎么会存在中文路径啊

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@AnniRen
Copy link
Author

AnniRen commented May 9, 2020 via email

@liufan777
Copy link

你标题里这个报错并没有涉及到中文路径啊,而且cd到代码的那个文件夹里再执行,还与dlib model文件夹之前的路径有关系吗,我就还是这鬼报错

@liufan777
Copy link

难道需要在代码中把相对路径改成从home开始的绝对路径?

@AnniRen
Copy link
Author

AnniRen commented May 10, 2020 via email

@AnniRen
Copy link
Author

AnniRen commented May 13, 2020 via email

@liufan777
Copy link

你有没有复现过EXPOSING DEEPFAKES USING INCONSISTENT HEADPOSES 我的QQ是940509850,我们可以交流一下毕业设计。

------------------ 原始邮件 ------------------ 发件人: "liufan777"<notifications@github.com>; 发送时间: 2020年5月10日(星期天) 上午9:20 收件人: "danmohaha/CVPRW2019_Face_Artifacts"<CVPRW2019_Face_Artifacts@noreply.github.com>; 抄送: "ANNI"<940509850@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [danmohaha/CVPRW2019_Face_Artifacts] RuntimeError: Unable to open /dlib_model/shape_predictor_68_face_landmarks.dat (#8) 难道需要在代码中把相对路径改成从home开始的绝对路径? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

我只复现过mesonet、capsule network和这个FWA,不过我认识另外一个人应该做过头部姿势的这个

@AnniRen
Copy link
Author

AnniRen commented May 14, 2020 via email

@AnniRen
Copy link
Author

AnniRen commented May 14, 2020 via email

@AnniRen
Copy link
Author

AnniRen commented May 14, 2020 via email

@julschoy
Copy link

@AnniRen 哥 能不能加个微信 还是留个Email?我有问题想问~

@AnniRen
Copy link
Author

AnniRen commented May 17, 2020 via email

@julschoy
Copy link

940509850 QQ

------------------ 原始邮件 ------------------ 发件人: "julschoy"<notifications@github.com>; 发送时间: 2020年5月16日(星期六) 晚上11:10 收件人: "danmohaha/CVPRW2019_Face_Artifacts"<CVPRW2019_Face_Artifacts@noreply.github.com>; 抄送: "ANNI"<940509850@qq.com>; "Mention"<mention@noreply.github.com>; 主题: Re: [danmohaha/CVPRW2019_Face_Artifacts] RuntimeError: Unable to open /dlib_model/shape_predictor_68_face_landmarks.dat (#8) @AnniRen 哥 能不能加个微信 还是留个Email?我有问题想问~ — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

@AnniRen 我不是国内人 哈哈哈 用不到qq

@KJQ2000
Copy link

KJQ2000 commented Oct 5, 2021

@liufan777 @AnniRen @julschoy 请问你们知道要怎样input file吗?

@julschoy
Copy link

julschoy commented Oct 5, 2021

就像这样:
python demo.py --input_dir=folder/of/test_data

如果不能, 你可以把你想要test的影片丢进那个叫 "demo" 的档案。然后, 直接 python demo.py 就可以了。

@ddogfoodd
Copy link

The path is incorrect. Replacing pwd = os.path.dirname(__file__) in line 29 of demo.py with pwd = os.path.dirname(os.path.abspath(__file__)), solved it for me.

@1234273
Copy link

1234273 commented Mar 29, 2022

Hi, maybe you have the traning code?

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

6 participants