Update README.md
Browse files
README.md
CHANGED
@@ -74,4 +74,18 @@ python3 test_image.py
|
|
74 |
```
|
75 |
Inference outputs: [array([[0., 1.]], dtype=float32)]
|
76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
|
|
74 |
```
|
75 |
Inference outputs: [array([[0., 1.]], dtype=float32)]
|
76 |
|
77 |
+
# 5. Test ONNX Model JS onnxruntime-node
|
78 |
+
|
79 |
+
update the image path in the code to point to an image to confirm working as expected
|
80 |
+
```
|
81 |
+
node onnxruntime-node
|
82 |
+
```
|
83 |
+
Inference outputs: Tensor {
|
84 |
+
cpuData: Float32Array(2) [ 0, 1 ],
|
85 |
+
dataLocation: 'cpu',
|
86 |
+
type: 'float32',
|
87 |
+
dims: [ 1, 2 ],
|
88 |
+
size: 2
|
89 |
+
}
|
90 |
+
|
91 |
|