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
The cpp example at vision/examples/cpp/hello_world has dependency of Torch Vision only for cmake, but if we remove TorchVision from CMakeLists.txt and replace it for just Torch and commenting the include in main.cpp, it compiles and runs just fine.
So, TorchVision is not being used in the example.
Motivation, pitch
It would be nice to have an actual TorchVision example in C++. The documentation https://pytorch.org/vision/stable/index.html has only Python references, the example could give a starting point for C++.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
🚀 The feature
The cpp example at vision/examples/cpp/hello_world has dependency of Torch Vision only for
cmake
, but if we remove TorchVision from CMakeLists.txt and replace it for just Torch and commenting theinclude
inmain.cpp
, it compiles and runs just fine.So, TorchVision is not being used in the example.
Motivation, pitch
It would be nice to have an actual TorchVision example in C++. The documentation https://pytorch.org/vision/stable/index.html has only Python references, the example could give a starting point for C++.
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: