Fork me on GitHub

  2014年2月21日
摘要: cd pycudapython ./configure.py –cuda-root=/usr/local/cuda –cudadrv-lib-dir=/usr/lib –boost-inc-dir=/usr/include –boost-lib-dir=/usr/lib –boost-python-libname=boost_python-mt26 –boost-thread-libname=boost_thread-mtmake -j 4sudo python setup.py install 阅读全文
posted @ 2014-02-21 22:31 huashiyiqike 阅读(1423) 评论(0) 推荐(0) 编辑
摘要: 1 from scipy import io2 dataset = io.loadmat("a.mat")3 exclude = ['__globals__', '__header__', '__version__']4 for obj in dataset.keys():5 if obj not in exclude:6 print obj+'=dataset["'+obj+'"]'7 exec(obj+'=dataset["'+obj+' 阅读全文
posted @ 2014-02-21 17:12 huashiyiqike 阅读(3255) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install eclipse下载pydev for eclipse 2.8,如果是jre6解压。sudo nautilus 复制相应的文件夹到/usr/share/eclipse/dropins/对应的 features 和plugin文件夹里面查找安装目录find / ... 阅读全文
posted @ 2014-02-21 14:58 huashiyiqike 阅读(239) 评论(0) 推荐(0) 编辑