随笔分类 -  tensorflow

摘要:https://blog.csdn.net/TeFuirnever/article/details/88880350 https://blog.csdn.net/shuzfan/article/details/79051042 获取tensor shape共有三中方式:x.shape、x.get_s 阅读全文
posted @ 2021-10-09 19:26 chease 阅读(1410) 评论(0) 推荐(0) 编辑
摘要:1、TensorFlow 各版本的官方文档 https://www.tensorflow.org/versions 2、Tensorflow2.x的主要改变: https://ithelp.ithome.com.tw/articles/10217648 3、从tf 1.x迁移到2.x的工具: htt 阅读全文
posted @ 2021-06-22 19:05 chease 阅读(454) 评论(0) 推荐(0) 编辑
摘要:转自: https://www.cnblogs.com/liuq/p/9330134.html 一、点乘与矩阵乘定义 1)点乘(即“ * ”) 各个矩阵对应元素做乘法 若 w 为 m1 的矩阵,x 为 mn 的矩阵,那么通过点乘结果就会得到一个 m*n 的矩阵。 若 w 为 mn 的矩阵,x 为 m 阅读全文
posted @ 2021-01-07 21:11 chease 阅读(365) 评论(0) 推荐(0) 编辑
摘要:参考:https://my.oschina.net/u/876354/blog/1940819 https://zhuanlan.zhihu.com/p/33560183 https://www.jianshu.com/p/cf235861311b https://blog.csdn.net/rty 阅读全文
posted @ 2021-01-07 12:55 chease 阅读(290) 评论(0) 推荐(0) 编辑
摘要:1、常用激活函数 Rectified Linear Unit(ReLU) - 用于隐层神经元输出 Sigmoid - 用于隐层神经元输出 Softmax - 用于多分类神经网络输出 Linear - 用于回归神经网络输出(或二分类问题) 常用激活函数介绍参考: https://blog.csdn.n 阅读全文
posted @ 2020-09-15 20:50 chease 阅读(190) 评论(0) 推荐(0) 编辑
摘要:1、使用tf.estimator时出现: ERROR:tensorflow:Model diverged with loss = NaN 基本可以判断就是版本导致的问题,我是从tf 1.4切换到1.12出现该问题的,网上给出的解决方法有很多,我最终通过以下配置完成解决的: Windows SET C 阅读全文
posted @ 2020-08-28 17:13 chease 阅读(943) 评论(0) 推荐(0) 编辑
摘要:https://zhuanlan.zhihu.com/p/31459527 https://blog.csdn.net/vagrantabc2017/article/details/77507168 https://www.thinbug.com/q/45353389 阅读全文
posted @ 2020-08-04 16:52 chease 阅读(123) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_40913465/article/details/104790258 1、tf.data.TextLineDataset 2、tf.decode_csv https://blog.csdn.net/AI_LX/article/details/8951 阅读全文
posted @ 2020-08-04 16:41 chease 阅读(240) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/wkslearner/p/9484443.html https://blog.csdn.net/dqcfkyqdxym3f8rb0/article/details/79342369 在tensorflow的官方文档是这样介绍Dataset数据对象的: 阅读全文
posted @ 2020-06-30 19:57 chease 阅读(387) 评论(0) 推荐(0) 编辑
摘要:tf.estimator.Estimator: https://www.cnblogs.com/wushangjue/p/8334539.html https://www.cnblogs.com/zongfa/p/10149483.html https://zhuanlan.zhihu.com/p/ 阅读全文
posted @ 2020-06-29 17:53 chease 阅读(119) 评论(0) 推荐(0) 编辑
摘要:1、如何在TensorFlow中高效使用数据集 https://www.jiqizhixin.com/articles/03137 2、Dataset API的使用方式 https://zhuanlan.zhihu.com/p/30751039 阅读全文
posted @ 2019-11-07 19:25 chease 阅读(405) 评论(0) 推荐(0) 编辑
摘要:参考转载:https://cloud.tencent.com/developer/article/1009979https://blog.csdn.net/qq_27825451/article/details/105866464 tensorflow模型的格式通常支持多种,主要有CheckPoin 阅读全文
posted @ 2019-03-19 18:03 chease 阅读(7113) 评论(0) 推荐(1) 编辑
摘要:一、基础函数 1.1 、tf.reduce_sum(input_tensor, axis) Computes the sum of elements across dimensions of a tensor,沿着维度sxis计算和 x= [[1, 1, 1], [1, 1, 1]],其秩为2 // 阅读全文
posted @ 2018-09-29 13:45 chease 阅读(2435) 评论(0) 推荐(0) 编辑
摘要:1、模型保存 模型保存需要使用函数 tf.train.Saver(), a)创建saver时,可以指定需要存储的tensor,如果没有指定,则全部保存。 b) 创建saver时,可以指定保存的模型个数,利用max_to_keep=4,则最终会保存4个模型。 c) saver.save()函数里面可以 阅读全文
posted @ 2018-07-02 20:00 chease 阅读(205) 评论(0) 推荐(0) 编辑
摘要:1、官网及帮助文档 官网: https://www.tensorflow.org/install/install_windows 中文帮助文档:https://efeiefei.gitbooks.io/tensorflow_documents_zh/install/install_windows.h 阅读全文
posted @ 2018-02-12 15:31 chease 阅读(1143) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示