Rock It 《Armbian》二

經由觀察 GitHub 

/tensorflow

An Open Source Machine Learning Framework for Everyone https://tensorflow.org

官方

Continuous build status

Official Builds

Build Type Status Artifacts
Linux CPU Status pypi
Linux GPU Status pypi
Linux XLA Status TBA
MacOS Status pypi
Windows CPU Status pypi
Windows GPU Status pypi
Android Status Download
Raspberry Pi 0 and 1 Status Status Py2 Py3
Raspberry Pi 2 and 3 Status Status Py2 Py3

 

可以知道目前支援開發平台以及建置狀態。

由於 Rock64 是 AArch64【arm64】架構,因此只能自行編譯了︰

 

所幸有人已經製造多款『輪子』 wheel 供下載☆

/tensorflow-on-arm

@lhelontra lhelontra released this Dec 20, 2018

何不就嚐鮮最新版乎☺

tensorflow-1.12.0-cp35-none-linux_aarch64.whl

rock64@rock64:~python3 Python 3.5.3 (default, Sep 27 2018, 17:25:39)  [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf /usr/lib/python3/dist-packages/h5py/__init__.py:34: 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 >>> tf.__version__ '1.12.0' >>>  </pre>    <span style="color: #666699;">不過卻發生了奇怪問題呦☻</span> <pre class="lang:default decode:true ">>>> from tensorflow.contrib import cloud Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/local/lib/python3.5/dist-packages/tensorflow/contrib/__init__.py", line 38, in <module>     from tensorflow.contrib import cloud ImportError: cannot import name 'cloud' >>>  </pre>    <span style="color: #666699;">谷歌後了解</span> <h1 class="gh-header-title"><span style="color: #808080;"><span class="js-issue-title"><a style="color: #808080;" href="https://github.com/tensorflow/tensorflow/issues/23758">ImportError: cannot import name 'cloud' </a></span><span class="gh-header-number">#23758</span></span></h1>    <span style="color: #666699;">有時退一步海闊天空◎</span> <pre class="lang:default decode:true ">rock64@rock64:~ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39) 
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
/usr/lib/python3/dist-packages/h5py/__init__.py:34: 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
>>> tf.__version__
'1.11.0'
>>> from tensorflow.contrib import cloud
>>>