当前位置:   article > 正文

Tensorflow之环境版本匹配问题_tensorflow版本

tensorflow版本

相信很多同学在用tensorflow的时候,都被环境折磨得不要不要的…只要有某一个包不匹配,就会出现运行错误……版本高了低了都可能出现问题……(真的是恶心)

1 tensorflow与pip包对应关系

万幸,有人把环境做了一个系统的整理,只需要找到你安装的tensorflow版本,就可以看到你需要匹配的其它包的版本信息

链接是:https://docs.floydhub.com/guides/tensorflow/链接已失效,未找到更新链接

比如你要安装tensorflow-1.14,你可以看到其它python包的版本信息如下

  1. absl-py==0.8.0
  2. annoy==1.16.0
  3. args==0.1.0
  4. astor==0.8.0
  5. atari-py==0.2.6
  6. attrs==19.1.0
  7. backcall==0.1.0
  8. bleach==3.0.2
  9. blis==0.2.4
  10. box2d-py==2.3.8
  11. cachetools==3.1.1
  12. certifi==2019.6.16
  13. cffi==1.12.3 (GPU machines)
  14. chardet==3.0.4
  15. click==6.7
  16. clint==0.5.1
  17. cloudpickle==1.2.1 (GPU machines)
  18. cudf-cuda92==0.6.1 (GPU machines)
  19. cuml-cuda92==0.6.1 (GPU machines)
  20. cupy==5.1.0 (GPU machines)
  21. cupy-cuda92==6.3.0 (GPU machines)
  22. cycler==0.10.0
  23. cymem==2.0.2
  24. Cython==0.29.2
  25. cytoolz==0.10.0
  26. decorator==4.3.0
  27. defusedxml==0.5.0 (GPU machines)
  28. dlib==19.17.0
  29. entrypoints==0.2.3
  30. fastrlock==0.4 (GPU machines)
  31. Flask==1.1.0
  32. floyd-cli==0.11.17
  33. funcsigs==1.0.2
  34. future==0.17.1
  35. gast==0.2.2
  36. google-pasta==0.1.7
  37. grpcio==1.23.0
  38. gym==0.14.0
  39. gym-retro==0.7.0
  40. h5py==2.9.0
  41. idna==2.8
  42. imageio==2.5.0
  43. importlib-metadata==0.8
  44. incremental==17.5.0
  45. ipykernel==5.1.0
  46. ipython==7.2.0
  47. ipython-genutils==0.2.0
  48. ipywidgets==7.4.2
  49. itsdangerous==1.1.0
  50. jedi==0.13.2
  51. jellyfish==0.6.1
  52. Jinja2==2.10.1
  53. joblib==0.13.2
  54. json5==0.8.5
  55. jsonschema==3.0.2
  56. jupyter==1.0.0
  57. jupyter-client==5.2.4
  58. jupyter-console==6.0.0
  59. jupyter-core==4.4.0
  60. jupyterlab==1.0.9
  61. jupyterlab-server==1.0.6
  62. kaggle==1.5.5
  63. Keras==2.2.4
  64. Keras-Applications==1.0.8
  65. Keras-Preprocessing==1.1.0
  66. kiwisolver==1.0.1
  67. llvmlite==0.29.0 (GPU machines)
  68. Markdown==3.1.1
  69. MarkupSafe==1.1.0
  70. marshmallow==2.20.2
  71. matplotlib==3.0.2
  72. menpo==0.9.2
  73. mistune==0.8.4
  74. mock==3.0.5
  75. mpmath==1.1.0
  76. murmurhash==1.0.2
  77. nbconvert==5.4.0
  78. nbformat==4.4.0
  79. networkx==2.3
  80. nltk==3.4.5
  81. notebook==5.6.0
  82. numba==0.41.0 (GPU machines)
  83. numpy==1.15.4
  84. nvstrings-cuda92==0.3.0.post1 (GPU machines)
  85. opencv-contrib-python==3.4.0.12
  86. opencv-python==4.1.0.25
  87. pandas==0.23.4
  88. pandocfilters==1.4.2
  89. parso==0.3.1
  90. path.py==11.5.0
  91. pathlib2==2.3.4
  92. pbr==5.4.2
  93. pexpect==4.6.0
  94. pickleshare==0.7.5
  95. Pillow==5.4.0
  96. plac==0.9.6
  97. plotly==4.1.0
  98. preshed==2.0.1
  99. prometheus-client==0.5.0
  100. prompt-toolkit==2.0.7
  101. protobuf==3.9.1
  102. ptyprocess==0.6.0
  103. pyarrow==0.12.1 (GPU machines)
  104. pycparser==2.19 (GPU machines)
  105. pydot==1.4.1
  106. pyemd==0.5.1
  107. pyglet==1.3.2
  108. Pygments==2.3.1
  109. pynvrtc==9.2
  110. PyOpenGL==3.1.0
  111. PyOpenGL-accelerate==3.1.0
  112. pyparsing==2.3.0
  113. Pyphen==0.9.5
  114. pyrsistent==0.15.4
  115. python-dateutil==2.7.5
  116. python-slugify==3.0.3
  117. pytz==2018.7
  118. PyWavelets==1.0.3
  119. PyYAML==3.13
  120. pyzmq==17.1.2
  121. qtconsole==4.4.3
  122. raven==6.10.0
  123. requests==2.22.0
  124. requests-toolbelt==0.9.1
  125. retrowrapper==0.3.0
  126. retrying==1.3.3
  127. scikit-image==0.15.0
  128. scikit-learn==0.20.2
  129. scikit-umfpack==0.3.2
  130. scipy==1.2.0
  131. seaborn==0.9.0
  132. Send2Trash==1.5.0
  133. six==1.12.0
  134. sklearn==0.0
  135. spacy==2.1.8
  136. srsly==0.1.0
  137. sympy==1.3
  138. tabulate==0.8.3
  139. tensorboard==1.14.0
  140. tensorflow==1.14.0
  141. tensorflow-estimator==1.14.0
  142. termcolor==1.1.0
  143. terminado==0.8.1
  144. testpath==0.4.2
  145. text-unidecode==1.2
  146. textacy==0.8.0
  147. tflearn==0.3.2
  148. thinc==7.0.8
  149. toolz==0.10.0
  150. tornado==5.1.1
  151. tqdm==4.35.0
  152. traitlets==4.3.2
  153. urllib3==1.24.3
  154. uWSGI==2.0.18
  155. virtualenv==16.2.0
  156. wasabi==0.2.2
  157. wcwidth==0.1.7
  158. webencodings==0.5.1
  159. Werkzeug==0.15.5
  160. widgetsnbextension==3.4.2
  161. wrapt==1.11.2
  162. xgboost==0.81
  163. zipp==0.3.3 (GPU machines)
  164. zmq==0.0.0

