Advertisement
ZeroCool22

FaceSwap_GAN_v2_train.ipynb (TENSORFLOW IS UPDATED)

Feb 8th, 2018
15,293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 7.26 KB | None | 0 0
  1. Using TensorFlow backend.
  2.  
  3. ---------------------------------------------------------------------------
  4. ImportError                               Traceback (most recent call last)
  5. C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
  6.      17         try:
  7. ---> 18             return importlib.import_module(mname)
  8.      19         except ImportError:
  9.  
  10. C:\ProgramData\Anaconda3\lib\importlib\__init__.py in import_module(name, package)
  11.     125             level += 1
  12. --> 126     return _bootstrap._gcd_import(name[level:], package, level)
  13.     127
  14.  
  15. C:\ProgramData\Anaconda3\lib\importlib\_bootstrap.py in _gcd_import(name, package, level)
  16.  
  17. C:\ProgramData\Anaconda3\lib\importlib\_bootstrap.py in _find_and_load(name, import_)
  18.  
  19. C:\ProgramData\Anaconda3\lib\importlib\_bootstrap.py in _find_and_load_unlocked(name, import_)
  20.  
  21. C:\ProgramData\Anaconda3\lib\importlib\_bootstrap.py in _load_unlocked(spec)
  22.  
  23. C:\ProgramData\Anaconda3\lib\importlib\_bootstrap.py in module_from_spec(spec)
  24.  
  25. C:\ProgramData\Anaconda3\lib\importlib\_bootstrap_external.py in create_module(self, spec)
  26.  
  27. C:\ProgramData\Anaconda3\lib\importlib\_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)
  28.  
  29. ImportError: DLL load failed: No se puede encontrar el módulo especificado.
  30.  
  31. During handling of the above exception, another exception occurred:
  32.  
  33. ModuleNotFoundError                       Traceback (most recent call last)
  34. C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>()
  35.      57
  36. ---> 58   from tensorflow.python.pywrap_tensorflow_internal import *
  37.      59   from tensorflow.python.pywrap_tensorflow_internal import __version__
  38.  
  39. C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in <module>()
  40.      20             return importlib.import_module('_pywrap_tensorflow_internal')
  41. ---> 21     _pywrap_tensorflow_internal = swig_import_helper()
  42.      22     del swig_import_helper
  43.  
  44. C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper()
  45.      19         except ImportError:
  46. ---> 20             return importlib.import_module('_pywrap_tensorflow_internal')
  47.      21     _pywrap_tensorflow_internal = swig_import_helper()
  48.  
  49. C:\ProgramData\Anaconda3\lib\importlib\__init__.py in import_module(name, package)
  50.     125             level += 1
  51. --> 126     return _bootstrap._gcd_import(name[level:], package, level)
  52.     127
  53.  
  54. ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
  55.  
  56. During handling of the above exception, another exception occurred:
  57.  
  58. ImportError                               Traceback (most recent call last)
  59. <ipython-input-1-3b3c8d0b8343> in <module>()
  60. ----> 1 from keras.models import Sequential, Model
  61.       2 from keras.layers import *
  62.       3 from keras.layers.advanced_activations import LeakyReLU
  63.       4 from keras.activations import relu
  64.       5 from keras.initializers import RandomNormal
  65.  
  66. C:\ProgramData\Anaconda3\lib\site-packages\keras\__init__.py in <module>()
  67.       1 from __future__ import absolute_import
  68.       2
  69. ----> 3 from . import utils
  70.       4 from . import activations
  71.       5 from . import applications
  72.  
  73. C:\ProgramData\Anaconda3\lib\site-packages\keras\utils\__init__.py in <module>()
  74.       4 from . import data_utils
  75.       5 from . import io_utils
  76. ----> 6 from . import conv_utils
  77.       7
  78.       8 # Globally-importable utils.
  79.  
  80. C:\ProgramData\Anaconda3\lib\site-packages\keras\utils\conv_utils.py in <module>()
  81.       1 from six.moves import range
  82.       2 import numpy as np
  83. ----> 3 from .. import backend as K
  84.       4
  85.       5
  86.  
  87. C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\__init__.py in <module>()
  88.      81 elif _BACKEND == 'tensorflow':
  89.      82     sys.stderr.write('Using TensorFlow backend.\n')
  90. ---> 83     from .tensorflow_backend import *
  91.      84 else:
  92.      85     raise ValueError('Unknown backend: ' + str(_BACKEND))
  93.  
  94. C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py in <module>()
  95. ----> 1 import tensorflow as tf
  96.       2 from tensorflow.python.training import moving_averages
  97.       3 from tensorflow.python.ops import tensor_array_ops
  98.       4 from tensorflow.python.ops import control_flow_ops
  99.       5 from tensorflow.python.ops import functional_ops
  100.  
  101. C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\__init__.py in <module>()
  102.      22
  103.      23 # pylint: disable=wildcard-import
  104. ---> 24 from tensorflow.python import *
  105.      25 # pylint: enable=wildcard-import
  106.      26
  107.  
  108. C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\__init__.py in <module>()
  109.      47 import numpy as np
  110.      48
  111. ---> 49 from tensorflow.python import pywrap_tensorflow
  112.      50
  113.      51 # Protocol buffers
  114.  
  115. C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>()
  116.      70 for some common reasons and solutions.  Include the entire stack trace
  117.      71 above this error message when asking for help.""" % traceback.format_exc()
  118. ---> 72   raise ImportError(msg)
  119.     73
  120.     74 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long
  121.  
  122. ImportError: Traceback (most recent call last):
  123.  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in swig_import_helper
  124.    return importlib.import_module(mname)
  125.  File "C:\ProgramData\Anaconda3\lib\importlib\__init__.py", line 126, in import_module
  126.    return _bootstrap._gcd_import(name[level:], package, level)
  127.  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  128.  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  129.  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  130.  File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
  131.  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  132.  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  133.  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  134. ImportError: DLL load failed: No se puede encontrar el módulo especificado.
  135.  
  136. During handling of the above exception, another exception occurred:
  137.  
  138. Traceback (most recent call last):
  139.  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
  140.    from tensorflow.python.pywrap_tensorflow_internal import *
  141.  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 21, in <module>
  142.    _pywrap_tensorflow_internal = swig_import_helper()
  143.  File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 20, in swig_import_helper
  144.    return importlib.import_module('_pywrap_tensorflow_internal')
  145.  File "C:\ProgramData\Anaconda3\lib\importlib\__init__.py", line 126, in import_module
  146.    return _bootstrap._gcd_import(name[level:], package, level)
  147. ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
  148.  
  149.  
  150. Failed to load the native TensorFlow runtime.
  151.  
  152. See https://www.tensorflow.org/install/install_sources#common_installation_problems
  153.  
  154. for some common reasons and solutions.  Include the entire stack trace
  155. above this error message when asking for help.
  156.  
  157. from image_augmentation import random_transform
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement