自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(47)
  • 资源 (2)
  • 收藏
  • 关注

转载 python 使用笔记

pp 包自己突然停止了在上篇博文中,我们实现了基于Openbabel和Parallel Python的并行分子子结构搜索,并在一台32位的双核四线程笔记本电脑上进行了测试。    但是,在把这些程序移植到一台64位的win7工作站(8核)时,却发生了问题。在运行过程中,并行的python脚本会时常卡死,经过多次测试,卡死的概率约为50%。在网上查阅了许多资料,都无法解决这个问题。在焦头烂额

2014-09-14 21:25:21 703

转载 matlab 使用笔记

如何在MATLAB中统计数组中相同元素的个数法一:假定要分析的矩阵为data,x=data(:)x=sort(x);d=diff([x;max(x)+1]);count = diff(find([1;d])) ;y =[x(find(d)) count]最后输出的y(1)为元素值,y(2)为所对应的元素值在此矩阵中的出现的次数法二:

2014-09-13 15:29:23 566

原创 ubuntu 使用笔记

1安装nvidia显卡驱动之后,进入不了gui,

2014-07-23 09:57:36 824

原创 centos使用笔记

修改shell(http://unix.stackexchange.com/questions/46645/how-can-i-use-bash-as-my-login-shell-when-my-sysadmin-refuses-to-let-me-change-i).profilecase $- in *i*) # Interactive session. Try swit

2014-06-23 19:15:26 622

原创 How to use python3 in bazel build

The official document is totally confusing. Just do one thing: add --python_path=python3 when building.

2018-08-21 16:56:00 1153

原创 debug caffe python layer

There is a very complicated python data layer in ACT-detector code. After several hours of attempts, I finally find out how to debug the python layer in Caffe. In fact, quite easy in Pycharm. Just rea...

2018-08-11 15:12:20 288

原创 Tensorflow dynamic_rnn static_rnn difference

Conclusion, for a batch of variable length sequences, the building time of static_rnn is longer, but it runs faster.结论,对于一个batch的变长的序列,static_rnn建图的时候慢,但跑的时候快。In the beginning, I thought static_rnn is...

2018-02-12 11:42:51 316

原创 ubuntu 里 matlab VideoReader 读取视频

当视频是mpg或者MP4的时候,matlab就读取不了。matlab是用gstreamer-0.10来解码视频的。自己手动安装gstreamer-0.10.36.tar.xzgst-ffmpeg-0.10.13.tar.bz2gst-plugins-base-0.10.36.tar.xzgst-plugins-good-0.10.31.tar.x

2017-02-14 08:54:49 1463 1

转载 ssh 无密码登陆 openwrt

首先 ssh-keygen,生成id_rsa和id_rsa.pub.前面的是私钥,后面的是公钥。把公钥放到ssh服务器上,私钥在自己的.ssh目录地下,就可以登陆。for linux,公钥放在.ssh/authorized_keys.可以用ssh-copy-key命令for openwrt,公钥放在/etc/dropbear/authorized_keys.

2016-10-21 09:27:26 1897

原创 kde settings

1 application appearance 调字体2, desktop setting,layout 文件夹

2016-04-14 03:57:40 638

原创 kde下eclipse 4.5 显示问题

有的窗口显示不出来,有的显示黑底黑字,字就看不到了。去system settings > application appearance > gtk > select gtk3 theme改成其它的就好了。

2016-01-15 11:09:51 633

原创 ipython 启动执行

把想执行的放到~/.ipython/profile_default/startup

2015-11-06 01:12:18 1198

原创 How to make Killer 1535 work in ubuntu

I have tried to install the driver for killer 1535 wifi for more than one day.Finally, it works now.I used ubuntu 15.10 because its kernel version high. But I think backports with the kern

2015-10-18 08:10:44 3411 4

原创 ubuntu rc.local 不能添加路由

在rc.local里写route命令,没效果,以为系统问题,脚本没执行原来是dhcp的时间比较长,dhcp到ip后把路由给冲掉了。解决办法就是在rc.local里加上sleep 1m.

2015-06-25 16:48:47 1440

转载 chrome 删除地址栏历史

地址栏中高亮你要删除的网址,按shift+delete就可以了

2015-06-23 20:18:33 3087

原创 ubuntu 14.04 xdmcp

创建/etc/lightdm/lightdm.conf[XDMCPServer]enabled=true然后sudo apt-get install xfce4,选多的那个就能用了。

2015-06-09 15:43:24 1872

原创 torch学习笔记

[Tensor] narrow(dim, index, size)    第dim维上index开始的size个数

2015-06-08 11:11:04 571

原创 opencv判断图片是彩色还是灰度

可能问题太简单,大家都没回答的,谷歌搜到的第一个答案太扯了,这来写一遍。Mat a=imread("xxx.jpg",-1);a.channels()==1   就是灰度

2015-04-08 18:01:35 17343 5

原创 openwrt 笔记

1

2014-11-03 15:48:59 553

原创 google codejam 汇总

Practice Contests——Practice Problems

2014-09-15 11:04:42 777

原创 windows使用笔记

创建符号链接mklink /D .\LDCDIST h:\LDCDIST

2014-09-07 15:59:47 477

原创 libsvm分布式并行调参

grid.py里面有两个参数ssh_workers = []nr_local_worker = 1第一个是远程s

2014-08-14 22:57:40 1840

原创 实验室linux服务器使用

1,联系猴震添加账号2,安装putty

2014-08-09 11:46:18 1721

原创 centos安装caffe

首先,安装显卡驱动http://jingyan.baidu.com/article/9f63fb91d7e6b5c8400f0e0c.html

2014-07-18 16:47:58 2079

原创 simpy 10 分钟简介

今天把https://simpy.readthedocs.org/en/latest/simpy_intro/index.html里的简介搬运过来。

2014-07-10 11:17:27 6575

原创 64位fedora,centos,redhat安装 opencv+ffmpeg

ffmpeg./configure --enable-shared --enable-pic

2014-06-21 16:44:05 755

原创 windows 下编译 nrbm

nrbm(Regularized Bundle Methods for Convex and Non-Convex Risks)是[1].Do, T. and T. Arti E Res. Large Margin Training for Hidden Markov Models with Partially Observed States. in ICML '09. 2009. New Y

2014-05-28 13:37:18 827

原创 Google Codejam 2009 Round 2

https://code.google.com/codejam/contest/204113/dashboard#s=p1小的case是暴sou

2014-05-11 08:58:24 482

原创 必应词典android版的一个bug

手机是nexus 4,必应词典的单词本的滚动条dianbuda

2014-04-21 15:10:12 871

原创 codejam 2008 Qualification Round

https://code.google.com/codejam/contest/32013/dashboard

2014-04-20 10:10:40 436

原创 codejam 2008 practice Contest

https://code.google.com/codejam/contest/32004/dashboard三个题A

2014-04-19 14:41:24 646

原创 Code jam beta 2008

https://code.google.com/codejam/contest/32014/dashboard四个题

2014-04-19 14:13:22 433

原创 最近点对,zoj 2107,hdu1007

今天看《计算机算法设计与分析》第二版里的最近点对,按着写了,可以过hud

2014-04-15 20:52:45 460

原创 codejam 2008 practice problems

今年毕业,5月的codejam希望能够取得好点的成绩。四个题https://code.google.com/codejam/contest/32003/dashboardA Alien Numbers,进制转换,没啥好说的。B Always Turn Left,走迷宫的模拟。如果往前走,当前位置左边有墙,往右走就是左边前边有墙。记得迷宫的边界是有墙的,有

2014-02-14 11:33:41 626

原创 windows server 2008 R2 部署服务WDS 网络安装Win7

假期回家没带碟包,家里有一台电脑要装系统,u盘只2G大,就尝试一下虚拟机里面装个server配部署服务。先试的2003 sp2,这个系统配置的时候跟网上的教程不一样。感觉网上的教程应该是2003不带sp的。最后配的只能装xp,03这样的系统。然后下了一个2008 sp2.现在看来这个版本最坑爹。2008,2008sp1,2008sp2都是vista对应的server系统。这

2014-01-25 17:15:50 4071

原创 wrod中的公式字体

latex里的公式字体,f是有尾巴的,找了半天,这个字体 Vijaya 最像。

2013-12-14 21:19:00 609

原创 google codejam Round 1C 2013 The Great Wall

题意就不写了,小的input,就是个模拟。大的可以把区间离散化,或者用线段树。线段树每个区间记录一个low值就可以。下面是代码:#include #include #include #include #include #define min(a,b) ((a) < (b) ? (a) : (b)) #define max(a,b) ((a)

2013-10-21 08:48:46 790

原创 co-training学习

Blum, A. and T. Mitchell (1998). Combining labeled and unlabeled data with co-training. COLT' 98, New York, NY, USA, ACM.The paper has been cited over 1000 times, and received the 10 years Best Pape

2013-10-12 08:53:28 1866

转载 如何下载videolectures的视频

有两篇可以参考http://songuke.blogspot.com/2012/03/videolecturesnet-rtmp-streaming-url.htmlhttp://northcamel.com/download-video-in-videolectures/本来用IDM的,不过IDM老是时不时的不好用。现在用的办法就是查看网页的源码,把下面三部分拼起来,

2013-10-11 11:17:38 2276 1

转载 ubuntu 图形界面无法登录

那天登录的时候,输入密码,回车,闪一下,又回到登录界面来。最后把.Xauthority加上当前用户的权限,就好了。

2013-06-27 20:07:55 818

andrew ng 清华报告 ppt

andrew ng 清华报告 ppt. deep learning

2014-07-20

Building Software for Simulation

Building Software for Simulation

2014-07-03

空空如也

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

TA关注的人

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