Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

pyTorch-cpp-Tutorials

A project made to Learn pytorch on cpp

I was trying to debug this to understand the working of pytorch but I was unable to find the required src files anyways I made a few tutorials for referance soo...

to run any tutorial do the following :

  1. go to the directory of the tutorial

  2. create a build directory and change directory to 'build'

mkdir build
cd build 
  1. type the below command & replace the folder to the path of pytorch installation. (for installation refer below)
cmake -DCMAKE_PREFIX_PATH=/path/to/download/of/libtorch ..
  1. make it
make
  1. run the target file using ./file

pytorch-cpp installation (libtorch)

open https://pytorch.org/

scroll down to download area:

select lang as c++ and rest all as per requirement finally download the links provided by the website below and unzip it

About

A project made to read QR's in an extremely simple way

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages