- 博客(26)
- 收藏
- 关注
原创 Install Caffe on Ubuntu 14
Assuming you have already installed CUDA and cudnn as well as anacondaInstall OpenCVsudo apt-get update sudo apt-get install -y build-essential sudo apt-get install -y cmake sudo apt-get install -y lib
2017-04-14 03:57:20
556
原创 Singleton
The basic singleton// Singleton.h class Singleton { public: static Singleton* Instance(){ if(!pInstance_) pInstance_ = new Singleton; return pInstance_; } private:
2017-03-23 05:40:22
505
原创 Smart Pointers
std::unique_ptr A non-null std::unique_ptr always owns what it points to. Copying is not allowed but you can use move to transfer ownership to another pointer. Upon destruction, it destroys the resou
2017-03-23 02:33:07
443
原创 LeetCode: Single Number
This problem is quite similar the concept in digital circuit. First let us take a look at the code:public int singleNumber(int[] A) { if(A.length==0) { return 0; }
2017-03-10 05:03:09
391
原创 Insert Delete GetRandom O(1)
DescriptionDesign a data structure that supports all following operations in average O(1) time.Note: Duplicate elements are allowed. insert(val): Inserts an item val to the collection. remove(val): R
2017-02-26 10:42:38
409
转载 Info
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦: Markdown和扩展Markdown简洁的语法 代码块高亮 图片链接和图片上传 LaTex数学公式 UML序列图和流程图 离线写博客 导入导出Markdown文件 丰富的快捷键 快捷键 加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2017-01-31 08:19:18
309
原创 Reconstruct Original Digits from English
Reconstruct original digits from english
2017-01-20 11:55:02
349
原创 Elastic Distributed Database
This project aims to develop an elastic distributed database using MySQL replication to guarantee high availability and dynamic scalability and use it to serve as the backend for a multi-tier web application
2017-01-12 04:50:12
598
1
原创 STL: lower_bound(·) and upper_bound(·)
lower bound and upper bound function in STL
2016-12-11 02:59:58
430
原创 Top K Frequent Elements
Given a non-empty array of integers, return the k most frequent elements.
2016-12-10 05:10:06
404
原创 Caffe:Imagenet
Imagenet的数据有点大哦,将近140G,现在还处于下载过程中,下载完了之后我会进行测试的,那么就将就一下用一下自己从imagenet随手下的两个数据。 一、准备数据 嗯由于是自己的数据,没有对应的namelist,于是只好自己写一个程序来进行相应工作,网上搜了一段代码: void GetAllFiles(string path, vector& files) { long hFi
2015-08-01 18:09:52
688
原创 Caffe:cifar10
之前在windows下安装好了Caffe,并且成功了运行了MNist的例子,今天尝试用Caffe来运行例子cifar10 一、准备数据 首先运行两个shell脚本 cd $CAFFE_ROOT ./data/cifar10/get_cifar10.sh ./examples/cifar10/create_cifar10.sh 参考官网上面给的指示找到这两个脚本并运行,但是运行之前要检查两个
2015-07-29 20:42:22
955
原创 Theano在win8.1下配置以及测试
由于最近想到tracking的特征要用到深度学习,于是就想装个深度学习框架来耍耍,其实就是懒得想特征0.0,那么比较常用的有caffe、theano还有torch等,由于不太会linux懒癌发作不想学,于是就想在windows下来装个试试,一开始用的是caffe,还没开始装前是这个表情,debug时我是这个表情,装完心太累了只剩这个表情。后面会po出caffe的安装过程以及一些巨坑,免得自己以后换
2015-07-21 10:42:21
1058
原创 VS2013+Python+OpenCV的配置
由于最近要使用Python运行追踪算法,但是网上教程有点参差不齐,基本都是转载的,真正用起来并不算特别实用。于是打算自己写一个教程,方便别人顺便也当给自己以后重新安装留个教程╮(╯-╰)╭ 我用的是vs2013,要使用python很方便, 然后是关于package的安装,由于要使用OpenCV需要安装numpy和scipy,因此必须先安装后面两个package。这里不建议使用单独安装,因为有些
2015-06-26 17:52:49
3285
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人