You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/CoreML/ONNXLive/README.md
+4-12Lines changed: 4 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,17 +21,9 @@ We are also using Python 3.6 for this tutorial, but other versions should work a
21
21
python3.6 -m venv venv
22
22
source ./venv/bin/activate
23
23
24
-
You need to install pytorch
24
+
You need to install pytorch and the onnx->coreml converter
25
25
26
-
pip install torchvision
27
-
28
-
and the onnx->coreml converter
29
-
30
-
git clone https://github.com/onnx/onnx-coreml
31
-
cd onnx-coreml
32
-
git submodule update --recursive --init
33
-
./install.sh
34
-
cd ..
26
+
pip install torchvision onnx-coreml
35
27
36
28
You will also need to install XCode if you want to run the iOS style transfer app on your iPhone.
37
29
You can also convert models in Linux, however to run the iOS app itself, you will need a Mac.
@@ -98,14 +90,14 @@ We will need to mark these as images.
98
90
So let's create a small python file and call it `onnx_to_coreml.py`. This can be created by using the touch command and edited with your favorite editor to add the following lines of code.
0 commit comments