码迷,mamicode.com
首页 >  
搜索关键字:Anaconda Tensorflow    ( 4813个结果
吴裕雄--天生自然 pythonTensorFlow自然语言处理:Seq2Seq模型--训练
import tensorflow as tf # 1.参数设置。 # 假设输入数据已经用9.2.1小节中的方法转换成了单词编号的格式。 SRC_TRAIN_DATA = "F:\\TensorFlowGoogle\\201806-github\\TensorFlowGoogleCode\\Chap... ...
分类:编程语言   时间:2019-12-19 19:30:42    阅读次数:136
吴裕雄--天生自然 pythonTensorFlow自然语言处理:PTB 语言模型
import numpy as np import tensorflow as tf # 1.设置参数。 TRAIN_DATA = "F:\TensorFlowGoogle\\201806-github\\TensorFlowGoogleCode\\Chapter09\\ptb.train" # 训... ...
分类:编程语言   时间:2019-12-19 18:48:42    阅读次数:107
吴裕雄--天生自然 pythonTensorFlow自然语言处理:交叉熵损失函数
import tensorflow as tf # 1. sparse_softmax_cross_entropy_with_logits样例。 # 假设词汇表的大小为3, 语料包含两个单词"2 0" word_labels = tf.constant([2, 0]) # 假设模型对两个单词预测时,... ...
分类:编程语言   时间:2019-12-19 16:16:25    阅读次数:116
吴裕雄--天生自然 pythonTensorFlow图形数据处理:数据集高层操作
import tempfile import tensorflow as tf # 1. 列举输入文件。 # 输入数据生成的训练和测试数据。 train_files = tf.train.match_filenames_once("F:\\output.tfrecords") test_files ... ...
分类:编程语言   时间:2019-12-19 14:38:04    阅读次数:152
<深度学习>Tensorflow遇到的坑之一
AttributeError: module 'tensorflow' has no attribute 'random_normal' AttributeError: module 'tensorflow' has no attribute 'Session' 查了很多,发现是tensorflow ...
分类:其他好文   时间:2019-12-19 13:16:57    阅读次数:144
tensorflow(一)
一、安装 pip install tensorflow 二、简介 tensor是张量的意思,flow是流动 张量是数据的载体,包括标量,向量,矩阵,数据立方,n维的数据 tensorflow的数据流图,用节点和有向边描述数学运算的有向无环图,图中节点代表操作,具体包括数学运算,数据填充,结果输出和变 ...
分类:其他好文   时间:2019-12-19 10:14:49    阅读次数:110
conda 切换源为清华的,加快下载速度
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/ ...
分类:其他好文   时间:2019-12-19 09:59:16    阅读次数:809
python 中pip配置清华源
anaconda配置镜像 Mac and Linux conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --set show_channel_urls y ...
分类:编程语言   时间:2019-12-19 09:54:03    阅读次数:315
吴裕雄--天生自然 pythonTensorFlow图形数据处理:读取MNIST手写图片数据写入的TFRecord文件
import numpy as np import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data # 读取文件。 filename_queue = tf.train.string_input_p... ...
分类:编程语言   时间:2019-12-19 09:52:07    阅读次数:90
Truncated Normal Distribution とNeural Network(ニューラルネットワーク)の初期化(Initialization)
Truncated Normal Distribution とNeural Network(ニューラルネットワーク)の初期化(Initialization) Tensorflowを利用してもらった初めてに、どうしてもニューラルネットワークの初期化を迷っていることが避けない。 実はルールがあります、そ ...
分类:Web程序   时间:2019-12-19 09:27:58    阅读次数:92
4813条   上一页 1 ... 87 88 89 90 91 ... 482 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!