摘要: github:https://github.com/whai362/PSENet 论文:https://arxiv.org/abs/1806.02559 主要思想: 网络主要学习,Sn,Sn-1,.......,S1, 其中Sn占文字区域100%, Sn-1占文字区域90%,...........S 阅读全文
posted @ 2018-12-30 16:08 我花开后百花残 阅读(5391) 评论(2) 推荐(0) 编辑
摘要: 推荐阅读EAST论文,二篇论文比较相似 论文地址:https://arxiv.org/abs/1811.12786 概述:损失函数由三部分组成 1 TS:预测文本/非文本 该损失函数采用交叉熵,利用了OHEM 2 TCBP:预测文字山峰 这二个式子主要保证离哪条边越近,其中相对越小 3 TCD:预测 阅读全文
posted @ 2018-12-27 10:59 我花开后百花残 阅读(2601) 评论(8) 推荐(1) 编辑
摘要: import tensorflow as tfa = tf.Variable(tf.random_uniform(shape=[10, 10]))with tf.Session() as sess: #必须调用,否则a没办法初始化值 sess.run(tf.global_variables_init 阅读全文
posted @ 2018-03-08 20:53 我花开后百花残 阅读(206) 评论(0) 推荐(0) 编辑
摘要: tf.add_to_collection:把变量放入一个集合,把很多变量变成一个列表 tf.get_collection:从一个集合中取出全部变量,是一个列表 tf.add_n:把一个列表的东西都依次加起来 例如: [python] view plain copy import tensorflow 阅读全文
posted @ 2017-05-31 12:55 我花开后百花残 阅读(15251) 评论(0) 推荐(1) 编辑
摘要: ImportError: /lib64/libc.so.6: version `GLIBC_2.15' not found yum install gccwget http://ftp.gnu.org/pub/gnu/glibc/glibc-2.17.tar.xzxz -d glibc-2.17.t 阅读全文
posted @ 2017-05-05 22:19 我花开后百花残 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 变量保存到文件 import tensorflow as tf import numpy as np # Create two variables. x_data = np.float32([1,2,3,4,5,6,7,8,9,0]) weights = tf.Variable(tf.random_normal([10, 1], stddev=0.35), name="weights") bias... 阅读全文
posted @ 2017-04-26 17:53 我花开后百花残 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 拷贝convert_imageset,生成新工程convert_imageset_multi_label 修改源码 std::ifstream infile(argv[2]); std::vector> > lines; std::string filename; std::string label_count_string = argv[5]; int la... 阅读全文
posted @ 2017-02-06 15:53 我花开后百花残 阅读(5748) 评论(0) 推荐(0) 编辑
摘要: 文章:Deep Face Recognition 主页:http://www.robots.ox.ac.uk/~vgg/data/vgg_face/ 下载地址:http://www.robots.ox.ac.uk/~vgg/data/vgg_face/vgg_face_dataset.tar.gz import threading import urllib import os def d... 阅读全文
posted @ 2017-01-19 15:16 我花开后百花残 阅读(1535) 评论(1) 推荐(1) 编辑
摘要: 在工程实际中,经常需要将python代码转化成c++代码,为了获得一样的结果,需要保证算法的一致性。最近在目标检测的算法中,发现python默认排序算法为改进版的快速排序,描述如下: * Quick sort is usually the fastest, but the worst case scenario is O(N^2) so * the code switches t... 阅读全文
posted @ 2016-12-12 15:53 我花开后百花残 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: 1 ubuntu系统安装 ubuntu 14.04下载地址:http://www.releases.ubuntu.com/14.04/ 可以直接点击以下地址直接下载 http://www.releases.ubuntu.com/14.04/ubuntu-14.04.5-desktop-amd64.i 阅读全文
posted @ 2016-12-06 11:27 我花开后百花残 阅读(762) 评论(0) 推荐(0) 编辑