seetafaceengine / SeetaFace2

SeetaFace 2: open source, full stack face recognization toolkit.
http://www.seetatech.com/
Other
2.14k stars 620 forks source link

Error: Can not access "./model/fd_2_10.dat"! #130

Open cherisheess opened 4 months ago

cherisheess commented 4 months ago

一开始在源代码中没有找到FaceEngine.h文件,但是突然发现在SeetaFace2\example\search\seeta中找到了FaceEngine.h,大聪明的我将这个文件放入到安装的include (include\seeta)文件中,然后开始调用: seeta::ModelSetting fdModel("C:\SeeaFace\bin\model\fd_2_00.dat",seeta::ModelSetting::CPU,0); seeta::ModelSetting pdModel("C:\SeeaFace\bin\model\pd_2_00_pts5.dat",seeta::ModelSetting::CPU,0); seeta::ModelSetting frModel("C:\SeeaFace\bin\model\fd_2_10.dat",seeta::ModelSetting::CPU,0); this->fenginePtr = new seeta::FaceEngine(fdModel,pdModel,frModel);

编译没问题,运行便报错了: [INFO] FaceDetector: Core size: 640x480 [INFO] FaceLandmarker: Number: 5 Error: Can not access "C:/SeeaFace/bin/model/fd_2_10.dat"! terminate called after throwing an instance of 'std::logic_error' what(): Missing model

从字面意思是模型没找到,或者逻辑有问题,但是无从下手,恳请回答!谢谢!

Martin-HZK commented 2 months ago

同问,也是这个问题,不知道你解决了吗

cherisheess commented 2 months ago

后来我在别的地方找到了,应该是fr_2_10.dat文件,我这里写错了。

cherisheess commented 2 months ago

在别的地方找到了。附件是SeeFace2的model

------------------ 原始邮件 ------------------ 发件人: "seetafaceengine/SeetaFace2" @.>; 发送时间: 2024年9月11日(星期三) 晚上7:11 @.>; @.**@.>; 主题: Re: [seetafaceengine/SeetaFace2] Error: Can not access "./model/fd_2_10.dat"! (Issue #130)

同问,也是这个问题,不知道你解决了吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

从QQ邮箱发来的超大附件

model.zip (95.97M, 2024年10月12日 08:59 到期)进入下载页面:http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=5c3037376b59379eab201b0f1036054b1a4452515550555c4f555356571b565c06091a00030e00495556540f5001005101000551363f37090d54525b184c5e14620d&code=b077667d

Martin-HZK commented 2 months ago

okk 我还以为是路径的问题

Martin-HZK commented 2 months ago

@cherisheess 想问一下楼主是在哪里用的这个模型啊?是在安卓里面吗还是哪里

cherisheess commented 2 months ago

c++

发自我的iPhone

------------------ Original ------------------ From: Martin @.> Date: Thu,Sep 12,2024 0:29 PM To: seetafaceengine/SeetaFace2 @.> Cc: cherishees @.>, Mention @.> Subject: Re: [seetafaceengine/SeetaFace2] Error: Can not access"./model/fd_2_10.dat"! (Issue #130)

@cherisheess 想问一下楼主是在哪里用的这个模型啊?是在安卓里面吗还是哪里

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>