onnxruntime Questions
5
import onnxruntime as rt
ort_session = rt.InferenceSession(
"my_model.onnx",
providers=["CUDAExecutionProvider"],
)
onnxruntime (onnxruntime-gpu 1.13.1) works (in Jupyter VsC...
Monomolecular asked 28/1, 2023 at 11:55
0
I am trying to perform inference with the onnxruntime-gpu. Therefore, I installed CUDA, CUDNN and onnxruntime-gpu on my system, and checked that my GPU was compatible (versions listed below).
When ...
Featherstone asked 31/1, 2023 at 8:50
1
ERROR: Could not find a version that satisfies the requirement onnxruntime (from versions: none)
ERROR: No matching distribution found for onnxruntime
Million asked 5/5, 2022 at 12:20
2
Solved
I'm trying to accelerate my model's performance by converting it to OnnxRuntime. However, I'm getting weird results, when trying to measure inference time.
While running only 1 iteration OnnxRuntim...
Matterhorn asked 25/1, 2022 at 7:42
1
Solved
I can't find anyone who explains to a layman how to load an onnx model into a python script, then use that model to make a prediction when fed an image. All I could find were these lines of code:
s...
Rouse asked 26/2, 2022 at 20:13
2
I was comparing the inference times for an input using pytorch and onnxruntime and I find that onnxruntime is actually slower on GPU while being significantly faster on CPU
I was tryng this on Wind...
Jetta asked 17/1, 2022 at 11:3
3
I'm trying to run an ONNX model
import onnxruntime as ort
import onnxruntime.backend
model_path = "model.onnx"
#https://microsoft.github.io/onnxruntime/
ort_sess = ort.InferenceSession(m...
Fusion asked 20/10, 2020 at 19:23
1
Solved
I have Pytorch model.pth using Detectron2's COCO Object Detection Baselines pretrained model R50-FPN.
I am trying to convert the .pth model to onnx.
My code is as follows.
import io
import numpy as...
Tightlipped asked 31/10, 2020 at 15:19
1
Solved
I am using Microsoft OnnxRuntime to detect and classify objects in images and I want to apply it to real-time video. To do that, I have to convert each frame into an OnnxRuntime Tensor. Right now I...
Forbade asked 19/6, 2020 at 12:54
1
Solved
Using ONNX Runtime to run inference on deep learning models. Lets say I have 4 different models, each with its own input image, can I run them in parallel in 4 threads? Would there be one "environm...
Kim asked 17/4, 2020 at 21:49
1
© 2022 - 2024 — McMap. All rights reserved.