这样我们就可以根据这些信息来安装其它包了,减少入坑次数……

2 tensorflow与keras对应关系

链接:https://docs.floydhub.com/guides/environments/链接已失效,未找到更新链接

FrameworkEnv name (--env parameter)DescriptionDocker ImagePackages and Nvidia Settings
TensorFlow 2.2tensorflow-2.2TensorFlow 2.2.0 + Keras 2.3.1 on Python 3.7.floydhub/tensorflowTensorFlow-2.2
TensorFlow 2.1tensorflow-2.1TensorFlow 2.1.0 + Keras 2.3.1 on Python 3.6.floydhub/tensorflowTensorFlow-2.1
TensorFlow 2.0tensorflow-2.0TensorFlow 2.0.0 + Keras 2.3.1 on Python 3.6.floydhub/tensorflowTensorFlow-2.0
TensorFlow 1.15tensorflow-1.15TensorFlow 1.15.0 + Keras 2.3.1 on Python 3.6.floydhub/tensorflowTensorFlow-1.15
TensorFlow 1.14tensorflow-1.14TensorFlow 1.14.0 + Keras 2.2.5 on Python 3.6.floydhub/tensorflowTensorFlow-1.14
TensorFlow 1.13tensorflow-1.13TensorFlow 1.13.0 + Keras 2.2.4 on Python 3.6.floydhub/tensorflowTensorFlow-1.13
TensorFlow 1.12tensorflow-1.12TensorFlow 1.12.0 + Keras 2.2.4 on Python 3.6.floydhub/tensorflowTensorFlow-1.12
tensorflow-1.12:py2TensorFlow 1.12.0 + Keras 2.2.4 on Python 2.floydhub/tensorflow
TensorFlow 1.11tensorflow-1.11TensorFlow 1.11.0 + Keras 2.2.4 on Python 3.6.floydhub/tensorflowTensorFlow-1.11
tensorflow-1.11:py2TensorFlow 1.11.0 + Keras 2.2.4 on Python 2.floydhub/tensorflow
TensorFlow 1.10tensorflow-1.10TensorFlow 1.10.0 + Keras 2.2.0 on Python 3.6.floydhub/tensorflowTensorFlow-1.10
tensorflow-1.10:py2TensorFlow 1.10.0 + Keras 2.2.0 on Python 2.floydhub/tensorflow
TensorFlow 1.9tensorflow-1.9TensorFlow 1.9.0 + Keras 2.2.0 on Python 3.6.floydhub/tensorflowTensorFlow-1.9
tensorflow-1.9:py2TensorFlow 1.9.0 + Keras 2.2.0 on Python 2.floydhub/tensorflow
TensorFlow 1.8tensorflow-1.8TensorFlow 1.8.0 + Keras 2.1.6 on Python 3.6.floydhub/tensorflowTensorFlow-1.8
tensorflow-1.8:py2TensorFlow 1.8.0 + Keras 2.1.6 on Python 2.floydhub/tensorflow
TensorFlow 1.7tensorflow-1.7TensorFlow 1.7.0 + Keras 2.1.6 on Python 3.6.floydhub/tensorflowTensorFlow-1.7
tensorflow-1.7:py2TensorFlow 1.7.0 + Keras 2.1.6 on Python 2.floydhub/tensorflow
TensorFlow 1.5tensorflow-1.5TensorFlow 1.5.0 + Keras 2.1.6 on Python 3.6.floydhub/tensorflowTensorFlow-1.5
tensorflow-1.5:py2TensorFlow 1.5.0 + Keras 2.1.6 on Python 2.floydhub/tensorflow
TensorFlow 1.4tensorflow-1.4TensorFlow 1.4.0 + Keras 2.0.8 on Python 3.6.floydhub/tensorflow
tensorflow-1.4:py2TensorFlow 1.4.0 + Keras 2.0.8 on Python 2.floydhub/tensorflow
TensorFlow 1.3tensorflow-1.3TensorFlow 1.3.0 + Keras 2.0.6 on Python 3.6.floydhub/tensorflow
tensorflow-1.3:py2TensorFlow 1.3.0 + Keras 2.0.6 on Python 2.floydhub/tensorflow
TensorFlow 1.2tensorflow-1.2TensorFlow 1.2.0 + Keras 2.0.6 on Python 3.5.floydhub/tensorflow
tensorflow-1.2:py2TensorFlow 1.2.0 + Keras 2.0.6 on Python 2.floydhub/tensorflow
TensorFlow 1.1tensorflowTensorFlow 1.1.0 + Keras 2.0.6 on Python 3.5.floydhub/tensorflow
tensorflow:py2TensorFlow 1.1.0 + Keras 2.0.6 on Python 2.floydhub/tensorflow
TensorFlow 1.0tensorflow-1.0TensorFlow 1.0.0 + Keras 2.0.6 on Python 3.5.floydhub/tensorflow
tensorflow-1.0:py2TensorFlow 1.0.0 + Keras 2.0.6 on Python 2.floydhub/tensorflow
TensorFlow 0.12tensorflow-0.12TensorFlow 0.12.1 + Keras 1.2.2 on Python 3.5.floydhub/tensorflow
tensorflow-0.12:py2TensorFlow 0.12.1 + Keras 1.2.2 on Python 2.floydhub/tensorflow
PyTorch 1.5pytorch-1.5PyTorch 1.5.0 + fastai 1.0.61 on Python 3.7.floydhub/pytorchPyTorch-1.5
PyTorch 1.4pytorch-1.4PyTorch 1.4.0 + fastai 1.0.60 on Python 3.6.floydhub/pytorchPyTorch-1.4
PyTorch 1.3pytorch-1.3PyTorch 1.3.0 + fastai 1.0.60 on Python 3.6.floydhub/pytorchPyTorch-1.3
PyTorch 1.2pytorch-1.2PyTorch 1.2.0 + fastai 1.0.60 on Python 3.6.floydhub/pytorchPyTorch-1.2
PyTorch 1.1pytorch-1.1PyTorch 1.1.0 + fastai 1.0.57 on Python 3.6.floydhub/pytorchPyTorch-1.1
PyTorch 1.0pytorch-1.0PyTorch 1.0.0 + fastai 1.0.51 on Python 3.6.floydhub/pytorchPyTorch-1.0
pytorch-1.0:py2PyTorch 1.0.0 on Python 2.floydhub/pytorch
PyTorch 0.4pytorch-0.4PyTorch 0.4.1 on Python 3.6.floydhub/pytorchPyTorch-0.4
pytorch-0.4:py2PyTorch 0.4.1 on Python 2.floydhub/pytorch
PyTorch 0.3pytorch-0.3PyTorch 0.3.1 on Python 3.6.floydhub/pytorchPyTorch-0.3
pytorch-0.3:py2PyTorch 0.3.1 on Python 2.floydhub/pytorch
PyTorch 0.2pytorch-0.2PyTorch 0.2.0 on Python 3.5floydhub/pytorch
pytorch-0.2:py2PyTorch 0.2.0 on Python 2.floydhub/pytorch
PyTorch 0.1pytorch-0.1PyTorch 0.1.12 on Python 3.floydhub/pytorch
pytorch-0.1:py2PyTorch 0.1.12 on Python 2.floydhub/pytorch
Theano 0.9theano-0.9Theano rel-0.8.2 + Keras 2.0.3 on Python3.5.floydhub/theano
theano-0.9:py2Theano rel-0.8.2 + Keras 2.0.3 on Python2.floydhub/theano
CaffecaffeCaffe rc4 on Python3.5.floydhub/caffe
caffe:py2Caffe rc4 on Python2.floydhub/caffe
TorchtorchTorch 7 with Python 3 env.floydhub/torch
torch:py2Torch 7 with Python 2 env.floydhub/torch
Chainer 1.23chainer-1.23Chainer 1.23.0 on Python 3.floydhub/chainer
chainer-1.23:py2Chainer 1.23.0 on Python 2.floydhub/chainer
Chainer 2.0chainer-2.0Chainer 1.23.0 on Python 3.floydhub/chainer
chainer-2.0:py2Chainer 1.23.0 on Python 2.floydhub/chainer
MxNet 1.0mxnetMxNet 1.0.0 on Python 3.6.floydhub/mxnet
mxnet:py2MxNet 1.0.0 on Python 2.floydhub/mxnet
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/53421
推荐阅读
相关标签
  

闽ICP备14008679号