Intrusion-Detection-Systems icon indicating copy to clipboard operation
Intrusion-Detection-Systems copied to clipboard

import issues

Open anubhavKumarRajat opened this issue 4 years ago • 0 comments
trafficstars

while running the dnn 100 iteration for 1 dnn layer program on jupyter notebook a lot of import errors occurs please help me

ImportError Traceback (most recent call last) ~\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in 63 try: ---> 64 from tensorflow.python._pywrap_tensorflow_internal import * 65 # This try catch logic is because there is no bazel equivalent for py_extension.

ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last) ~\anaconda3\lib\site-packages\keras_init_.py in 2 try: ----> 3 from tensorflow.keras.layers.experimental.preprocessing import RandomRotation 4 except ImportError:

~\anaconda3\lib\site-packages\tensorflow_init_.py in 40 ---> 41 from tensorflow.python.tools import module_util as _module_util 42 from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader

~\anaconda3\lib\site-packages\tensorflow\python_init_.py in 39 ---> 40 from tensorflow.python.eager import context 41

~\anaconda3\lib\site-packages\tensorflow\python\eager\context.py in 34 from tensorflow.core.protobuf import rewriter_config_pb2 ---> 35 from tensorflow.python import pywrap_tfe 36 from tensorflow.python import tf2

~\anaconda3\lib\site-packages\tensorflow\python\pywrap_tfe.py in 27 # pylint: disable=invalid-import-order,g-bad-import-order, wildcard-import, unused-import ---> 28 from tensorflow.python import pywrap_tensorflow 29 from tensorflow.python._pywrap_tfe import *

~\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in 82 above this error message when asking for help.""" % traceback.format_exc() ---> 83 raise ImportError(msg) 84

ImportError: Traceback (most recent call last): File "C:\Users\anubh\anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in from tensorflow.python._pywrap_tensorflow_internal import * ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.

During handling of the above exception, another exception occurred:

ImportError Traceback (most recent call last) in 4 import numpy as np 5 np.random.seed(1337) # for reproducibility ----> 6 from keras.preprocessing import sequence 7 from keras.utils import np_utils 8 from keras.models import Sequential

~\anaconda3\lib\site-packages\keras_init_.py in 3 from tensorflow.keras.layers.experimental.preprocessing import RandomRotation 4 except ImportError: ----> 5 raise ImportError(

anubhavKumarRajat avatar Nov 30 '20 23:11 anubhavKumarRajat