DefTruth / lite.ai.toolkit

🛠 A lite C++ toolkit of awesome AI models, support ONNXRuntime, MNN, TNN, NCNN and TensorRT.
https://github.com/DefTruth/lite.ai.toolkit
GNU General Public License v3.0
3.59k stars 684 forks source link

Yolo5s_face NCNN bug solved ? #338

Closed quocnhat closed 2 years ago

quocnhat commented 2 years ago

Hi, Have you debugged in 138 yet? I test yolo5s-face using ncnn and the bug show as below. How can I solve that, thank you

LITENCNN_DEBUG LogId: ../hub/yolov5sface-opt.param =============== Input-Dims ============== Input: input: shape: c=0 h=0 w=0 =============== Output-Dims ============== terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid Aborted (core dumped)

DefTruth commented 2 years ago

Sorry ~ I am busy recently ~ I may not have time to debug, I recommend you to use the ONNXRuntime or MNN version of YOLO5Face

quocnhat commented 2 years ago

I see, Thanks. Closing issue now

quocnhat commented 2 years ago

Hi @DefTruth , I want to spend time on this bug. May I get some valuable hints on how to debug this error?

DefTruth commented 2 years ago

Hi @DefTruth , I want to spend time on this bug. May I get some valuable hints on how to debug this error?

Here is my document about how to convert YOLO5face to ONNX/NCNN/MNN/TNN formats. Please check: