From 0c880da7e997de45cc46a942f39278d9c46c6821 Mon Sep 17 00:00:00 2001 From: darrelfrancis <20881844+darrelfrancis@users.noreply.github.com> Date: Wed, 25 Dec 2019 17:07:10 +0000 Subject: [PATCH] Fix wrong variable name "myOnnxSession" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b6370bf..4d5f0510 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ This is the most straightforward way to use ONNX.js. The following HTML example // generate model input const inferenceInputs = getInputs(); // execute the model - session.run(inferenceInputs).then(output => { + myOnnxSession.run(inferenceInputs).then(output => { // consume the output const outputTensor = output.values().next().value; console.log(`model output tensor: ${outputTensor.data}.`);