美文网首页
conda 下的TensorFlow与keras

conda 下的TensorFlow与keras

作者: 寽虎非虫003 | 来源:发表于2020-09-21 14:03 被阅读0次

tensorflow

简单利用conda安装tensorflow-gpu=2.2.0
虚拟环境部分不再赘述,直接给安装代码。

pip install tensorflow-gpu==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

keras

Win10系统Anaconda+TensorFlow+Keras 环境搭建教程

pip install keras
conda install mingw libpython

最后

这个组合好像并不奏效,但是我也不在乎,毕竟我自己只是为了跑别人的代码配的,现在TensorFlow自己都带了一个keras接口,没必要强搭。

相关文章

网友评论

      本文标题:conda 下的TensorFlow与keras

      本文链接:https://www.haomeiwen.com/subject/ogkvyktx.html