Skip to content

UserWarning: DWPose: Onnxruntime not found or doesn't come with acceleration providers #3

@gordon123

Description

@gordon123

1) ถอนของเดิม (กันชนกัน)

python -m pip uninstall -y onnxruntime onnxruntime-gpu

2) ลง onnxruntime-gpu สำหรับ CUDA 12 (ใช้ feed ของ ORT CUDA 12)

python -m pip install -U onnxruntime-gpu --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/

3) เช็คว่าเห็น provider อะไรบ้าง

python - <<'PY'
import onnxruntime as ort
print("ORT:", ort.version)
print("Providers:", ort.get_available_providers())
PY

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions