当前位置:网站首页>arm64麒麟安装paddlehub(国产化)
arm64麒麟安装paddlehub(国产化)
2022-08-02 19:51:00 【Maann】
python 版本 3.7
pip install paddlehub
需要 onnx<=0.9,进行源码安装
基础环境:
yum install cmake
yum install protobuf-compiler protobuf # libprotoc-dev
yum install make gcc gcc-c++
pip3 install --upgrade cmake==3.23.2
yum install boost
pip3 install pybind11
源码安装onnx:
git clone https://github.com/onnx/onnx.git
cd onnx
git submodule update --init --recursive
python3 setup.py install
error: onnx/third_party/pybind11/detail/common.h:215:10: fatal error: Python.h: No such file or directory
yum -y install python3-devel python-devel # (ubuntu: python-dev)
参考:https://blog.csdn.net/weixin_35757704/article/details/124852304
https://www.csdn.net/tags/Mtjacg3sOTI2LWJsb2cO0O0O.html
import paddlehub as hub
File “/usr/local/lib/python3.7/site-packages/paddlehub/init.py”, line 31, in
from paddlehub import datasets
File “/usr/local/lib/python3.7/site-packages/paddlehub/datasets/init.py”, line 15, in
from paddlehub.datasets.canvas import Canvas
File “/usr/local/lib/python3.7/site-packages/paddlehub/datasets/canvas.py”, line 23, in
from paddlehub.vision.utils import get_img_file
File “/usr/local/lib/python3.7/site-packages/paddlehub/vision/utils.py”, line 18, in
import cv2
File “/usr/local/lib64/python3.7/site-packages/cv2/init.py”, line 181, in
bootstrap()
File “/usr/local/lib64/python3.7/site-packages/cv2/init.py”, line 153, in bootstrap
native_module = importlib.import_module(“cv2”)
File “/usr/lib64/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
yum install mesa-libGL
边栏推荐
- TPAMI2022 | TransCL: based on the study the compression of the Transformer, more flexible and more powerful
- 所谓武功再高也怕菜刀-分区、分库、分表和分布式的优劣
- TPAMI2022 | TransCL:基于Transformer的压缩学习,更灵活更强大
- A Review of Nature Microbiology: Focusing on the Algae--Ecological Interface of Phytoplankton-Bacteria Interactions
- js Fetch返回数据res.json()报错问题
- ALV report learning summary
- Wintun:一款惊艳的 WireGuard 虚拟网卡接口驱动
- 磁盘分区的知识
- 我用这一招让团队的开发效率提升了 100%!
- PG's SQL execution plan
猜你喜欢

Leetcode刷题——单调栈问题(739每日温度问题、496下一个更大元素I、503下一个更大元素 II)

Translate My Wonderful | July Moli Translation Program Winners Announced

JWT学习

【Psychology · Characters】Issue 1

Kali命令ifconfig报错command not found

Brain-computer interface 003 | Musk said that he has realized a virtual self-dialogue with the cloud, and related concept shares have risen sharply

译出我精彩 | 7月墨力翻译计划获奖名单公布

即时通讯开发移动端网络短连接的优化手段

LeetCode - 105. 从前序与中序遍历序列构造二叉树;023.合并K个升序链表

2022-07-28
随机推荐
el-tree渲染大量数据的解决方案(不通过懒加载)
顺序查找和折半查找,看这篇就够了
【LeetCode】1374. 生成每种字符都是奇数个的字符串
Parse the commonly used methods in the List interface that are overridden by subclasses
golang源码分析之geoip2-golang
【 LeetCode 】 1374. Generate each character string is an odd number
力扣每日一题-第46天-344. 反转字符串
健康报告-设计与实现
B站HR对面试者声称其核心用户都是生活中的Loser
服务器Centos7 静默安装Oracle Database 12.2
4 kmiles join YiSheng group, with more strong ability of digital business, accelerate China's cross-border electricity full domain full growth
7月29-31 | APACHECON ASIA 2022
Fetch 请求不转换BLOB正常显示GBK编码的数据
如何解决图像分类中的类别不均衡问题?不妨试试分开学习表征和分类器
Five data structures of Redis and their corresponding usage scenarios
Caldera(一)配置完成的虚拟机镜像及admin身份简单使用
什么是乙二醇二乙酸酯(EGDA)?
A Review of Nature Microbiology: Focusing on the Algae--Ecological Interface of Phytoplankton-Bacteria Interactions
Fiddle设置接口数据用指定工具查看;Sublime Text设置json数据格式化转换
ALV概念讲解