추론 라이브러리
서버나 HTTP 왕복 없이 inference 패키지로 자신의 Python 프로세스에서 직접 모델을 실행합니다.
설치
pip install inferencepip install --extra-index-url https://download.pytorch.org/whl/cu124 inference-gpupip install inference-models[trt10]모델 실행
from inference import get_model
image = "https://media.roboflow.com/inference/people-walking.jpg"
model = get_model(model_id="rfdetr-small")
results = model.infer(image)결과 시각화
비디오 및 워크플로
더 나아가기
마지막 업데이트
도움이 되었나요?