zoukankan      html  css  js  c++  java
  • ubuntu 14.04 Bob 安装

    1. 附件依赖项安装
    $ sudo add-apt-repository ppa:biometrics/bob $ sudo apt-get update $ sudo apt-get install wget git-core pkg-config cmake python-dev python-support liblapack-dev libatlas-base-dev libblitz1-dev libavformat-dev libavcodec-dev libswscale-dev libboost-all-dev libmatio-dev libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev libhdf5-serial-dev libfftw3-dev texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended libsvm-dev libvl-dev dvipng python-numpy python-scipy dvipng libopencv-dev gcc g++ make

    2.安装python依赖项
    $ sudo apt-get install python-argparse python-matplotlib python-tornado python-sqlalchemy python-sphinx python-nose python-setuptools python-imaging ipython python-ipdb
    
    3..使用buildout安装
    $ mkdir exp01
    $ cd exp01
    $
    wget https://bootstrap.pypa.io/bootstrap-buildout.py
    Create buildout.cfg file, in the same folder as bootstrap-buildout.py. The contents will depend on which Bob packages you would like to work with, but it generally looks like this:
    [buildout]
    parts = scripts
    extensions = bob.buildout
    prefer-final = false
    ; use prefer-final = false **only** to get betas and pre-releases
    eggs = bob.io.image
           bob.learn.linear
    
    ; options for bob.buildout
    debug = false
    ; debug = false will compile bob packages in release mode
    verbose = true
    newest = false
    ; newest = false to avoid re-installing new versions of packages
    
    [scripts]
    recipe = bob.buildout:scripts
    dependent-scripts = true


    4. 安装
    $ python bootstrap-buildout.py $ ./bin/buildout

    5. 测试
    $ ./bin/python
    ...
    >>> import bob.io.image
    >>> print(bob.io.image.get_config())
    ...
    >>> import bob.learn.linear
    >>> print(bob.learn.linear.get_config())
    ...
     



  • 相关阅读:
    struts总结
    struts的MVC详细实现
    struts的由来
    Hibernate的搭建及使用
    Hibernate简介
    泛型
    eclipse手动添加源码
    beanUtils操作bean的属性
    ref:JAVA之Forward和Redirect的区别
    ref:下一个项目为什么要用 SLF4J
  • 原文地址:https://www.cnblogs.com/txg198955/p/5992491.html
Copyright © 2011-2022 走看看