Skip to content

Commit 2034f9c

Browse files
authored
Improve docs on CPU_ONLY mode #2037 (#2147)
This commit adds a note on how to install openpose via cli without GPU unit.
1 parent 95949a3 commit 2034f9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/installation/0_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ In order to build the project, select and run only one of the 2 following altern
192192
copy x64\Release\* bin\
193193
```
194194
195+
**NOTE**: To set `GPU_MODE` flag to `CPU_ONLY` when building the tool via cli, append `-D GPU_MODE:STRINGS=CPU_ONLY` to the `cmake` command.
196+
195197
**VERY IMPORTANT NOTE**: In order to use OpenPose outside Visual Studio, and assuming you have not unchecked the `BUILD_BIN_FOLDER` flag in CMake, copy all DLLs from `{build_directory}/bin` into the folder where the generated `openpose.dll` and `*.exe` demos are, e.g., `{build_directory}x64/Release` for the 64-bit release version.
196198
197199
If you are facing errors with these instructions, these are a set of alternative instructions created by the community:

0 commit comments

Comments
 (0)