mirror of
https://github.com/Ascend/ascend_community_projects.git
synced 2025-09-26 20:01:17 +08:00
wz fix
This commit is contained in:
@@ -207,13 +207,6 @@ APP_ERROR RetinafaceDetection::WriteResult(
|
||||
std::string restxtPath = "./widerface_txt/";
|
||||
restxtPath += cataloge;
|
||||
restxtPath += "/";
|
||||
if (_access(restxtPath.c_str(), 0) == -1) {
|
||||
int ret = _mkdir(restxtPath.c_str());
|
||||
if (ret == -1) {
|
||||
LogInfo << "create file failed.";
|
||||
return APP_ERR_OK;
|
||||
}
|
||||
}
|
||||
restxtPath += pictureName;
|
||||
restxtPath += ".txt";
|
||||
std::ofstream outfile;
|
||||
|
@@ -31,7 +31,7 @@ std::string imgFile;
|
||||
void InitRetinafaceParam(InitParam& initParam) {
|
||||
initParam.deviceId = 0;
|
||||
initParam.checkTensor = true;
|
||||
initParam.modelPath = "/home/dongyu1/Retinaface0/model/newRetinaface.om";
|
||||
initParam.modelPath = "./model/newRetinaface.om";
|
||||
initParam.classNum = 1;
|
||||
initParam.labelPath = "";
|
||||
initParam.ImagePath = "";
|
||||
|
Reference in New Issue
Block a user