hongfang

导航

 

2016年7月9日

摘要: http://caffe.berkeleyvision.org/gathered/examples/feature_extraction.html 1:caffe 目录下运行:scripts/download_model_binary.py models/bvlc_reference_caffene 阅读全文
posted @ 2016-07-09 16:11 hongfang 阅读(295) 评论(0) 推荐(0)
 
摘要: 最近新接触深度学习就从入门开始吧:新安装cuda,caffe安装流程很简单,网上到处都有 1:安装cuda前要禁用nouveau驱动 按Ctrl+Alt+F1进入命令提示符,新建一个黑名单文件 输入 保存退出(:wq) 然后执行 执行 lspci | grep nouveau查看是否有内容 如果没有 阅读全文
posted @ 2016-07-09 09:57 hongfang 阅读(623) 评论(0) 推荐(0)
 

2016年6月28日

摘要: array 0 1 2 3 4 5 6 7 change to 4 5 6 7 0 1 2 3 find the break point and return 0 算法思想: 采用二分法查找 left=0;right=length-1;mid=(left+right)/2 若A[mid]>A[lef 阅读全文
posted @ 2016-06-28 18:07 hongfang 阅读(85) 评论(0) 推荐(0)
 
摘要: leetcode string 反转 Given s = "the sky is blue", return "blue is sky the". 思路:字符从后往前遍历 遇到空格打印单词 单词的界限为两个空格之间的字符串,代码如下: #include<string.h>#include<iostr 阅读全文
posted @ 2016-06-28 17:55 hongfang 阅读(105) 评论(0) 推荐(0)