Toybrick

升级0.9.9后找不到libgfortran.so.4

protossw512

中级会员

积分
252
发表于 2019-3-19 08:12:23    查看: 5313|回复: 3 | [复制链接]    打印 | 显示全部楼层
把0.9.8.1升级为0.9.9之后,转化tensorflow模型的时候报错:

  1. (Python3) [toybrick@localhost mobilenet_test]$ python pb_to_rknn.py

  2. /usr/lib64/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.

  3.   from ._conv import register_converters as _register_converters

  4. Traceback (most recent call last):

  5.   File "pb_to_rknn.py", line 1, in <module>

  6.     from rknn.api import RKNN

  7.   File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/__init__.py", line 1, in <module>

  8.     from rknn import api

  9.   File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/api/__init__.py", line 1, in <module>

  10.     from rknn.api.rknn import RKNN

  11.   File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/api/rknn.py", line 15, in <module>

  12.     from .rknn_base import RKNNBase

  13.   File "rknn/api/rknn_base.py", line 12, in init rknn.api.rknn_base

  14.   File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/base/acuitylib/__init__.py", line 1, in <module>

  15.     from acuitylib.optimize.optimizer import Optimizer

  16.   File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/base/acuitylib/__init__.py", line 1, in <module>

  17.     from acuitylib.optimize.optimizer import Optimizer

  18.   File "rknn/base/acuitylib/optimize/optimizer.py", line 11, in init rknn.base.acuitylib.optimize.optimizer

  19.   File "rknn/base/acuitylib/optimize/rules/merge_layer.py", line 3, in init rknn.base.acuitylib.optimize.rules.merge_layer

  20.   File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/base/acuitylib/layer/__init__.py", line 2, in <module>

  21.     from acuitylib.layer.add import *

  22.   File "rknn/base/acuitylib/layer/add.py", line 1, in init rknn.base.acuitylib.layer.add

  23.   File "rknn/base/acuitylib/layer/acuitylayer.py", line 10, in init rknn.base.acuitylib.layer.acuitylayer

  24.   File "rknn/base/acuitylib/tensor.py", line 3, in init rknn.base.acuitylib.tensor

  25.   File "rknn/base/acuitylib/tensor_factory.py", line 3, in init rknn.base.acuitylib.tensor_factory

  26.   File "rknn/base/acuitylib/dtype/dynamic_fixed_point.py", line 6, in init rknn.base.acuitylib.dtype.dynamic_fixed_point

  27.   File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/base/acuitylib/dtype/quantized_dtype.py", line 8, in <module>

  28.     from acuitylib.math import compute_quantize_kl_divergence

  29.   File "rknn/base/acuitylib/math.py", line 3, in init rknn.base.acuitylib.math

  30.   File "/home/toybrick/Python3/lib/python3.6/site-packages/scipy/stats/__init__.py", line 345, in <module>

  31.     from .stats import *

  32.   File "/home/toybrick/Python3/lib/python3.6/site-packages/scipy/stats/stats.py", line 169, in <module>

  33.     import scipy.special as special

  34.   File "/home/toybrick/Python3/lib/python3.6/site-packages/scipy/special/__init__.py", line 640, in <module>

  35.     from ._ufuncs import *

  36. ImportError: libgfortran.so.4: cannot open shared object file: No such file or directory
复制代码

已经装了libgfortran-8.3.1-2.fc28.aarch64,不知道为什么会这样

回复

使用道具 举报

zhangzj

超级版主

积分
1109
发表于 2019-3-19 09:23:32 | 显示全部楼层
试一下重新安装scipy 1.2.0版本,官方网盘上有
回复

使用道具 举报

protossw512

中级会员

积分
252
 楼主| 发表于 2019-3-22 06:33:47 | 显示全部楼层
zhangzj 发表于 2019-3-19 09:23
试一下重新安装scipy 1.2.0版本,官方网盘上有

请问具体在哪里下载呢?更新完之后好像没有其他几个包的安装文件了。。
回复

使用道具 举报

zhangzj

超级版主

积分
1109
发表于 2019-3-22 08:33:03 | 显示全部楼层
protossw512 发表于 2019-3-22 06:33
请问具体在哪里下载呢?更新完之后好像没有其他几个包的安装文件了。。 ...

https://eyun.baidu.com/s/3oAnqNFW#sharelink/path=%2F
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表