当前位置:网站首页>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
边栏推荐
- Implement fashion_minst clothing image classification
- 【手撕AHB-APB Bridge】~ AMBA总线 之 APB
- LeetCode - 105. 从前序与中序遍历序列构造二叉树;023.合并K个升序链表
- Lvm逻辑卷
- 健康报告-设计与实现
- Caldera(一)配置完成的虚拟机镜像及admin身份简单使用
- idea 配置resin
- Three.js入门
- A Review of Nature Microbiology: Focusing on the Algae--Ecological Interface of Phytoplankton-Bacteria Interactions
- ShardingSphere-proxy +PostgreSQL实现读写分离(静态策略)
猜你喜欢

Five data structures of Redis and their corresponding usage scenarios

idea 配置resin

Flutter自带国际化适配自动生成方案

A Review of Nature Microbiology: Focusing on the Algae--Ecological Interface of Phytoplankton-Bacteria Interactions

TPAMI2022 | TransCL:基于Transformer的压缩学习,更灵活更强大

GNN教程:图神经网络基础知识!
分享一个 web 应用版本监测 (更新) 的工具库

【软件工程导论】软件工程导论笔记

unittest自动化测试框架总结

Parse the commonly used methods in the List interface that are overridden by subclasses
随机推荐
【LeetCode】1161. 最大层内元素和
Redis 5 种数据结构及对应使用场景
Cannot find declaration to go to
Thread线程类基本使用(下)
OpenCV开发中的内存管理问题
【StoneDB性能相关工具】内存监控
ImageNet下载及处理
golang刷leetcode动态规划(12)最小路径和
银保监会:人身险产品信披材料应由保险公司总公司统一负责管理
基于 outline 实现头像剪裁以及预览
Silver circ: letter with material life insurance products should be by the insurance company is responsible for the management
SQL Server数据类型转换函数cast()和convert()详解
2022-07-27
如何ES源码中添加一个自己的API 流程梳理
MySQL安装配置教程(超级详细)
LM小型可编程控制器软件(基于CoDeSys)笔记二十五:plc的数据存储区(数字量输入通道部分)
Leetcode刷题——字符串相加相关题目(415. 字符串相加、面试题 02.05. 链表求和、2. 两数相加)
Lvm逻辑卷
分享一个 web 应用版本监测 (更新) 的工具库
es 官方诊断工具