This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

*/
레이블이 tensorflow인 게시물을 표시합니다. 모든 게시물 표시
레이블이 tensorflow인 게시물을 표시합니다. 모든 게시물 표시

Raspberry 4에서 tensorflow 2.2 설치

Tensorflow 2.2 package download

$ wget http://1.229.109.140:3562/tensorflow/tensorflow-2.2.0.armv7l/tensorflow-2.2.0-cp37-none-linux_armv7l.whl

--2020-09-03 16:45:10--  http://1.229.109.140:3562/tensorflow/tensorflow-2.2.0.armv7l/tensorflow-2.2.0-cp37-none-linux_armv7l.whl

Connecting to 1.229.109.140:3562... connected.

HTTP request sent, awaiting response... 200 

Length: 157689306 (150M)

Saving to: ‘tensorflow-2.2.0-cp37-none-linux_armv7l.whl’

tensorflow-2.2.0-cp 100%[===================>] 150.38M  2.03MB/s    in 82s     

2020-09-03 16:46:31 (1.84 MB/s) - ‘tensorflow-2.2.0-cp37-none-linux_armv7l.whl’ saved [157689306/157689306]

Install package

$ pip3 install tensorflow-2.2.0-cp37-none-linux_armv7l.whl



ImportError: DLL load failed: 지정된 모듈을 찾을 수 없습니다. 오류

오류 발생 환경
 - Windows 10, x64
 - python 3.6.8
 - OpenCV
tensorflow 설치후 DLL을 찾을수 없다는 오류가 발생

C:\Users\user>python

Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

<> import tensorflow as tf
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: The specified module could not be found.
MS에서 제공하는 msvcp140.dll과 충돌이 일어나서 발생하는 경우가 있다고 한다.
Visual Studio 2015, 2017 및 2019용 Microsoft Visual C++ 재배포 가능 패키지( x64, vc_redist.x64.exe)를 재설치 하면 해결된다.