Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cad65f4 commit c80f4f4Copy full SHA for c80f4f4
1 file changed
tutorials/PytorchOnnxExport.ipynb
@@ -109,7 +109,7 @@
109
"# Obtain your model, it can be also constructed in your script explicitly\n",
110
"model = torchvision.models.alexnet(pretrained=True)\n",
111
"# Invoke export\n",
112
- "torch.onnx.export(model, dummy_input, \"output/alexnet.onnx\")"
+ "torch.onnx.export(model, dummy_input, \"alexnet.onnx\")"
113
]
114
},
115
{
@@ -190,7 +190,7 @@
190
"import onnx\n",
191
"\n",
192
"# Load the ONNX model\n",
193
- "model = onnx.load(\"output/alexnet.onnx\")\n",
+ "model = onnx.load(\"alexnet.onnx\")\n",
194
195
"# Check that the IR is well formed\n",
196
"onnx.checker.check_model(model)\n",
0 commit comments