|
把0.9.8.1升级为0.9.9之后,转化tensorflow模型的时候报错:
- (Python3) [toybrick@localhost mobilenet_test]$ python pb_to_rknn.py
- /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`.
- from ._conv import register_converters as _register_converters
- Traceback (most recent call last):
- File "pb_to_rknn.py", line 1, in <module>
- from rknn.api import RKNN
- File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/__init__.py", line 1, in <module>
- from rknn import api
- File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/api/__init__.py", line 1, in <module>
- from rknn.api.rknn import RKNN
- File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/api/rknn.py", line 15, in <module>
- from .rknn_base import RKNNBase
- File "rknn/api/rknn_base.py", line 12, in init rknn.api.rknn_base
- File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/base/acuitylib/__init__.py", line 1, in <module>
- from acuitylib.optimize.optimizer import Optimizer
- File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/base/acuitylib/__init__.py", line 1, in <module>
- from acuitylib.optimize.optimizer import Optimizer
- File "rknn/base/acuitylib/optimize/optimizer.py", line 11, in init rknn.base.acuitylib.optimize.optimizer
- File "rknn/base/acuitylib/optimize/rules/merge_layer.py", line 3, in init rknn.base.acuitylib.optimize.rules.merge_layer
- File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/base/acuitylib/layer/__init__.py", line 2, in <module>
- from acuitylib.layer.add import *
- File "rknn/base/acuitylib/layer/add.py", line 1, in init rknn.base.acuitylib.layer.add
- File "rknn/base/acuitylib/layer/acuitylayer.py", line 10, in init rknn.base.acuitylib.layer.acuitylayer
- File "rknn/base/acuitylib/tensor.py", line 3, in init rknn.base.acuitylib.tensor
- File "rknn/base/acuitylib/tensor_factory.py", line 3, in init rknn.base.acuitylib.tensor_factory
- File "rknn/base/acuitylib/dtype/dynamic_fixed_point.py", line 6, in init rknn.base.acuitylib.dtype.dynamic_fixed_point
- File "/home/toybrick/Python3/lib/python3.6/site-packages/rknn/base/acuitylib/dtype/quantized_dtype.py", line 8, in <module>
- from acuitylib.math import compute_quantize_kl_divergence
- File "rknn/base/acuitylib/math.py", line 3, in init rknn.base.acuitylib.math
- File "/home/toybrick/Python3/lib/python3.6/site-packages/scipy/stats/__init__.py", line 345, in <module>
- from .stats import *
- File "/home/toybrick/Python3/lib/python3.6/site-packages/scipy/stats/stats.py", line 169, in <module>
- import scipy.special as special
- File "/home/toybrick/Python3/lib/python3.6/site-packages/scipy/special/__init__.py", line 640, in <module>
- from ._ufuncs import *
- ImportError: libgfortran.so.4: cannot open shared object file: No such file or directory
已经装了libgfortran-8.3.1-2.fc28.aarch64,不知道为什么会这样
|
|