Questions tagged [onnx]

ONNX is an open format to represent deep learning models and enable interoperability between different frameworks.

ONNX

The Open Neural Network Exchange (ONNX) is an open-source artificial intelligence ecosystem. With ONNX, AI developers can more easily move models between state-of-the-art tools and choose the combination that is best for them. ONNX is widely supported and can be found in many frameworks, tools, and hardware. It is developed and supported by a community of partners.

Official resources

809 questions
-1
votes
2 answers

How to resolve the error "cannot import name 'string_int_label_map_pb2' from 'object_detection.protos'"

My friends and I are partaking in a hackathon and are stuck on this one tutorial on training an object detection model: https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html But after three people have tried to…
Frank R. Haugen
  • 210
  • 3
  • 11
-1
votes
1 answer

Is there anoter way than Barracuda to Run Onnx models in Unity

I am trying to get a onnx model running on the HoloLens using Unity. As I found out I think the way to go would be using Barracuda to import the model. But I am facing the Problem that only 4 Dimensional Tensors are supported and i am using a 5…
Lukas
  • 19
  • 6
-1
votes
1 answer

flutter plugin for running onnx model

My team are developing an app that will involve some on device ML model that are in onnx format. Currently we considering Flutter & React Native. I prefer Flutter but couldn't find any plugin that support running on device onnx model. in RN we could…
Kien Dang
  • 51
  • 1
  • 7
-1
votes
1 answer

Print ONNXRUNTIME::Graph without having Model

I'm working on new optimizer that inherits from GraphTransformer in c++ How can I view the changes that I made, just after ApplyImpl ends I tried graph.ToGraphProto() but I cannot save it And I need to make a new Model to be able to save it and…
Dor marcus
  • 41
  • 5
-1
votes
1 answer

Problem loading Pytourch 3.0 model unexpected key "module.features.0.weight" in state_dict

I am trying to load a model I have trained using Pytorch, but I keep getting the following error: File "convert.py", line 12, in model.load_state_dict(torch.load('model/model_vgg2d_2.pth')) File …
user1322801
  • 839
  • 1
  • 12
  • 27
-1
votes
2 answers

I was trying to run the demo provided in github, but none of them were working. failed to get the assembly reference

Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'LearningModelSession' could not be found (are you missing a using directive or an assembly reference?) MNIST_Demo …
-2
votes
1 answer

Is it possible to use latest triton server version on older version of cuda driver (470) by using cuda-compat 12.1?

For some reason, I didn't update the cuda driver version of my environment, currently using 470.42.01 But I wanted to use the latest triton-influence-server(23.04, Requires NVIDIA CUDA 12.1.0 by default, so I tried something like this: FROM…
聂小涛
  • 503
  • 3
  • 16
-2
votes
2 answers

Onnx inference does not correctly Yolov5

I trained YoloV5 on my custom dataset. I want to inference the trained model in C++ using Opencv (dnn::readnet) so I tried both commands of below: python export.py --data ...\lp.yaml --imgsz 480 --weights best.pt --include onnx python export.py…
Babak.Abad
  • 2,839
  • 10
  • 40
  • 74
-2
votes
2 answers

how to convert an .h5 file into ONNX

I am working on a real time object detection project, I have trained the data and saved the model into .h5 file and then I have red in an article that to load that file to detect object in opecCV you need to convert it in onnx format , but when ever…
-2
votes
1 answer

How do I install pytest on virtualenv when the python package is installed on the local machine and not in the virtualenv?

This is the error I get I am trying to install pytest and nbval for ONNX framework in virtual environment.I have limited memory for the home directory(~/). When i try to change the IPython directory path using the variable $IPYTHONDIR, it indicates…
tank
  • 1
1 2 3
53
54