/ofxLibTorch

an openFrameworks wrapper for LibTorch

Primary LanguageC++MIT LicenseMIT

ofxLibTorch

Description

an openFrameworks wrapper for LibTorch

Requirements

  • Windows10
  • Visual Studio 2019
  • CUDA v10.1
  • openFramewrks v0.11.0
  • LibTorch v1.4.0
  • OpenCV v.4.2.0

Install

  1. Download LibTorch from https://pytorch.org/get-started/locally/
  2. Unzip the downloaded file and copy the contents of the "include" and "lib" directories to the following location
  • libtorch-win-shared-with-deps-1.4.0/include >> libs/libtorch_v.1.4.0/include/vs/x64/Release
  • libtorch-win-shared-with-deps-1.4.0/lib >> libs/libtorch_v.1.4.0/lib/vs/x64/Release

Licence

MIT