スキップしてメイン コンテンツに移動

[Development] Ubuntu 16.04 Setting

** Ubuntu 16.04 **

Issue1.
CUDA8.0을 인스톨 한 후 cuDNN을 설치할 때 에러가 발생하는 경우 기존의 그래픽 드라이버를 업데이트 해주면 제대로 설치된다. (NVIDA 378.13으로 업데이트 했다.)

Issue2.
How to run pip of different version of python using python command?
sudo python2.7 -m pip install [package name]
 

1. cuda8.0 + cudnn 5.1
   1.1 How To Install The Latest Nvidia Drivers In Ubuntu or Linux Mint Via PPA

2. Ubuntu 16.04 LTSにOpenCV2.4.13をインストール 
    2.1. Ubuntu Desktop 16.04上で、OpenCV3.1.0をビルドする
    2.2. Ubuntu 16.04 or 15.10 OpenCV 3.1 Installation Guide
        2.2.1. cudalegacy not compile -- nppiGraphcut missing
        2.2.2. compiling code with opencv - /usr/bin/ld: cannot find -lippicv
        2.2.3. OpenCV 3.1.0 build deb package for Ubuntu 16.04 from source
    2.3. OpenCV 3 on Ubuntu 16.04 with either Python 2.7 or Python 3.5 bindings

3. YOLO: Real-Time Object Detection
   3.1. 【Darknet】リアルタイムオブジェクト認識 YOLOをTensorflowで試す

4. ROS(Kinetic Kame) install 
   4.1. Installing catkin 
   4.2. Creating workspace for catkin 
   4.3. How to install QT 5.6.1 on Ubuntu 16.04. 
   4.4. QtCreatorでROSのパッケージをビルド&デバッグ実行する

5. ORB-SLAM2
   5.1. Pangolin 
       5.1.1. GLEW package missing?
   5.2. Eigen3.3.3 install 
       5.2.1. eigen3をインストール
   5.3. makefile: 83: recipe for target 'all' failed, trying to build ORB-SLAM2 #254 
   5.4. ROS_PACKAGE_PATH issue. Need help in setting .bashrc

6. Camera
   6.1. Stereolabs ZED Camera - ROS Integration
   6.2. Intel realsense github 
          RealSenseのROSを動かしてみました
          ROS realsense camera
          Building RealSense Camera from Sources

7. rtabmap_ros
   7.1. Stereo Hand-Held Mapping

8. TensorFlow
   8.1. Installing TensorFlow on Ubuntu 
   8.2. python-qt5
   8.3. Anaconda 4.3.1

8. Caffe
   9.1. Integration with the Caffe
   9.2. Installation of BVLC/Caffe on Ubuntu 16.04 
   9.3. ImportError: No module named google.protobuf.internal
   9.4. ImportError: No module named skimage.io
   9.5. SSD: Single Shot MultiBox Detector
       9.5.1. SSD(Single Shot MultiBox Detector)を試す

9. Simple Screen Recorder 

10. Implementation of SegNet
   10.1. SegNetをUbuntuで試してみた 
   10.2. Caffe SegNet cuDNN5

11. IDE
   11.1. Running VS Code on Linux
   11.2. ROS開発にPyCharmやCLionを使う際のTips
   11.3. ROS Qt Creator Plug-in wiki
        11.3.1. ROS QT Creator Plugin Tutorial Creating a Catkin Workspace

12. OpenAI
   12.1. OpenAI Gym
   12.2. GLIBCXX_3.4.20 not found, how to fix this error?
   12.3. `GLIBCXX_3.4.20' not found while using atari environments

13. Anaconda
   13.1. Installing opencv 3.1 with anaconda python3?
   13.2. PYTHON 3.5 SUPPORT IN ANACONDA
   13.3. OpenCV 3(core + contrib)をWindows & Python 3の環境にインストール&OpenCV 2とOpenCV 3の違い&簡単な動作チェック

14. Kvasar can-bus
   14.1. Running Python wrapper on Linux
   14.2. Linux Drivers and SDK

コメント

このブログの人気の投稿

[참고] ROS kinetic에서 WebCam 사용하기 (Ubuntu 16.04)

Reference: 1. https://github.com/bosch-ros-pkg/usb_cam/issues/53  2. http://zumashi.blogspot.jp/2016/12/ros-kinetic-usb-cam.html  3. http://cafe.naver.com/openrt/5963 위의 사이트들을 참고하여 ROS Kinetic에서 Logitech WebCam C270의 동작을 확인했습니다. $ cd ~/catkin_ws/src $ git clone https://github.com/bosch-ros-pkg/usb-cam.git $ cd .. $ catkin_make WebCam test $ roscore $ rosrun usb_cam usb_cam_node $ rosrun image_view image_view image:=/usb_cam/image_raw $ rosrun rviz rviz 1) By display type>rviz>image 2) Image topic: /usb_cam/image_raw --> 왼쪽 하단과 같이 WebCam이 잘 동작하는 것을 확인했습니다.

[vscode] TImeout waiting for debugger connection

이제까지 잘 동작하던 비주얼 스튜디오 코드가 위와 같은 에러 메세지를 내면서 갑자기 디버깅이 안되서 인터넷을 검색한 결과.. vscode의 User Setting에서 검색창에 python.terminal.activateEnvironment을 입력하여 true로 설정되어 있는 값을 false로 변환하면 된다. 

Anaconda을 이용하여 ROS + Tensorflow 함께 사용하기

-- CUDA, cuDNN 버전확인 https://stackoverflow.com/questions/41714757/how-to-find-cuda-version-in-ubuntu/42122965 $ nvcc --version cuda8.0, cudnn6.0 -- 아나콘다 python2.7 버전 인스톨 https://www.anaconda.com/download/#linux python3.x이랑 ROS 같이 써보려고 했는데, 아직 실력이 부족해서 그런지 실패.. $ bash Anaconda2-5.3.0-Linux-x86_64.sh $ source ~/.bashrc $ python -V Python 2.7.15 :: Anaconda, Inc. $ conda create -n tf14 pip python=2.7 $ source activate tf14 -- ROS 관련 패키지 인스톨 (tf14) $ pip install --upgrade pip (tf14) $ pip install -U rosinstall msgpack empy defusedxml netifaces --CUDA, cuDNN, CPU/GPU을 사양에 맞춰서 tensorflow download https://github.com/mind/wheels#mkl (tf14) $ pip install tensorflow-1.4.0-cp27-cp27mu-linux_x86_64.whl 잘 설치가 되었는지 Hello, tensorflow 실행 (tf14) $ python Python 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 23:32:55) [GCC 7.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> i