Comments (5)
Just simply remove the directory build/ and rebuild the whole project.
There are still some issues in make system and the fastest solution is to build from scratch after change the makefile.config.
Thanks,
Haitao
from tengine.
Fixed.
from tengine.
I build from scratch after change the makefile.config.
the build log:
make[2]: Leaving directory '/home/tim/workspace/Tengine/tools/bin'
aarch64-linux-gnu-g++ --sysroot=/home/tim/workspace/Tengine/sysroot/ubuntu_rootfs -L/usr/lib/aarch64-linux-gnu -L/lib/aarch64-linux-gnu /home/tim/workspace/Tengine/build/tools/bin/test_accuracy.o -o /home/tim/workspace/Tengine/build/tools/bin/test_accuracy -L../build -ltengine -lprotobuf -ldl -lpthread -lresolv -L/usr/lib/aarch64-linux-gnu -lopencv_calib3d -lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab -Wl,-rpath=/usr/lib/aarch64-linux-gnu/mesa -L../build
../build/libtengine.so: undefined reference to `TEngine::RegisterConv2dOpencl()'
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target '/home/tim/workspace/Tengine/build/tools/bin/test_accuracy' failed
make[1]: *** [/home/tim/workspace/Tengine/build/tools/bin/test_accuracy] Error 1
make[1]: Leaving directory '/home/tim/workspace/Tengine/tools'
Makefile:142: recipe for target 'tools' failed
from tengine.
can u tell me where TEngine::RegisterConv2dOpencl() definition and implementation ?
i find the whole project source code , but i can not find the definition and implementation.
Thanks
from tengine.
This is because you change your makefile.config and you haven't "make clean". Try make clean
/ rm -rf build
,and rebuild make
. This problem should be solved.
TEngine::RegisterConv2dOpencl() is in executor/plugin/init.hpp
its implement lies in driver/acl/acl_conv.cpp
from tengine.
Related Issues (20)
- 求助个巨坑的问题
- yolov5 (no focus) int8 quant后,在嵌入式平台上跑到run_graph函数就挂了 HOT 7
- tengine+nvdla部署asic
- 请问现在Tengine支持rk3588吗 HOT 1
- 在运行timvx的yolov5s时,报错
- prelu在arm平台中不支持size = 1 的sclope
- 请问如何支持动态shape推理呢?
- 各位大佬,Tengine1.5-dev版本,使用官方提供的yolov5s.tmfile模型,在计算图预先运行时报错
- Tengine的convert脚本对ONNX文件进行转换时有很多底层算子不支持,onnx模型是通过.pth文件得到的,和设置的op_set版本号有关系吗?
- if support the iOS platform?
- 使用convert_tool将onnx模型转换为tmfile后发现一些层的输出不对
- 使用make编译convert_tool时遇到找不到头文件的问题
- 模型转换工具编译失败
- 数组越界访问
- 使用quant_tool_uint8 出现段错误Segmentation fault
- compile with rv64imafdc HOT 1
- 如何实现cpu range算子 HOT 1
- 设置 TG_DEBUG_DATA 会影响网络输出
- python代码如何加载.tmfile模型进行推理
- Integrate ZLUDA for AMD CUDA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tengine.