네이티브 Python API
get_model로 모델을 로드하고, 자체 Python 프로세스에서 이미지에 대해 추론을 실행한 뒤, supervision으로 결과를 시각화합니다.
빠른 시작
pip install inferencepip install --extra-index-url https://download.pytorch.org/whl/cu124 inference-gpu
# 설치된 OS의 CUDA 버전에 맞게 --extra-index-url을 조정하세요from inference import get_model
model = get_model(model_id="rfdetr-large")from inference import get_model
model = get_model(model_id="rfdetr-large")
results = model.infer("people-walking.jpg") # 이미지 경로로 바꿔주세요
다양한 이미지 유형
추론 매개변수
다음 단계
마지막 업데이트
도움이 되었나요?