diff --git a/examples/cpp/hello_world/README.rst b/examples/cpp/hello_world/README.rst index 81161112034..68b10a65b3c 100644 --- a/examples/cpp/hello_world/README.rst +++ b/examples/cpp/hello_world/README.rst @@ -10,6 +10,7 @@ Once both dependencies are sorted, we can start the CMake fun: 1) Create a ``build`` directory inside the current one. 2) from within the ``build`` directory, run the following commands: + - ``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 `_. - | ``cmake -DCMAKE_PREFIX_PATH=";" ..`` | where ```` and ```` are the paths to the libtorch and torchvision installations. - ``cmake --build .``