tutorials
tutorials copied to clipboard
Tutorials for creating and using ONNX models
In step 3, cell 2, either my model loading is failing silently, or the documentation is outdated. When I run this code, my `tf_rep` is a different object, and has...
when I try to transfer my model in pytorch to caffe2, I read the official demo code: `import onnx` `model = onnx.load("super_resolution.onnx")` `prepared_backend = onnx_caffe2_backend.prepare(model)` `W = {model.graph.input[0].name: x.data.numpy()}` `c2_out...
Why is the value from the Keras different from the value from the onnx model? I don't know why. Please help me.
i had tested this demo on my cpu machine, and i modify the `model_zoo.load_url(model_url, map_location='cpu')` with cpu model load, but the reuslt `np.testing.assert_almost_equal(torch_out.data.cpu().numpy(), c2_out, decimal=3)` shows: (mismatch 99.89082872732426%) x: array([-0.047,...
I tried to convert the pytorch model to .onnx and then .mlmodel using object-c. The generated model is Cany.mlmodel. When I building the project, it raised the error No visible...
I am trying to convert an onnx model to caffe2 but I got the following error: > RuntimeError Traceback (most recent call last) > in > ----> 1 caffe2.python.onnx.backend.prepare(onnx_model, device="CPU")...
I have developed a model on Matlab and saved it using the onnx framework. The size of the model is 25 MB. I am currently trying to move this model...
My ONNX model has multiple outputs. When converting from ONNX to CoreML, I receive an error that says ``` TypeError: Error while converting op of type: Softmax. Error message: Unsupported...
This issue is for master/examples/CoreML/ONNXLive Apparently, in previous versions a shell script was used to download the models which is now a python script. So "./download_saved_models.sh" should be "python download_saved_models.py"....