Skip to content

Commit 2089022

Browse files
authored
Update deploy.md
1 parent fe17602 commit 2089022

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • content/learning-paths/servers-and-cloud-computing/onnx-on-azure

content/learning-paths/servers-and-cloud-computing/onnx-on-azure/deploy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Install Python, create a virtual environment, and use pip to install ONNX, ONNX
1414

1515
```console
1616
sudo apt update
17-
sudo apt install -y python3 python3-pip python3-virtualenv
17+
sudo apt install -y python3 python3-pip python3-virtualenv python3-venv
1818
```
1919
Create and activate a virtual environment:
2020

@@ -39,7 +39,7 @@ Create **version.py** as below:
3939
import onnx
4040
import onnxruntime
4141

42-
print("ONNX version:", onnx.version)
42+
print("ONNX version:", onnx.__version__)
4343
print("ONNX Runtime version:", onnxruntime.__version__)
4444
```
4545
Now, run version.py:
@@ -49,8 +49,8 @@ python3 version.py
4949
```
5050
You should see an output similar to:
5151
```output
52-
ONNX version: 1.18.0
53-
ONNX Runtime version: 1.22.0
52+
ONNX version: 1.19.0
53+
ONNX Runtime version: 1.23.0
5454
```
5555
### Download and Validate ONNX Model - SqueezeNet:
5656
SqueezeNet is a lightweight convolutional neural network (CNN) architecture designed to achieve comparable accuracy to AlexNet, but with fewer parameters and smaller model size.

0 commit comments

Comments
 (0)