caffe能否移植到arm平台( 七 )
问题原因:链接的问题
shunzhi@ubuntu:/opt/hisi-linux/x86-arm/arm-hisiv500-linux/target/usr/local/lib$ arm-hisiv500-linux-readelf -d libopencv_shape.so
Dynamic section at offset 0x2f7c0 contains 30 entries: Tag Type Name/Value0x00000001 (NEEDED) Shared library: 0x00000001 (NEEDED) Shared library: 0x00000001 (NEEDED) Shared library: 0x00000001 (NEEDED) Shared library: 0x00000001 (NEEDED) Shared library: 0x00000001 (NEEDED) Shared library: 0x00000001 (NEEDED) Shared library: 0x0000000c (INIT) 0x37a80x0000000d (FINI) 0x2b3880x00000019 (INIT_ARRAY) 0x3f0000x0000001b (INIT_ARRAYSZ) 32 (bytes)0x0000001a (FINI_ARRAY) 0x3f0200x0000001c (FINI_ARRAYSZ) 4 (bytes)0x00000004 (HASH) 0xd40x00000005 (STRTAB) 0x10bc0x00000006 (SYMTAB) 0x5ac0x0000000a (STRSZ) 5274 (bytes)0x0000000b (SYMENT) 16 (bytes)0x00000003 (PLTGOT) 0x3f8d00x00000002 (PLTRELSZ) 872 (bytes)0x00000014 (PLTREL) REL0x00000017 (JMPREL) 0x34400x00000011 (REL) 0x26d80x00000012 (RELSZ) 3432 (bytes)0x00000013 (RELENT) 8 (bytes)0x6ffffffe (VERNEED) 0x26b80x6fffffff (VERNEEDNUM) 10x6ffffff0 (VERSYM) 0x25560x6ffffffa (RELCOUNT) 2340x00000000 (NULL) 0x0
解决方案:在当前opencv库的位置新建一个相对路径的lib库mkdir ../../libcp libopencv* ../../lib
2.问题描述:
CXX/LD -o .build_release/test/test_all.testbin src/caffe/test/test_caffe_main.cpp/opt/hisi-linux/x86-arm/arm-hisiv500-linux/target/usr/local/lib/libboost_filesystem.so: warning: the use of OBSOLESCENT `utime\u0026#39; is discouraged, use `utimes\u0026#39;/opt/hisi-linux/x86-arm/arm-hisiv500-linux/bin/../lib/gcc/arm-hisiv500-linux-uclibcgnueabi/4.9.4/../../../../arm-hisiv500-linux-uclibcgnueabi/bin/ld: /opt/hisi-linux/x86-arm/arm-hisiv500-linux/bin/../target/lib/libpthread.so.0: undefined reference to symbol \u0026#39;dlclose\u0026#39;/opt/hisi-linux/x86-arm/arm-hisiv500-linux/bin/../target/lib/libdl.so.0: error adding symbols: DSO missing from command linecollect2: error: ld returned 1 exit statusMakefile:606: recipe for target \u0026#39;.build_release/test/test_all.testbin\u0026#39; failedmake: *** Error 1
原因:缺少ptread,dl,rt库
解决方案:Makefile中添加这三个库。183 LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_hl-static hdf5-static pthread dl rt
问题描述:训练mnist模型时出现的错误。(未解决)
I0406 10:54:27.313168 722 net.cpp:242] This network produces output accuracy
I0406 10:54:27.313230 722 net.cpp:242] This network produces output loss
推荐阅读
- 广东今年角膜捐献量和移植手术量较往年均有增加
- 汽车知识|押宝全新造型,东风雪铁龙新C5能否成为神龙公司“救世主”
- 中国版Evan能火吗美国9岁男童录制评测玩具视频年入800万,中国能否复制成功
- 汽车市场|中期改款再战D级车市场,新雷克萨斯LS能否超过宝马7系等对手?
- 澎湃汽车圈|试驾名爵MG领航 运动性和实用性能否兼顾?
- 天天汽车|超高性价比实力宠粉,2021款奕歌能否点燃你的心?
- 能否推荐一个能用快播看电影且电影都是中英双字幕的网站
- 汽车|定位更细分SUV市场,领克06能否扩大领克的“朋友圈”?
- 汽车白话|看脸蛋、观腰身、品内饰长安欧尚X5“塑光美学”能否打动挑剔的你
- 环球车讯网|软件能否定义汽车
