Skip to content

Commit

Permalink
Specify onnxruntime's version
Browse files Browse the repository at this point in the history
There is currently a bug in `onnxruntime==1.16.0` (microsoft/onnxruntime#17631), so the installation instructions have been revised to reflect that. The usage of the "requirements.txt" file has also been clarified.
  • Loading branch information
David-davidlxl committed Oct 1, 2023
1 parent 91d13d1 commit 20e2575
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,14 @@ pip install scipy
pip install pygame
pip install Pillow
pip install tensorflow
pip install onnxruntime
pip install onnxruntime==1.15.1
pip install matplotlib
pip install pyclipper
pip install scikit-learn
```

(The "requirements.txt" file shows a complete list of the installed Python packages (with their version numbers included) up to this point.)
(Alternatively, you may use `pip install -r requirements.txt` to install
all the relevant packages.)

Next, in order to successfully import `tensorflow`, you also need to install a Microsoft Visual C++ Redistributable package from [here](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170). Since [Windows 11 only has the 64-bit version](https://www.intowindows.com/where-can-i-download-windows-11-32-bit-iso/), you can simply download and install [this](https://aka.ms/vs/17/release/vc_redist.x64.exe).

Expand Down

0 comments on commit 20e2575

Please sign in to comment.