본문 바로가기

전체 글

(77)
Ubuntu, ROCm, AMD GPU 설치 및 제거 Ubuntu 20.04, 5.15.0-53-generic 에 설치 1. rocm 제거 # 패키지 제거 sudo amdgpu-uninstall sudo apt autoremove amdgpu-dkms sudo apt-get purge amdgpu-install # 파일 제거 sudo rm /etc/apt/sources.list.d/rocm* sudo rm /etc/apt/sources.list.d/amdgpu* # 캐쉬 제거 sudo rm -rf /var/cache/apt/* sudo apt-get clean all 이후 재부팅 2. rocm 설치 2-1. package download sudo apt-get update wget https://repo.radeon.com/amdgpu-install/5.4..
Windows, OpenVINO 설치하기 내장 그래픽이 포함된 Intel CPU 사용을 가정 참고글 Install OpenVINO™ Runtime on Windows — OpenVINO™ documentation — Version(2022.2) Install OpenVINO™ Runtime on Windows — OpenVINO™ documentation Documentation navigation docs.openvino.ai pip 설치 방법과 archive 설치 방법을 정리 PIP 설치 방법 1. 가상환경 python venv 또는 conda venv를 사용하여 openvino를 설치할 가상환경 설정 (아나콘다 설치는 생략, 다운로드 링크:Miniconda — conda documentation) # conda 기준 conda create..
좋은 정보 포털 모음 무료강좌 edwith 에듀케이션위드 : edwith 에드위드(edwith)는 네이버(NAVER)와 네이버 커넥트재단(NAVER Connect)이 제공하는 온라인 강좌(MOOC : Massive Online Open Course) 교육 플랫폼입니다. 에듀케이션위드(education with) 에드위드(edwith)로 분야별 명 www.edwith.org 온라인교육 (kisti.re.kr) 과학데이터교육센터 KACADEMY 과학기술 및 산업분야에서 경쟁력을 가진 전문인력을 양성하는 국내최고의 데이터 & HPC 교육기관 과학데이터교육센터 KACADEMY입니다. kacademy.kisti.re.kr 보고서 한국과학기술정보연구원 | 연구보고서 | 연구보고서 | 한국과학기술정보연구원 (kisti.re.kr) 한국과..
OpenVINO, intel 내장 그래픽, 사용 model inference 하기 Ubuntu 20.04 OpenVINO 2022.2 이전 글 (Pytorch model을 ONNX로, ONNX를 openVINO로 변환하기 (tistory.com) 에서 변환해서 저장한 이미지 분류모델을 OpenVINO를 사용해서 돌려(추론)보자 1. package import, normalize 함수 정의 및 추론할 데이터 경로 정 import cv2 import matplotlib.pyplot as plt import numpy as np from openvino.runtime import Core import time import os def normalize(image: np.ndarray) -> np.ndarray: """ Normalize the image to the given mean an..
이미지 분류모델 비디오에 적용하기 + 이동평균 작업내용 이미지 분류를 위해 학습/준비된 모델을 비디오에 적용 이동평균(moving average)을 적용하여, frame 5장에 대한 inference probability의 평균이 0.5 이상일때, True로 표시하도록 조절 참고한글: Video classification with Keras and Deep Learning - PyImageSearch Video classification with Keras and Deep Learning - PyImageSearch In this tutorial, you will learn how to perform video classification using Keras, Python, and Deep Learning. pyimagesearch.com 1. pa..
Ubuntu, TensorRT 설치 Ubuntu 20.04 Nvidia graphic driver version: 515.65.01 CUDA version: 11.6 Cudnn version: 8.4.1 먼저 deb 파일로 설치를 시도했으나, 아래의 글과 같이 호환성 에러가 발생하여 TAR 패키지(8.4.3.1버전)로 설치하였다. TensorRT8.4.0+cuda11.6 install failure - Deep Learning (Training & Inference) / TensorRT - NVIDIA Developer Forums TensorRT8.4.0+cuda11.6 install failure Description A clear and concise description of the bug or issue. Environment T..
Ubuntu, torch-tensorrt 설치 및 사용 Ubuntu 20.04 Nvidia graphic driver version: 515.65.01 CUDA version: 11.6 Cudnn version: 8.4.1 1. 주의할점 pip 명령줄 한줄이면 설치가 되나, CUDA, cudnn, torch, torchivision, torchaudio, 그리고 마지막 torch-tensorrt 의 버전이 모두 맞아야 작동한다. 또한, 설치가 꼬였을때, torch, torchvision, torchaudio, torch-tensorrt 모두 지웠다가 새로 설치를 해야한다. (CUDA, cudnn은 그대로 둬도 된다) 2. torch 설치 현재 torch 1.13 버전이 배포되고 있으나, 에러가 발생하여 1.12.1 버전으로 진행 공식 링크(Previous P..
Ubuntu, OpenVINO 설치하기 Ubuntu 20.04에서 작업 참고한 링크: Install OpenVINO™ Runtime on Linux from an Archive File — OpenVINO™ documentation — Version(nightly) Install OpenVINO™ Runtime on Linux from an Archive File — OpenVINO™ documentation To enable the toolkit components to use processor graphics (GPU) on your system, follow the steps in GPU Setup Guide. To perform inference on Intel® Neural Compute Stick 2 powered by the In..