-
onnx docker 사용하기Linux Basic 2023. 7. 16. 02:34
특정 onnx runtime을 사용할때 도커 환경이 필요하다.
이때 도커를 사용하는것이 좋은것 같다.
아래 사이트에서
https://github.com/microsoft/onnxruntime/tree/main/dockerfiles#cuda
이렇게 치면 도커가 설치됨.
sudo docker build -t onnxruntime-cuda -f ./dockerfiles/Dockerfile.cuda .
도커 명령어 모음. http://jmlim.github.io/docker/2019/02/24/docker-command/
버전 확인 https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.htmlNVIDIA - CUDA
Instructions to execute ONNX Runtime applications with CUDA
onnxruntime.ai
ort 버전 https://onnxruntime.ai/docs/performance/model-optimizations/ort-format-models.html
ORT model format
Define the ORT format and show how to convert an ONNX model to ORT format to run on mobile or web
onnxruntime.ai
https://github.com/aliyasineser/stereoDepth/blob/master/stereo_depth.py
반응형'Linux Basic' 카테고리의 다른 글
gcc & LD_PRELOAD & 동적 라이브러리 & makefile -2 (0) 2024.04.29 gcc & 정적 라이브러리 & 동적 라이브러리 & makefile - 1 (0) 2024.04.27 cmake on linux (2) 2023.09.17 ONNX 무작정 따라하기 (2) 2023.07.16 LD_PRELOAD (3) 2023.02.26