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

yolov4 eng problem #170

Open
tuteming opened this issue Mar 9, 2022 · 1 comment
Open

yolov4 eng problem #170

tuteming opened this issue Mar 9, 2022 · 1 comment

Comments

@tuteming
Copy link

tuteming commented Mar 9, 2022

我使用sln在win10建置test_dll.exe,detector.dll成功,test_dll.exe也工作正常.yolov4-kFLOAT-batch1.eng也生成了.
因為sample_detector.cpp=>#include "class_timer.hpp" and #include "class_detector.h" 等於把整個extra and modules 全部都叫進去了
如果我要寫一個程式(已有yolov4-kFLOAT-batch1.eng),直接做偵測無須生成yolov4-kFLOAT-batch1.eng
請問我需要include modules 哪些檔案?
另外,我如果要用CMakeLists.txt在win10 compile,
line 23 "stdc++fs" vs2017不支援,刪除它,compile ok, but run crash.
how to solve this problem?
謝謝請賜教

@enazoe
Copy link
Owner

enazoe commented Mar 9, 2022

@tuteming 如果你用cmake来构建的话,现在的cmake文件只能作为参考,可能要修改,dll的生成需要除了sample下的文件剩下的所有文件,如果你现在编译ok,run出错不一定是成像问题,可能是路径问题,比如说图片路径,模型路径之类的

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

2 participants