https://github.com/krshrimali/libtorch-windows
Setting up Libtorch on Windows
https://github.com/krshrimali/libtorch-windows
Last synced: 6 months ago
JSON representation
Setting up Libtorch on Windows
- Host: GitHub
- URL: https://github.com/krshrimali/libtorch-windows
- Owner: krshrimali
- Created: 2019-12-02T18:17:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-16T09:28:12.000Z (almost 6 years ago)
- Last Synced: 2025-03-12T08:26:12.241Z (7 months ago)
- Size: 195 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Setting up Libtorch on Windows
1. **Use this Medium Blog:** https://medium.com/@boonboontongbuasirilai/building-pytorch-c-integration-libtorch-with-ms-visual-studio-2017-44281f9921ea
2. **Error C4146:**
* **Error received:** https://github.com/pytorch/pytorch/issues/29654
* **Solution:** https://github.com/pytorch/pytorch/pull/27596## Additional Instructions
1. Copy all files to the build directory from `lib/` folder. (If not, error of `torch.dll` not found will come).
2. `caffe2.lib` not found. Remove from the *Linker -> Input* list.## Screenshots
Example of code working
![]()