簡體   English   中英

如何在 tensorflow-gpu 中使用千層面?

[英]How to use lasagne with tensorflow-gpu?

我想使用僅受 python 2.7 和 3.4 支持的千層面0.2 ,但 tensorflow-gpu 僅支持 python 3.5 及更高版本。 如果我使用python 3.7 和千層面 0.1 則會出現此錯誤

C:\Users\hp\AppData\Local\Programs\Python\Python37\python.exe E:/ci/EvolutionaryGAN-master/test.py 警告(theano.configdefaults):g++ 不可用,如果使用 conda:m2w64 conda install m2w64-toolchain C:\Users\hp\AppData\Local\Programs\Python\Python37\lib\site-packages\theano\configdefaults.py:560: UserWarning: DeprecationWarning: there is no c++ compiler.1 c++ 編譯器將是強制性的
warnings.warn("DeprecationWarning: there is no c++ compiler." WARNING (theano.configdefaults): g++ not detected. Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance將被嚴重降級,要刪除此警告。將 Theano 標志 cxx 設置為空字符串。警告(theano.tensor:blas)。使用 NumPy 基於 C-API 的 BLAS 函數實現:回溯(最近一次調用):文件“E ./ci/EvolutionaryGAN-master/test,py",第 10 行:在導入千層面文件“C.\Users\hp\AppData\Local\Programs\Python\Python37\lib\site-packages\lasagne__init__,py”中,行

19,從。 導入層文件“C:\Users\hp\AppData\Local\Programs\Python\Python37\lib\site-packages\lasagne\layers__init__.py”,第 7 行,在 from.pool 導入 * 文件“C:\Users\ hp\AppData\Local\Programs\Python\Python37\lib\site-packages\lasagne\layers\pool.py",第 6 行,從 theano.tensor.signal 導入 downsample ImportError:無法從 'theano 導入名稱 'downsample' .tensor.signal' (C:\Users\hp\AppData\Local\Programs\Python\Python37\lib\site-packages\theano\tensor\signal__init__.py)

根據千層面

Lasagne 是一個輕量級的庫,用於在 Theano 中構建和訓練神經網絡。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM