
tensorflow
liuqiang3
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tensorflow slim教程
转载 https://blog.youkuaiyun.com/u014061630/article/details/80632736#1_Slim__a_classheaderlink_hrefml_titlePermalink_to_this_headlinea_12转载 2018-10-31 15:58:32 · 689 阅读 · 0 评论 -
tenosoflow和keras交叉熵损失函数比较
tensorflow 交叉熵损失函数 二分类: tf.train.sigmoiad_cross_entropy() 多分类互斥损失函数: tf.train.softmax_cross_entropy() 在tf.train.softmax_cross_entropy()中标签和网络输出都应该是onehot编码。 在tensorflow中网络输出不需要加入激活函数,因为在损失函数当中已经包含了sig...原创 2019-03-27 23:07:30 · 2345 阅读 · 0 评论 -
tensorlowBN用法细节
当我们在网络中使用BN是,在训练和测试时归一化时使用的均值和方差不同的: 训练时:是在每个batch中计算均值和方差, 而测试时是使用训练时得到的每个batch的均值和方差的平均值。 即: 在tensorflow中加入BN时需要 训练时将BN层中的is_training 设置为Ture 测试时将BN层中的is_training 设置为Flase update_ops = tf.get_coll...原创 2019-03-24 15:53:49 · 232 阅读 · 0 评论 -
tensorflow1.9 eager问题
tensorflow1.9 .在eager模式下,我用model.get_weight查看参数时发现,tf.train.checkpoint 无法保存模型参数tf.kerasConvLSTM2D层。每次加载预先训练好的模型时convlstm层的参数都不同,而卷积层却能正常加载。 2 在网络层中使用maxpooling3d 后 ,模型梯度不能计算。 感觉eager还没完善,等2.0之后再使用吧 ...原创 2019-02-23 17:02:46 · 281 阅读 · 0 评论