본문 바로가기

Object detection

Linux onnxruntime 1.13.1 설치

https://github.com/microsoft/onnxruntime/releases/tag/v1.13.1

 

Release ONNX Runtime v1.13.1 · microsoft/onnxruntime

Announcements Security issues addressed by this release A protobuf security issue CVE-2022-1941 that impact users who load ONNX models from untrusted sources, for example, a deep learning inferen...

github.com

 

1. 본인의 컴퓨터에 맞는 바이너리 파일을 다운

ex. onnxruntime-linux-x64-gpu-1.13.1.tgz

 

2. 압축을 풀고 빌드 파일을 만들어 사용 

ex. bazel build file 

load("@rules_cc//cc:defs.bzl", "cc_library")
package(default_visibility = ["//visibility:public"])
licenses(["notice"])

cc_library(
    name = "onnxruntime_13",
    srcs = select(["lib/libonnxruntime.so",
                          "lib/libonnxruntime.so.1.13.1",]),
    hdrs = [
        "include/cpu_provider_factory.h",
        "include/onnxruntime_c_api.h",
        "include/onnxruntime_cxx_api.h",
        "include/onnxruntime_cxx_inline.h",
        "include/onnxruntime_run_options_config_keys.h",
        "include/onnxruntime_session_options_config_keys.h",
        "include/provider_options.h",
    ],
)

'Object detection' 카테고리의 다른 글

YOLOv7  (0) 2022.12.05
Ensemble strategies  (0) 2022.11.27
Shell script command - sed  (0) 2022.11.26
Github branch & sh 파일 & argparse 만들기  (0) 2022.11.21
FPN  (0) 2022.11.17