tutorials
tutorials copied to clipboard
Tutorials for creating and using ONNX models
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...
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?
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...
I got the following error when I converted the pth file to pb file.Can anyone help me,Thanks! 
# 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...
onnx.onnx_cpp2py_export.checker.ValidationError: convolution_W in initializer but not in graph input
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:...
# 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...