Skip to content
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

C++ compiling torchvision is too troublesome!!! #4447

Open
ahong007007 opened this issue Sep 19, 2021 · 3 comments
Open

C++ compiling torchvision is too troublesome!!! #4447

ahong007007 opened this issue Sep 19, 2021 · 3 comments

Comments

@ahong007007
Copy link

🚀 The feature

C++ compiling torchvision is too troublesome. After debugging for 3 days, I haven't found the problem. Since libtorch can solve the C++ installation problem of torch, why does torchvison not provide an interface such as libtorchvison and package compiled code?

Motivation, pitch

C++ compiling torchvision is too troublesome. After debugging for 3 days, I haven't found the problem. Since libtorch can solve the C++ installation problem of torch, why does torchvison not provide an interface such as libtorchvison and package compiled code?

Alternatives

No response

Additional context

No response

@ahong007007
Copy link
Author

Can pytoch+torchvision provide a basic C++ image call? The compilation process is too unfriendly to beginners.

@oke-aditya
Copy link
Contributor

Hmm can you elaborate the trouble?
Maybe this example can help you.
To install torchvision from source please clone the repo and run python setup.py develop

@NicolasHug
Copy link
Member

As @oke-aditya suggested, it would be nice to have a bit more details on what the problem is, with the steps you followed / the error message you're getting, etc.

It's not clear to me yet whether you're just trying to compile torchvision from source, or if you are trying to use torchvision from within C++. If that's the latter, please note that we have recently changed the way people are supposed to use the C++ API, so any previous workflow that you may have will be outdated (#4375).

If the instructions we already have in place are unclear, please let us know so we can update accordingly. Thanks!

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

No branches or pull requests

4 participants