Guest User

Elmo

a guest
Jan 30th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.48 KB | None | 0 0
  1. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$ pip3 install tensorflow-gpu==1.2 h5py --user
  2. Requirement already satisfied: tensorflow-gpu==1.2 in /home/anupam/.local/lib/python3.5/site-packages (1.2.0)
  3. Requirement already satisfied: h5py in /home/anupam/.local/lib/python3.5/site-packages (2.8.0)
  4. Requirement already satisfied: wheel>=0.26 in /home/anupam/.local/lib/python3.5/site-packages (from tensorflow-gpu==1.2) (0.32.3)
  5. Requirement already satisfied: six>=1.10.0 in /home/anupam/.local/lib/python3.5/site-packages (from tensorflow-gpu==1.2) (1.11.0)
  6. Requirement already satisfied: bleach==1.5.0 in /home/anupam/.local/lib/python3.5/site-packages (from tensorflow-gpu==1.2) (1.5.0)
  7. Requirement already satisfied: markdown==2.2.0 in /home/anupam/.local/lib/python3.5/site-packages (from tensorflow-gpu==1.2) (2.2.0)
  8. Requirement already satisfied: werkzeug>=0.11.10 in /home/anupam/.local/lib/python3.5/site-packages (from tensorflow-gpu==1.2) (0.14.1)
  9. Requirement already satisfied: backports.weakref==1.0rc1 in /home/anupam/.local/lib/python3.5/site-packages (from tensorflow-gpu==1.2) (1.0rc1)
  10. Requirement already satisfied: numpy>=1.11.0 in /home/anupam/.local/lib/python3.5/site-packages (from tensorflow-gpu==1.2) (1.15.4)
  11. Collecting protobuf>=3.2.0 (from tensorflow-gpu==1.2)
  12. Using cached https://files.pythonhosted.org/packages/bf/d4/db7296a1407cad69f043537ba1e05afab3646451a066ead7a314d8714388/protobuf-3.6.1-cp35-cp35m-manylinux1_x86_64.whl
  13. Requirement already satisfied: html5lib==0.9999999 in /home/anupam/.local/lib/python3.5/site-packages (from tensorflow-gpu==1.2) (0.9999999)
  14. Requirement already satisfied: setuptools in /home/anupam/.local/lib/python3.5/site-packages (from protobuf>=3.2.0->tensorflow-gpu==1.2) (40.6.2)
  15. tensorboard 1.12.0 has requirement markdown>=2.6.8, but you'll have markdown 2.2.0 which is incompatible.
  16. Installing collected packages: protobuf
  17. Successfully installed protobuf-3.6.1
  18. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$
  19. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$
  20. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$
  21. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$
  22. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$
  23. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$
  24. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$
  25. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$ pip install tensorflow-gpu==1.2 h5py
  26. Requirement already satisfied: tensorflow-gpu==1.2 in /home/anupam/.local/lib/python3.6/site-packages (1.2.0)
  27. Requirement already satisfied: h5py in /home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/site-packages (2.9.0)
  28. Requirement already satisfied: wheel>=0.26 in /home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (0.32.3)
  29. Requirement already satisfied: protobuf>=3.2.0 in /home/anupam/.local/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (3.6.1)
  30. Requirement already satisfied: numpy>=1.11.0 in /home/anupam/.local/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (1.16.0)
  31. Requirement already satisfied: backports.weakref==1.0rc1 in /home/anupam/.local/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (1.0rc1)
  32. Requirement already satisfied: html5lib==0.9999999 in /home/anupam/.local/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (0.9999999)
  33. Requirement already satisfied: werkzeug>=0.11.10 in /home/anupam/.local/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (0.14.1)
  34. Requirement already satisfied: bleach==1.5.0 in /home/anupam/.local/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (1.5.0)
  35. Requirement already satisfied: six>=1.10.0 in /home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (1.12.0)
  36. Requirement already satisfied: markdown==2.2.0 in /home/anupam/.local/lib/python3.6/site-packages (from tensorflow-gpu==1.2) (2.2.0)
  37. Requirement already satisfied: setuptools in /home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/site-packages (from protobuf>=3.2.0->tensorflow-gpu==1.2) (40.6.3)
  38. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$ python -m unittest discover tests/
  39. EEEE
  40. ======================================================================
  41. ERROR: test_data (unittest.loader._FailedTest)
  42. ----------------------------------------------------------------------
  43. ImportError: Failed to import test module: test_data
  44. Traceback (most recent call last):
  45. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
  46. from tensorflow.python.pywrap_tensorflow_internal import *
  47. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  48. _pywrap_tensorflow_internal = swig_import_helper()
  49. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  50. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  51. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 243, in load_module
  52. return load_dynamic(name, filename, file)
  53. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 343, in load_dynamic
  54. return _load(spec)
  55. ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
  56.  
  57. During handling of the above exception, another exception occurred:
  58.  
  59. Traceback (most recent call last):
  60. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
  61. module = self._get_module_from_name(name)
  62. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
  63. __import__(name)
  64. File "/home/anupam/Desktop/ElMo/bilm-tf-master/tests/test_data.py", line 7, in <module>
  65. from bilm.data import UnicodeCharsVocabulary, Vocabulary, \
  66. File "/home/anupam/Desktop/ElMo/bilm-tf-master/bilm/__init__.py", line 3, in <module>
  67. from .model import BidirectionalLanguageModel, dump_token_embeddings, \
  68. File "/home/anupam/Desktop/ElMo/bilm-tf-master/bilm/model.py", line 3, in <module>
  69. import tensorflow as tf
  70. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module>
  71. from tensorflow.python import *
  72. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 49, in <module>
  73. from tensorflow.python import pywrap_tensorflow
  74. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in <module>
  75. raise ImportError(msg)
  76. ImportError: Traceback (most recent call last):
  77. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
  78. from tensorflow.python.pywrap_tensorflow_internal import *
  79. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  80. _pywrap_tensorflow_internal = swig_import_helper()
  81. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  82. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  83. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 243, in load_module
  84. return load_dynamic(name, filename, file)
  85. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 343, in load_dynamic
  86. return _load(spec)
  87. ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
  88.  
  89.  
  90. Failed to load the native TensorFlow runtime.
  91.  
  92. See https://www.tensorflow.org/install/install_sources#common_installation_problems
  93.  
  94. for some common reasons and solutions. Include the entire stack trace
  95. above this error message when asking for help.
  96.  
  97.  
  98. ======================================================================
  99. ERROR: test_elmo (unittest.loader._FailedTest)
  100. ----------------------------------------------------------------------
  101. ImportError: Failed to import test module: test_elmo
  102. Traceback (most recent call last):
  103. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
  104. from tensorflow.python.pywrap_tensorflow_internal import *
  105. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  106. _pywrap_tensorflow_internal = swig_import_helper()
  107. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  108. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  109. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 243, in load_module
  110. return load_dynamic(name, filename, file)
  111. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 343, in load_dynamic
  112. return _load(spec)
  113. ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
  114.  
  115. During handling of the above exception, another exception occurred:
  116.  
  117. Traceback (most recent call last):
  118. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
  119. module = self._get_module_from_name(name)
  120. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
  121. __import__(name)
  122. File "/home/anupam/Desktop/ElMo/bilm-tf-master/tests/test_elmo.py", line 7, in <module>
  123. import tensorflow as tf
  124. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module>
  125. from tensorflow.python import *
  126. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 49, in <module>
  127. from tensorflow.python import pywrap_tensorflow
  128. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in <module>
  129. raise ImportError(msg)
  130. ImportError: Traceback (most recent call last):
  131. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
  132. from tensorflow.python.pywrap_tensorflow_internal import *
  133. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  134. _pywrap_tensorflow_internal = swig_import_helper()
  135. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  136. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  137. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 243, in load_module
  138. return load_dynamic(name, filename, file)
  139. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 343, in load_dynamic
  140. return _load(spec)
  141. ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
  142.  
  143.  
  144. Failed to load the native TensorFlow runtime.
  145.  
  146. See https://www.tensorflow.org/install/install_sources#common_installation_problems
  147.  
  148. for some common reasons and solutions. Include the entire stack trace
  149. above this error message when asking for help.
  150.  
  151.  
  152. ======================================================================
  153. ERROR: test_model (unittest.loader._FailedTest)
  154. ----------------------------------------------------------------------
  155. ImportError: Failed to import test module: test_model
  156. Traceback (most recent call last):
  157. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
  158. from tensorflow.python.pywrap_tensorflow_internal import *
  159. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  160. _pywrap_tensorflow_internal = swig_import_helper()
  161. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  162. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  163. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 243, in load_module
  164. return load_dynamic(name, filename, file)
  165. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 343, in load_dynamic
  166. return _load(spec)
  167. ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
  168.  
  169. During handling of the above exception, another exception occurred:
  170.  
  171. Traceback (most recent call last):
  172. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
  173. module = self._get_module_from_name(name)
  174. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
  175. __import__(name)
  176. File "/home/anupam/Desktop/ElMo/bilm-tf-master/tests/test_model.py", line 10, in <module>
  177. import tensorflow as tf
  178. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module>
  179. from tensorflow.python import *
  180. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 49, in <module>
  181. from tensorflow.python import pywrap_tensorflow
  182. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in <module>
  183. raise ImportError(msg)
  184. ImportError: Traceback (most recent call last):
  185. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
  186. from tensorflow.python.pywrap_tensorflow_internal import *
  187. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  188. _pywrap_tensorflow_internal = swig_import_helper()
  189. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  190. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  191. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 243, in load_module
  192. return load_dynamic(name, filename, file)
  193. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 343, in load_dynamic
  194. return _load(spec)
  195. ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
  196.  
  197.  
  198. Failed to load the native TensorFlow runtime.
  199.  
  200. See https://www.tensorflow.org/install/install_sources#common_installation_problems
  201.  
  202. for some common reasons and solutions. Include the entire stack trace
  203. above this error message when asking for help.
  204.  
  205.  
  206. ======================================================================
  207. ERROR: test_training (unittest.loader._FailedTest)
  208. ----------------------------------------------------------------------
  209. ImportError: Failed to import test module: test_training
  210. Traceback (most recent call last):
  211. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
  212. from tensorflow.python.pywrap_tensorflow_internal import *
  213. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  214. _pywrap_tensorflow_internal = swig_import_helper()
  215. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  216. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  217. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 243, in load_module
  218. return load_dynamic(name, filename, file)
  219. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 343, in load_dynamic
  220. return _load(spec)
  221. ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
  222.  
  223. During handling of the above exception, another exception occurred:
  224.  
  225. Traceback (most recent call last):
  226. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
  227. module = self._get_module_from_name(name)
  228. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
  229. __import__(name)
  230. File "/home/anupam/Desktop/ElMo/bilm-tf-master/tests/test_training.py", line 8, in <module>
  231. import tensorflow as tf
  232. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module>
  233. from tensorflow.python import *
  234. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 49, in <module>
  235. from tensorflow.python import pywrap_tensorflow
  236. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 52, in <module>
  237. raise ImportError(msg)
  238. ImportError: Traceback (most recent call last):
  239. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
  240. from tensorflow.python.pywrap_tensorflow_internal import *
  241. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
  242. _pywrap_tensorflow_internal = swig_import_helper()
  243. File "/home/anupam/.local/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
  244. _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  245. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 243, in load_module
  246. return load_dynamic(name, filename, file)
  247. File "/home/anupam/anaconda3/envs/keras-tf-env3Elmo/lib/python3.6/imp.py", line 343, in load_dynamic
  248. return _load(spec)
  249. ImportError: libcudnn.so.5: cannot open shared object file: No such file or directory
  250.  
  251.  
  252. Failed to load the native TensorFlow runtime.
  253.  
  254. See https://www.tensorflow.org/install/install_sources#common_installation_problems
  255.  
  256. for some common reasons and solutions. Include the entire stack trace
  257. above this error message when asking for help.
  258.  
  259.  
  260. ----------------------------------------------------------------------
  261. Ran 4 tests in 0.000s
  262.  
  263. FAILED (errors=4)
  264. (keras-tf-env3Elmo) anupam@anupam-OMEN-HP:~/Desktop/ElMo/bilm-tf-master$
Add Comment
Please, Sign In to add comment