Tekstit

Näytetään blogitekstit, joiden ajankohta on joulukuu, 2017.

Installing and running Dlib on Ubuntu 16.04

Kuva
First I installed the dependencies (always local installation if possible) and then DLIB itself in roughly the following order: CUDA  Installed the latest CUDA by following the instructions in http://docs.nvidia.com/cuda/ . I used the network installation for Ubuntu 16.04 where everything is installed by typing $ sudo apt-get install cuda I rebooted my Linux and after that CUDA examples compiled and everything seemed working OK. cuDNN Enabling CUDA with dlib requires this NVidia extension and for that I registered as a developer, downloaded the Ubuntu 16.04 tar ball from  https://developer.nvidia.com/rdp/cudnn-download and installed it to the local directory (tar ball contains shares libraries and header files). OpenCV I downloaded the most recent source packages from  https://www.opencv.org/ and made a local installation (for that I changed the CMAKE_INSTALL_PREFIX). DLIB I followed the instructions in  http://dlib.net and the only difference ...

Compiling and running Deep Pyramid Deformable Part Model (DP-DPM) in Ubuntu 16.04.3 LTS

The starting point is the Girshick's DP-DPM Github repository at https://github.com/rbgirshick/dp-dpm The repo has not been updated since 2015 and many of the libraries it uses may have been changed. Below some hacks to make it compile and run the main demo. Caffe DP-DPM recursively fetches the correct version of Caffe through git, but for installation you need to use old version of the installation instructions: https://github.com/BVLC/caffe/blob/cd0eda338e59e15b833e601061a493fd975e2ee3/docs/installation.md Many of the above are available via Ubuntu main repositories and seem to work: sudo apt-get install protobuf-compiler  sudo apt-get install libgflags-dev  sudo apt-get install libgoogle-glog-dev  sudo apt-get install libleveldb-dev  sudo apt-get install liblmdb-dev  sudo apt-get install libsnappy-dev sudo apt-get install libhdf5-serial-dev  sudo apt-get install libhdf5-dev  sudo apt-get install libatlas-dev sudo apt-get insta...