티스토리 뷰

개요

TritonClient를 이용해 Triton과 통신을 해보려고 할 때 windows에서 tritonclient를 설치하기가 어려운 경우가 있습니다.

 

다운로드

github.com/triton-inference-server/server/releases

 

Releases · triton-inference-server/server

The Triton Inference Server provides an optimized cloud and edge inferencing solution. - triton-inference-server/server

github.com

Nvidia에서 제공하는 위 git repository로 들어갑니다.

 

스크롤을 내려보면 위 목록이 나옵니다. 맨 위에꺼 tritonserver2.7.0-jetpack4.5.tgz 를 받습니다.

 

열어보면 clients/python에 ~~none-any.whl 파일이 있습니다.

이 파일을 압축 풉니다.

그리고 pip install tritonclient-2.7.0-py3-none-any.whl

 

위 명령을 이용해 설치 해줍니다. 설치 하다보면 python-rapidjson이 없다고 하는데요 이 라이브러리를 설치해주면 설치가 됩니다.

 

image_client.py 실행

python image_client.py를 실행 하면 위 에러가 나는 경우가 있습니다.

 

pip install geventhttpclient 해주면 됩니다.

그리고 실행 하면 에러메세지 없이 옵션을 넣어달라는 메세지가 나옵니다.

 

 

 

 

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
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
글 보관함