学习笔记
nofish_xp
这个作者很懒,什么都没留下…
展开
-
Numpy.Zeros等
numpy.zerosnumpy.zeros(shape, dtype=float, order='C')Parameters:shape : int or sequence of intsShape of the new array, e.g., (2, 3) or 2.dtype : data-type, optional转载 2017-08-03 22:00:00 · 3260 阅读 · 0 评论 -
tf.data.Dataset.map()函数
TensorFlow 1.4以后,引入了新的tf.data.Dataset,这是个非常好用的模块,具体可以参考以下URL:https://blog.csdn.net/kwame211/article/details/78579035 看代码的时候,一直有个疑问,就是关于类似tf.data.Dataset.map()的这种函数参数,很不容易理解。定义:map( map_...原创 2018-10-17 20:23:41 · 19224 阅读 · 2 评论 -
Mac-Finder下的隐藏文件的显示/非显示控制
对于隐藏文件的显示,Finder本身好象并没有选项可以直接进行控制,在控制台下输入以下命令可以实现效果。隐藏文件的非显示:$ defaults write com.apple.finder AppleShowAllFiles FALSE$ killall Finder隐藏文件的显示$ defaults write com.apple.finder AppleShowAll...原创 2018-10-16 23:20:18 · 186 阅读 · 0 评论 -
TensorFlow的高阶函数 tf.map_fn()
这里有不错的解释:https://blog.csdn.net/loseinvain/article/details/7881513050个例子:https://www.programcreek.com/python/example/90420/tensorflow.map_fn更多解说:https://code.i-harness.com/ja/docs/tensorflow~pyt...原创 2018-10-13 16:44:34 · 2316 阅读 · 0 评论 -
关于Estimator
关于自定义模型(estimator)的使用介绍,下面文章里写的很详细,不再重复。https://blog.csdn.net/amao1998/article/details/80202777关于自定义模型函数的参数问题,之前一直不是很懂,原因是固定参数。看了下Estimator的代码,里面会自动解释赋值。def model_fn( features, # 本批次的特征数据 ...原创 2018-10-11 22:47:55 · 196 阅读 · 0 评论 -
SparseTensor 稀疏张量
参考:https://www.w3cschool.cn/tensorflow_python/tensorflow_python-le4w2kjm.htmlSparseTensor:稀疏张量之前一直不知道张量说的是什么,查了才知道原来就是说的Tensor,一般一维的张量表示为向量,二维的张量表示为矩阵稀疏张量SparseTensor(indices, values, dense_shap...原创 2018-10-11 20:16:33 · 2206 阅读 · 0 评论 -
ImportError: No module named PIL.Image解决
运行某程序的时候,出现以下错误ImportError: No module named PIL.ImagePIL是Python Image Library, 尝试用以下命令安装pip3 install PIL 结果提示:Collecting PIL Could not find a version that satisfies the requirement...原创 2018-09-16 23:48:07 · 7279 阅读 · 1 评论 -
Jupyter下的tensorboard使用
tensorflow自带的tensorboard功能强大,图像生成,参数变化等都可以进行可视化。不过这个要单独启动才行。使用方法可参考:http://wiki.jikexueyuan.com/project/tensorflow-zh/how_tos/summaries_and_tensorboard.html如果要求不高,只是想在jupyter下面,图像生成,简单的可视化即可的话,有这下...原创 2018-09-02 21:43:06 · 4837 阅读 · 0 评论 -
查准率和查全率
查准率(Precision)和查全率(Recall) 我们将算法预测的结果分成四种情况: 1. 正确肯定(True Positive,TP):预测为真,实际为真 2. 正确否定(True Negative,TN):预测为假,实际为假 3. 错误肯定(False Positive,FP):预测为真,实际为假 4. 错误否定(False Negative,FN):预测为假,实际为真 则: ...原创 2018-08-25 22:00:04 · 3132 阅读 · 0 评论 -
TensorFlow + Keras YOLO V3初试及问题解决
YOLO V3的图像识别,一直想试一下。实际参考了https://www.cnblogs.com/tensorflownews/p/8922359.html,并有各种百度及google整理起来,简单来说分成以下几步:0:环境的安装,包括pyhon3.x,keras这些1:下载keras-yolo3的整个工程 https://github.com/qqwweee/keras-y...原创 2018-07-31 20:51:28 · 8752 阅读 · 29 评论 -
一些有用的URL
[目标检测]YOLO原理https://www.cnblogs.com/fariver/p/7446921.html batchnorm原理及代码详解https://blog.csdn.net/qq_25737169/article/details/79048516 mAPhttps://blog.csdn.net/gw1994/article/details/7961...转载 2018-07-21 23:01:24 · 188 阅读 · 0 评论 -
AWS相关知识
先存几个不错的URL,以方便慢慢看 为什么你不用AWS,还是需要了解一些AWS的技术?https://zhuanlan.zhihu.com/p/20147945亚马逊云计算(aws)官方实训材料(基础)https://zhuanlan.zhihu.com/p/25428298 ...转载 2018-12-08 22:45:57 · 145 阅读 · 0 评论