반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- humble
- 궤환 선형화
- 우분투
- lateral dynamics
- 보드선도
- 경로계획
- RL
- 백스테핑
- 나이퀴스트선도
- 자동제어
- feedback linearization
- Isaac Sim
- ROS2
- control
- 강화학습
- ros2humble
- 2024적금
- 차량 동역학
- 제어공학
- FL
- Backstepping
- Python
- 터미널 오류
- 러닝 #운동 #동기부여
- #! /usr/bin/env python
- 비선형제어
- 궤환선형화
- 횡방향 동역학
- 오류
- 나이퀴스트
Archives
- Today
- Total
내 머릿속
[YOLO Project 1] YOLOv5 ROS Install 본문
728x90
반응형
SMALL
1. YOLOv5 Package Install
cd <ros_workspace>/src
git clone https://github.com/mats-robotics/detection_msgs.git
git clone --recurse-submodules https://github.com/mats-robotics/yolov5_ros.git
cd yolov5_ros/src/yolov5
pip install -r requirements.txt # install the requirements for yolov5
2. Build Package
cd <ros_workspace>
catkin build yolov5_ros # build the ROS package
cd <ros_workspace>/src/yolov5_ros/src
chmod +x detect.py
3. CUDA Install
CUDA Toolkit 11.7 Downloads
Get the latest feature updates to NVIDIA's proprietary compute stack.
developer.nvidia.com
3.1 If u fail to install with run file.
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-ubuntu2004-11-8-local_11.8.0-520.61.05-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2004-11-8-local_11.8.0-520.61.05-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2004-11-8-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda
Use deb(local) file to install
4. Fix ~/.bashrc
export PATH="/usr/local/cuda-11.3/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda-11.3/lib64:$LD_LIBRARY_PATH"
5. Check CUDA Version
-nvcc V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
6. Nvidia Dirver install
ex) 510
728x90
반응형
LIST