C++ and Python MNIST Database Neural Network and PyTorch Part 1 - Dependencies
B code
C++ and Python MNIST Database Neural Network and PyTorch
Part 1 - Dependencies
Compile and Install dependencies.
Part 0 - https://youtu.be/61qSfHAv9I0 Part 1 - https://youtu.be/Qime8qRyn6o Part 2 - https://youtu.be/lGVPEkg2TH4 Part 3 - https://youtu.be/diVCGQwU--w Part 4 - https://youtu.be/CR3mwfhH3lY Part 5 - https://youtu.be/lTaFXFGND2w
GitHub https://github.com/brccabral/Cpp_Python_MNIST
Eigen https://eigen.tuxfamily.org/ SimpleIni https://github.com/brofield/simpleini Libtorch https://pytorch.org/get-started/locally/ OpenCV https://opencv.org/ Numpy https://numpy.org/ Pillow https://pillow.readthedocs.io/
C++ code to read MNIST database was adapted from https://stackoverflow.com/questions/12993941/how-can-i-read-the-mnist-dataset-with-c
Python code to read MNIST database was adapted from https://jamesmccaffrey.wordpress.com/2020/05/05/converting-raw-mnist-binary-files-to-text-files/
Python code for the Neural Network was adapted from a tutorial from Samson Zhang (YouTube) Building a neural network FROM SCRATCH (no Tensorflow/Pytorch, just numpy & math) https://youtu.be/w8yWXqWQYmU
C++ code is my version based on Python code
PyTorch/Libtorch examples Python https://pytorch.org/tutorials/beginner/basics/quickstart_tutorial.html C++ https://pytorch.org/cppdocs/frontend.html#end-to-end-example
Libtorch tutorial from Alan Tessier (YouTube) https://www.youtube.com/watch?v=RFq8HweBjHA&list=PLZAGo22la5t4UWx37MQDpXPFX3rTOGO3k&index=1
Helper function to convert Eigen to Torch https://discuss.pytorch.org/t/data-transfer-between-libtorch-c-and-eigen/54156/6
Bitcoin bc1qn6rusfh9c5xt0243e7w806a60e69waks3qsz3rmwnvsm8r7wt4wqycedt9
#cpp #c++ #python #mnist #handwritten #neuralnetwork #pytorch #libtorch #eigen #numpy #simpleini ... https://www.youtube.com/watch?v=Qime8qRyn6o
86542470 Bytes