Fork me on GitHub
上一页 1 2 3 4 5 6 ··· 37 下一页
摘要: 最近项目中用到需要给出每一个字在string中的索引,但是又因为中文字符跟英文字符长度不一样,得分开处理, 在这里记录一下。 想要达到的效果如下: 将 “测试3.1415engEng”分割开 代码: 参考: https://blog.csdn.net/cy_tec/article/details/8 阅读全文
posted @ 2019-07-01 17:43 hellowOOOrld 阅读(2225) 评论(0) 推荐(0) 编辑
摘要: 之前接触过全局二值化(OTSU算法),还有OPENCV提供的自适应二值化,最近又了解到一种新的局部二值化算法,Sauvola算法。 转载自:http://www.dididongdong.com/archives/4048 值得注意的是,计算r×r邻域内像素值的时候,一种优化的策略是,使用OPENC 阅读全文
posted @ 2019-06-17 17:14 hellowOOOrld 阅读(10652) 评论(0) 推荐(0) 编辑
摘要: 先上效果图,把vimrc 和bashrc 备份一下。。 vimrc: bashrc: 阅读全文
posted @ 2019-06-04 15:22 hellowOOOrld 阅读(2179) 评论(0) 推荐(0) 编辑
摘要: 本地是 Ubuntu 1804 最近想查看服务器上的图片,之前都是scp到本地,感觉太麻烦,于是查到有一种方法,ssh图形界面那种: 1.在File 界面下,左侧文件栏的最后一列有 “+ Other Locations” 点击**“+ Other Locations”** 可显示硬件相关的硬盘与网络 阅读全文
posted @ 2019-04-18 15:37 hellowOOOrld 阅读(1424) 评论(0) 推荐(0) 编辑
摘要: 1.使用预训练模型,需要修改训练的prototxt,将layer name改为与要使用模型的layer name相同即可。 Borrowing Weights from a Pretrained Network To borrow the weights of an already trained 阅读全文
posted @ 2019-04-16 17:58 hellowOOOrld 阅读(651) 评论(0) 推荐(0) 编辑
摘要: You need to generate caffe.pb.h manually using protoc as follows. 阅读全文
posted @ 2019-04-09 11:17 hellowOOOrld 阅读(2575) 评论(0) 推荐(0) 编辑
摘要: 总是分不太清楚LIBRARY_PATH和LD_LIBRARY_PATH环境变量的区别,每次都是现查一下,转载到这里,备忘。。。 转载自:https://www.cnblogs.com/panfeng412/archive/2011/10/20/library_path-and-ld_library_ 阅读全文
posted @ 2019-04-09 11:05 hellowOOOrld 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 最近需要用到全局FQ,找到了这篇文档,经过验证可靠。 转载链接:https://fqk.io/linux-shadowsocks-global/ shadowsocks 建立配置文件,例:服务器地址为 xxxx.com,端口号 52239,密码 SOME_PASSWORD,保存到 ~/shadows 阅读全文
posted @ 2018-12-11 00:25 hellowOOOrld 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Given a string S of '(' and ')' parentheses, we add the minimum number of parentheses ( '(' or ')', and in any positions ) so that the resulting paren 阅读全文
posted @ 2018-12-05 12:57 hellowOOOrld 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 最近需要长期修改远端服务器上的代码,调试。vim操作又不是很6,想到了远程操作的办法,找到一篇好用的bolg,记录一下。 原文链接:https://blog.csdn.net/qq_38401919/article/details/80728516 在远程服务器上编写文件是一件很糟糕的事情,vim和 阅读全文
posted @ 2018-11-13 12:27 hellowOOOrld 阅读(2836) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 37 下一页