https://github.com/andrewrgarcia/torch-cpp_example-app
C++ distributions of pytorch
https://github.com/andrewrgarcia/torch-cpp_example-app
Last synced: 3 months ago
JSON representation
C++ distributions of pytorch
- Host: GitHub
- URL: https://github.com/andrewrgarcia/torch-cpp_example-app
- Owner: andrewrgarcia
- Created: 2020-11-12T01:46:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-16T16:28:18.000Z (about 3 years ago)
- Last Synced: 2025-01-16T15:26:42.712Z (4 months ago)
- Language: CMake
- Size: 314 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# torch-cpp_example-app
An adaptation from the [Pytorch minimal example for C++ pytorch](https://pytorch.org/cppdocs/installing.html)
## Requirements
C++ Distributions of PyTorch.
[Download Pytorch](https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip)
## Development
```ruby
cmake -DCMAKE_PREFIX_PATH=/home/andrew/libtorch #may need to change this to your directory name
cmake --build . --config Release
```### Deployment
```ruby
./example-app
```## Contributors
- [Andrew Garcia](https://github.com/andrewrgarcia) - creator and maintainer