tutorials
tutorials copied to clipboard
Tutorials for creating and using ONNX models
The tutorial [CorrectnessVerificationAndPerformanceComparison.ipynb](https://github.com/onnx/tutorials/blob/master/tutorials/CorrectnessVerificationAndPerformanceComparison.ipynb) has an old call to `Caffe2Backend.onnx_graph_to_caffe2_net` which references `onnx_model.graph` instead of just the model `onnx_model` Resulting in the error ``` init_net, predict_net = Caffe2Backend.onnx_graph_to_caffe2_net(onnx_model.graph, device="CPU") File "/opt/DL/pytorch/lib/python2.7/site-packages/caffe2/python/onnx/backend.py",...
getting the following error when running this script ``` ⟩ python tf-train-mnist.py WARNING:tensorflow:From tf-train-mnist.py:125: read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version. Instructions for updating:...
Hi All, I am trying to convert yolo2 pytorch to onnx model and I got: "RuntimeError: Only tuples, lists and Variables supported as JIT inputs, but got dict" This is...
Is ResNet50_ImageNet_CNTK model supported for onnx format? I couldn´t export : "RuntimeError: Node 'Combine: Output('ce', [], []), Output('errs', [], []), Output('top5Errs', [], []), Output('z', [#, ], [1000]) -> Output('ce', [],...
We convert the model to ONNX format using onnx-tensorflow. Using tensorflow_graph_to_onnx_model from onnx-tensorflow API (documentation available at https://github.com/onnx/onnx-tensorflow/blob/master/onnx_tf/doc/API.md) -> The above document gives 404 error. Where to find this document?
I saw that there is a converter for exporting PyTorch models to ONNX format. There also seems to be a converter for TF to import that format. But, in the...
I was running into segmentation fault issue while trying to export onnx model. and the component we use is __Python 3.5.4__ , __torch-0.4.1__, __Ubuntu 14.04__ ```python >>> from torch.autograd import...
run code step by step as OnnxCoremlImport.ipynb , however, it gets error when execute cml = onnx_coreml.convert(model), the error shows that list index out of range in line 347 in...
I have downloaded the dpn.onnx model (dpn stands for Dual Path Network) which was converted from pytorch model trained in server (because my local computer doesn't have any GPU, and...
Form [this page](https://github.com/onnx/tutorials/blob/master/tutorials/OnnxCaffe2Import.ipynb), they say >> onnx-caffe2 has bundled a shell command convert-onnx-to-caffe2 for converting ONNX model file to Caffe2 model file. But I can't find the command even caffe2/onnx(newest...