tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Tutorials for creating and using ONNX models

Results 113 tutorials issues
Sort by recently updated
recently updated
newest added

tensor_dict will be empty if gen_tensor_dict kwarg is missing

I'm using the PytorchTensorflowMnist.ipynb notebook available [here](https://github.com/onnx/tutorials/blob/master/tutorials/PytorchTensorflowMnist.ipynb). When I run the code below, the prediction is right (the number in the image is 2), but shouldn't the `output` variable be...

question

I followed this tutorial https://github.com/linghu8812/tensorrt_inference I was able to do the conversion, but how can i do inferencing or testing of this converted yolov4x-mish.onnx model?

question

I know people mostly use ONNX for compilation and exporting, but just wondering, is there a tool where people have tried to convert ONNX model back to trainable pytorch codes?...

I think it's a general problem when the input to the functional layer is dynamic. I had a situation where functional avg_pool3d that depended on the shape of the previous...

I'd got a dog image, and I attempt to use a Pytorch model to classify, then convert it to ONNX and to Tensorflow type. I expect to get a same...

question

I got the following error when I converted the pth file to pb file.Can anyone help me,Thanks! ![image](https://user-images.githubusercontent.com/41890971/119305003-adb15e80-bc9a-11eb-8bad-5a79b6972a17.png)

bug

# Ask a Question ### Question I have converted TF model to onnx which contains some unsupported ops with a tool as below; python3 -m tf2onnx.convert --graphdef frozen_model_v2 --output aslfeatv2.onnx...

question

convert from caffe model to tensorflow model tensorflow version 2.1.0 onnx version 1.7.0 Successfully convert from caffe to coreml to onnx using [caffe2onnx](https://github.com/onnx/onnx-docker/blob/master/onnx-ecosystem/converter_scripts/caffe_coreml_onnx.ipynb) When using [onnx2tensorflow](https://github.com/onnx/tutorials/blob/master/tutorials/OnnxTensorflowImport.ipynb), i got the error:...

question

# RuntimeError: ONNX export failed: Couldn't export Python operator CrossMapLRN2d ### Question I was trying to convert a pytorch .pth file to an onnx file. There're two CrossMapLRN2d layers in...

question