• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

amueller/damascene-python-and-matlab-bindings: Python and matlab bindings for th ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

amueller/damascene-python-and-matlab-bindings

开源软件地址(OpenSource Url):

https://github.com/amueller/damascene-python-and-matlab-bindings

开源编程语言(OpenSource Language):

C++ 72.8%

开源软件介绍(OpenSource Introduction):

Damascene

GPU gPb image segmentation.

Basic install task list on ubuntu 16.04:

  • Install cuda 8.0
  • Install gcc-5
  • Install Lapack
  • Run cmake and build libdamascene.so
  • Build the python bindings
  • ... start GPU segmenting

Install CUDA

This assumes you have installed the proprietary nvidia drivers for ubuntu. (although I think the cuda install process may take care of that).

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
sudo apt-get update
sudo sudo apt-get install cuda

The above download link is for cuda 8.0 on ubuntu 16.04. Other versions are available here: https://developer.nvidia.com/cuda-downloads

Install gcc-5

sudo apt-get install gcc-5 g++-5

Note. Ubuntu 16.04 installs gcc-6 as its default gcc compiler. Cuda 8.0 requires that a max version of 5 is used. Later in the process we will set an environment variable to instruct cmake is use gcc-5

Install Lapack

sudo apt-get install liblapack-dev

Run cmake and install libdamascene

Start from the root of the checked out directory.

mkdir build
cd build
CC=/usr/bin/gcc-5 cmake .. -DACMLPATH=/usr/local/acml
make -j`cat /proc/cpuinfo | grep MHz | wc -l`
sudo make install

Build and install the python bindings

Start from the root of the checked out directory

sudo apt-get install python-pip python-numpy
sudo pip install cython
cd bindings
sudo python setup.py install

...start GPU segmenting

sudo apt-get install python-imaging
sudo apt-get install python-tk
sudo pip install matplotlib
python example.py



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Noiredd/PEGAS-MATLAB: MATLAB prototype code for PEGAS发布时间:2022-08-17
下一篇:
aebergl/MatSurv: Survival analysis in MATLAB发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap