RuntimeError: Unable to open /dlib_model/shape_predictor_68_face_landmarks.dat
AnniRen opened this issue · 34 comments
Did you solve it?
please tell me how to deal with it?thank you
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?
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?
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.
那我还费劲和你用英文交流个啥呀
是cd到项目文件夹里再运行吧?语句就是README给的那句直接用吗
你标题里这个报错并没有涉及到中文路径啊,而且cd到代码的那个文件夹里再执行,还与dlib model文件夹之前的路径有关系吗,我就还是这鬼报错
难道需要在代码中把相对路径改成从home开始的绝对路径?
你有没有复现过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,不过我认识另外一个人应该做过头部姿势的这个
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
@liufan777 @AnniRen @julschoy 请问你们知道要怎样input file吗?
就像这样:
python demo.py --input_dir=folder/of/test_data
如果不能, 你可以把你想要test的影片丢进那个叫 "demo" 的档案。然后, 直接 python demo.py 就可以了。
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.
Hi, maybe you have the traning code?