自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 vim 命令

复制2,9 co 11 从2行到9行都复制到11行 、删除2,23d 删除2到23行 cc, 删除一行然后进入编辑状态, cw 删除一个单词并进入编译状态替换:s/abc/def/g 把abc换成def , g 表示全局 可以先用 shift+v 选中一行, 然后run 上面的命令 换到下一行时 可以输入&, 表示对这一行执行同样的命令取消高亮### noh

2015-03-30 10:21:18 424

原创 ssh private key

login server without passwordgenerate key (on my own computer) ssh-genkey -t rsa (have to change the name of key, otherwise it will override the old one)put the public key to the server For exam

2015-03-22 02:03:38 709

原创 Autojump Installation

Autojump is a faster way to ‘cd’ to the specific dir directly. Installation git clone https://github.com/joelthelion;autojump.git python install.py it will tell you what command you should add

2015-03-16 08:35:47 722

原创 Caffe Prediction

correct me if I am wrongBGR or RGB?Caffe use opencv to convert image to datum. The channels will be disordered to BGR rather than RGB by OpenCV. It means all blobs in caffe are in the BGR format. Whe

2015-03-12 16:20:41 7366 2

原创 Python 画图

numpy -> plot figure import pylab import matplotlib.pyplot as plt ###plot figure a is numpy.array plt.imshow(a) pylab.show() ###plot subfigure a,b are numpy.array plt.su

2015-03-12 14:53:59 1041

原创 Bash Shortcuts

These are a couple of shortcuts that I should get familiar with. Move Move Cursor Ctrl + A: go to the beginning of the line Ctrl + E: go to the end of the line Move Cursor in the w

2015-03-12 03:51:23 427

原创 linux 基本命令

这里添加下常用的命令删除 1. 删除指定的一些文件 比如删除 mat.o32424, mat.e342, 。。。 就使用 find -name “.[oe][0-9]?” | xargs /bin/rm -f xargs 的作用是把前面的结果一条条输送到后面Tips& (background running) adding & at the end of command,

2015-03-11 11:07:18 429

原创 Caffe: Softmax_Loss layer

先占坑,以后补全。今天遇到softmax_loss Layer的问题,在网上找到Chiyuan Zhang学长的这篇文章。终于明白了为什么在计算中它会减去最大的一个值。有时间要自己搞清楚, 再写下来。

2015-03-06 09:26:32 1731 1

原创 Python lmdb

最近从 leveldb 转到 lmdb, 需要用python实现。观察caffe里,db里 保存的都是datum format, 所以datum就变成了中转中心。用python 调用levedb的函数在这里 这里是 lmdb documentswritedb_img = lmdb.Environment(lmdb_img_name,map_size=int(1e12))txn_img = db_

2015-03-05 09:20:41 19321 6

原创 Python Numpy

Numpy 库可以理解为 Python 中的 Matlab 里面的函数开头基本都有np.function (if import numpy as np)。只要把它当成MATLAB就好它有很多和Matlab类似的函数,比如1.np.where(imgnp==255)2.temp[np.where(imgnp==255)]=11是找到imgnp中value为255的index, 2是在temp中讲这

2015-03-05 06:38:32 971

原创 Caffe Installation

以下安装步骤针对将所有依赖软件和caffe都安装在自己的 linux 账户下, 除了cuda/6.5首先安装 boost,Boost1. download boost.tar.gz (google boost library)2. tar -zxvf boost.tar.gz 3. cd boost4. ./bootstrap.sh5. mkdir build6.

2015-03-03 11:02:53 1026

原创 Screen

才知道linux有screen这样的命令,它的作用主要在于防止ssh连接服务器时突然中断,造成当时进行的job断掉。可以这样想,以前设置的共享ssh, 是多个ssh共连。 而screen则是在server上,并由server管理。它们在后台运行,如果ssh 中断了本地到server的链接,这些job仍然运行,并且下次再ssh即可恢复。下面实例讲下如何使用,先ssh 创建一个screen, 并命令

2015-03-02 11:09:22 590

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除