华为鲲鹏+昇腾AI310 平台Tensorflow 2.1 安装
目前限制与昇腾AI310平台的ATC限制目前只能比较良好的转tensorflowpb模型。在昇腾AI310上安装tensorflow 2.1步骤1.下载平台对应的 tensorflow-2.1.1-cp37-cp37m-linux_aarch64.whl百度网盘:链接:https://pan.baidu.com/s/1uPSDW30qBAM-68-PCxpVYg提取码:gb9e2. pip3 in
目前限制与昇腾AI310 平台的ATC 限制目前只能比较良好的转 tensorflow pb 模型。在昇腾AI310上安装tensorflow 2.1步骤
1. 下载平台对应的 tensorflow-2.1.1-cp37-cp37m-linux_aarch64.whl
百度网盘:
链接:https://pan.baidu.com/s/1uPSDW30qBAM-68-PCxpVYg
提取码:gb9e
2. pip3 install tensorflow-2.1.1-cp37-cp37m-linux_aarch64.whl
如果遇到下面的错误:
----------------------------------------
Failed building wheel for h5py
Running setup.py clean for h5py
Successfully built scipy
Failed to build h5py
Building wheels for collected packages: wrapt, termcolor, gast
Building wheel for wrapt (setup.py) ... done
Stored in directory: /root/.cache/pip/wheels/b1/c2/ed/d62208260edbd3fa7156545c00ef966f45f2063d0a84f8208a
Building wheel for termcolor (setup.py) ... done
Stored in directory: /root/.cache/pip/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6
Building wheel for gast (setup.py) ... done
Stored in directory: /root/.cache/pip/wheels/5c/2e/7e/a1d4d4fcebe6c381f378ce7743a3ced3699feb89bcfbdadadd
Successfully built wrapt termcolor gast
Could not build wheels for h5py which use PEP 517 and cannot be installed directly
解决方法:
sudo apt install python3-h5py libhdf5-dev
更多推荐
所有评论(0)