人工智能
FerrisYu
这个作者很懒,什么都没留下…
展开
-
win10 + CUDA10 + tensorflow1.12 GPU版本编译安装
参考链接Windows 10 环境下编译 Tensorflow 1.12 GPU 版本指南教程已经很详细了,参考操作基本上没问题。这里记录一下注意事项:Python我直接装了个windows 3.5.4版本,没有使用Anaconda。需要安装下面的包pip3 install six numpy wheelpip3 install keras_applications==1.0.5 ...原创 2020-01-30 23:33:33 · 856 阅读 · 1 评论 -
Tensorflow 1.8 with CUDA on macOS High Sierra 10.13.5
折腾经历最近给自己的台式机安装了黑苹果系统。 因为工作原因,需要学习tensorflow,为了不浪费gtx1060的显卡,决定从tensorflow源码编译gpu版本(tensorflow官方从1.2版本开始不再支持osx系统,只能自己编译)。找了很多文章,最终参考了这一篇,其实大体安装步骤都差不多:https://segmentfault.com/a/1190000015807229装完之...原创 2020-01-30 22:33:19 · 166 阅读 · 0 评论 -
tensorflow学习(1)图的使用
python代码#coding=utf-8import tensorflow as tf# 在图1中初始化v=0g1 = tf.Graph()with g1.as_default(): v = tf.get_variable("v", initializer=tf.zeros_initializer, shape=[1])# 在图2中初始化v=1g2 = tf.Grap...原创 2020-01-30 22:31:40 · 90 阅读 · 0 评论