Hello.
I took the model from the console to the Libtorch and tested it using VS2015.
However, in the MFC environment, the inclusion of “torch\script” in the header results in an error.
I tested it in the console environment again for comparison, but I found it working properly on the console.
Is Libtorch not available in MFC environments?
- Visual Studio 2015
- CUDA = 10.0
- Libtorch = https://download.pytorch.org/libtorch/cu101/libtorch-win-shared-with-deps-1.4.0.zip