久久久久久久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的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

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

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

整個包的結(jié)果是可更新的(因?yàn)榘姹?2.0 確實(shí)存在并且應(yīng)該可用),但即使我嘗試更新它,我也會不斷得到 1.15,它又回到了可更新狀態(tài),然后我又回到了循環(huán)中.

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

這里有鏈接包:

解決方案

.如 tf.keras 更可取,開發(fā)將繼續(xù)進(jìn)行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

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

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

    相關(guān)文檔推薦

    How to install Selenium in a conda environment?(如何在 conda 環(huán)境中安裝 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 發(fā)行版)
    How can I install Anaconda aside an existing pyenv installation on OSX?(除了 OSX 上現(xiàn)有的 pyenv 安裝之外,如何安裝 Anaconda?)
    Permanently set Python path for Anaconda within Cygwin(在 Cygwin 中為 Anaconda 永久設(shè)置 Python 路徑)
    主站蜘蛛池模板: 在线播放国产精品 | 久久久久女人精品毛片九一 | 久久国产亚洲 | 一级黄色片免费看 | 日本黄色免费 | 国产裸体永久免费视频网站 | 免费av网站在线观看 | 亚洲+小说+欧美+激情+另类 | 国产视频一二三区 | 亚洲一区二区久久 | 亚洲iv一区二区三区 | 婷婷av在线 | 一区二区三区av | 羞羞网站在线观看 | 亚洲欧美中文字幕 | 成人黄色网 | 深夜福利视频在线观看 | 欧美在线一级 | 在线不卡av | 青青操影院| 日韩特级片 | 黄色大片免费在线观看 | 日韩手机看片 | 男女啪啪免费 | 亚洲伊人影院 | 亚洲精品免费视频 | 婷婷综合 | 亚洲综合第一页 | 夜夜嗨av一区二区三区网页 | 日韩欧美黄色 | 色一情一乱一乱一区91av | 国产一级在线观看 | www.色com | 一级片在线 | 国产第四页 | 日批视频网站 | 日日夜夜天天操 | www.伊人网 | 夜夜操av | 成人免费视屏 | 亚洲伊人av|