久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Anaconda 安裝 TensorFlow 1.15 而不是 2.0

Anaconda installs TensorFlow 1.15 instead of 2.0(Anaconda 安裝 TensorFlow 1.15 而不是 2.0)
本文介紹了Anaconda 安裝 TensorFlow 1.15 而不是 2.0的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我一直在嘗試在 Anaconda 中安裝 Tensorflow 2.0.

到目前為止,tensorflow 工作正常(我可以在我的代碼中使用該庫),但是當我安裝它時,它顯示正在安裝版本:2.0",然后我得到了 1.15 版本.

整個包的結果是可更新的(因為版本 2.0 確實存在并且應該可用),但即使我嘗試更新它,我也會不斷得到 1.15,它又回到了可更新狀態,然后我又回到了循環中.

我嘗試了從 Anaconda Navigator 界面和使用 conda update tensorflow 的提示,但沒有任何成功.

這里有鏈接包:

解決方案

.如 tf.keras 更可取,開發將繼續進行2.3.0" rel="nofollow noreferrer">F.肖萊特

  • 還要注意 tf.python.keras
  • I've been trying to install Tensorflow 2.0 in Anaconda.

    So far, tensorflow works fine (i can use the library in my code), but when i'm installing it, it says "installing version: 2.0", then i get version 1.15 instead.

    The whole package results updatable (since versione 2.0 does exist and should be available), but even if i try to update it, i keep getting 1.15, which gets back to updatable, and i get back into the loop.

    I tried both from the Anaconda Navigator interface and the prompt using conda update tensorflow, without any success.

    Here's there is the link package: tensorflow 2.0 Anaconda

    How can i solve the problem?

    EDIT :

    I successfully installed TensorFlow 2.0 using conda install -c anaconda tensorflow. Then i got back into Anaconda Navigator and i tried to install Keras 2.2.4.

    Looking at the installed packages, seems that installing Keras overwrites the version 2.0 of TensorFlow with the 1.15, am i wrong? Is this a bug?

    Here's the image:

    解決方案

    conda install -c anaconda tensorflow-gpu

    or

    conda install -c anaconda tensorflow

    Look for these:


    Tip: completely shred any file w/ name substring "keras" and "tensorflow" in your Anaconda environment before installing - else stuff is likely to break.

    1. Navigate to your site-packages
    2. Search **keras** --> delete all results
    3. Search **tensorflow** --> delete all results

    Above should work even better from the environment's root folder (e.g. envs/tf2_env) -- the idea is, Anaconda caches whatever it's already installed, so if it isn't completely removed, you may find trouble getting latest vers of packages.


    Related Q's answered in comments:

    1. Why is conda reverting TF 2 to TF 1.15.0 when I try installing Keras 2.2.4?

      • TF2's only compatible w/ Keras 2.2.5+, so conda is taking care of compatibility
    2. Why are some from keras imports no longer working and need from tensorflow.keras?

      • from keras is very different from from tensorflow.keras, implementation-wise. from keras is backend-neutral, whereas tf.keras is more tightly integrated w/ TF. There can also be significant performance differences. TF2 and onward, tf.keras is preferable, and development will proceed along it, as noted by F. Chollet
      • Also beware of tf.python.keras

    這篇關于Anaconda 安裝 TensorFlow 1.15 而不是 2.0的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

    【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

    相關文檔推薦

    How to install Selenium in a conda environment?(如何在 conda 環境中安裝 Selenium?)
    get the CUDA and CUDNN version on windows with Anaconda installe(使用 Anaconda installe 在 Windows 上獲取 CUDA 和 CUDNN 版本)
    How can I download Anaconda for python 3.6(如何下載適用于 python 3.6 的 Anaconda)
    Using two different Python Distributions(使用兩個不同的 Python 發行版)
    How can I install Anaconda aside an existing pyenv installation on OSX?(除了 OSX 上現有的 pyenv 安裝之外,如何安裝 Anaconda?)
    Permanently set Python path for Anaconda within Cygwin(在 Cygwin 中為 Anaconda 永久設置 Python 路徑)
    主站蜘蛛池模板: 精品欧美一区二区三区久久久 | 六月成人网 | 毛片com| 国产精品久久久久久久久久妇女 | 欧美日韩一区在线 | 四虎永久免费黄色影片 | 亚洲国产黄 | 亚洲欧美激情精品一区二区 | 青青草av网站 | 日本精品一区二区三区在线观看视频 | 欧美精品综合在线 | 亚洲一区在线日韩在线深爱 | 高清国产午夜精品久久久久久 | www.成人.com| 日日夜夜视频 | 国产精品海角社区在线观看 | 91精品国产综合久久国产大片 | 99tv| 日韩一区二区三区在线观看 | 2018天天干天天操 | 国产一区二区三区四区在线观看 | 日韩欧美精品在线 | 中文字幕在线免费 | 国产99久久精品一区二区永久免费 | 日韩午夜在线观看 | 在线中文字幕视频 | 麻豆久久久9性大片 | 亚洲免费观看视频网站 | 国产成人免费一区二区60岁 | 欧美激情欧美激情在线五月 | 黄在线免费观看 | 日韩一区二区免费视频 | 久久精品免费 | 午夜影院中文字幕 | 欧美理论 | 精品视频一区二区三区 | 午夜电影在线播放 | 蜜桃视频成人 | 欧美日韩综合一区 | 91色网站| 国产视频一区二区 |