출처
리눅스 정보 확인
CPU 정보 확인
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 22.85
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
... 생략 ...
Hardware : Allwinner sun8i Family
Revision : 0000
Serial : 02c00081edxxxxxx
instruction set architecture (ISA)
armv7l
커널에 대한 정보
Linux orangepiplus2e 5.4.8-sunxi #19.11.6 SMP Sun Jan 5 01:33:12 CET 2020 armv7l GNU/Linux
OS버전에 대한 정보
Armbian 19.11.6 Buster \l
논리 코어 수 확인
4
메모리, swap 사이즈 확인
total used free shared buff/cache available
Mem: 1.9Gi 226Mi 127Mi 8.0Mi 1.6Gi 1.6Gi
Swap: 990Mi 0B 990Mi
관련 라이브러리 설치, pip3 설치 확인
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
libhdf5.so 라이브러리 LD_LIBRARY_PATH 환경변수에 추가
TensorFlow 설치 도중 libhdf5.so 라이브러리을 찾을 수 없는 오류가 발생하므로 LD_LIBRARY_PATH에 경로 추가
find: ‘/proc/sys/fs/binfmt_misc’: No such device
/usr/lib/arm-linux-gnueabihf/hdf5/serial/libhdf5.so
find: ‘/run/user/1000/gvfs’: Permission denied
TensorFlow 2.2.0 패키지 설치
TensorFlow 2.2.0 패키지 다운로드
tensorflow 2.2.0 파이썬 페키지 설치
버전 확인
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'2.2.0'