I am trying to write a simple character recolonization code using convolutional neural network in python on windows. I am following this tutorial. But somehow I am having following error message. I could not find the appropriate reason of this error. It would be helpful for me if anyone can breakdown the error with probable solution.
Using TensorFlow backend.
Traceback (most recent call last):
File "C:/Users/Mahin/PycharmProjects/characterRecognization/Learning/practice.py", line 2, in <module>
from keras.datasets import mnist
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packageskeras\__init__.py", line 3, in <module>
from . import utils
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packageskerasutils\__init__.py", line 6, in <module>
from . import conv_utils
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packageskerasutilsconv_utils.py", line 9, in <module>
from .. import backend as K
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packageskerasackend\__init__.py", line 89, in <module>
from .tensorflow_backend import *
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packageskerasackendensorflow_backend.py", line 5, in <module>
import tensorflow as tf
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packagesensorflow\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packagesensorflowpython\__init__.py", line 59, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packagesensorflowcoreframeworkgraph_pb2.py", line 6, in <module>
from google.protobuf import descriptor as _descriptor
File "C:UsersMahinPycharmProjectscharacterRecognizationvenv3.6libsite-packagesgoogleprotobufdescriptor.py", line 47, in <module>
from google.protobuf.pyext import _message
ImportError: DLL load failed: The specified procedure could not be found.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…