Skip to content

Cpp Example #7106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brccabral opened this issue Jan 18, 2023 · 0 comments
Open

Cpp Example #7106

brccabral opened this issue Jan 18, 2023 · 0 comments

Comments

@brccabral
Copy link

🚀 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 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant