Hi,

  
      
      GitHub
  
  
    

tobiascz/MNIST_Pytorch_python_and_capi 181

This is an example of how to train a MNIST network in Python and run it in c++ with pytorch 1.0  - tobiascz/MNIST_Pytorch_python_and_capi


  
  
    
    
  
  


checkout this example. It pretty much the makefile from the example except that I added OpenCV as well.
From there on its just normal CMake!