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/cpp/hello_world/README.rst
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ Once both dependencies are sorted, we can start the CMake fun:
10
10
11
11
1) Create a ``build`` directory inside the current one.
12
12
2) from within the ``build`` directory, run the following commands:
13
+
- ``python ../trace_model.py`` To use a torchvision model in C++, you must first export it from the python version of torchvision. More information can be found on the corresponding `documentation page <https://pytorch.org/tutorials/advanced/cpp_export.html#loading-a-torchscript-model-in-c>`_.
0 commit comments