Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is the console messed up when using onnxruntime.InferenceSession? #23270

Open
Septemberlemon opened this issue Jan 7, 2025 · 0 comments
Open

Comments

@Septemberlemon
Copy link

Septemberlemon commented Jan 7, 2025

Describe the issue

I've installed onnxruntim-gpu with pip, then I run the code like:

import onnxruntime

sess = onnxruntime.InferenceSession("checkpoint1.onnx", providers=["CUDAExecutionProvider"])

Then the console comes up with a bunch of gibberish, what caused that and how can I solve it?
Image

To reproduce

I use python 3.11.3, just run the code above, then I'll meet the issue

Urgency

No response

Platform

Windows

OS Version

win10 profession 22h2

ONNX Runtime Installation

Other / Unknown

ONNX Runtime Version or Commit ID

onnxruntime-gpu 1.20.1

ONNX Runtime API

Python

Architecture

X64

Execution Provider

CUDA

Execution Provider Library Version

CUDA 12.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant