Pytorch C++ frontend implementation to recognize handwritten digits.
- What is LIBTORCHMNIST?
- Project Hierarchy
- Getting Started
- Testing
- Support
- FAQ
- Development
- License
- References
Example project for recognition of the Modified National Institute of Standards and Technology database of handwritten digits
.
├── CMakeLists.txt
├── download_mnist.py
├── LICENSE
├── README.md
└── source
├── applications
│ ├── CMakeLists.txt
│ └── mnist
│ ├── CMakeLists.txt
│ ├── main.cpp
│ ├── main.h
│ └── main.h.in
├── CMakeLists.txt
└── libraries
├── CMakeLists.txt
└── DigitsRecognition
├── CMakeLists.txt
└── TorchImplementation
├── CMakeLists.txt
├── TorchNetwork.cpp
├── TorchNetwork.h
└── TorchNetwork_test.cpp
- Download libtorch from https://pytorch.org/get-started/locally/
- $ unzip libtorch-cxx11-abi-shared-with-deps-2.1.2+cpu.zip
libtorchmnist$ mkdir build
libtorchmnist$ cd build
libtorchmnist/build$ cmake -DCMAKE_PREFIX_PATH=</path/to/libtorch> .. && make
Contents](#contents)
Technical support is available in
If you want to contribute:
- Review the Contribution License Agreement
- Defines the terms under which intellectual property is contributed to a project
- To ensure the owner of the project has the necessary ownership, or grants of rights over contributions made by third parties.
- Must be signed by any contributor to a project who is making a "significant contribution".
- Without that signed CLA the contribution will not be accepted.
- Check the project issues list
- Fork the repository
- Submit your contribution as a pull request
- Create/update an issue
- A committer approves the proposal
Making a copy of the project's code Make your code changes Keep your changes concise and easy for the maintainers to understand Refer back to any discussion you had on the projects issues list Stick to the scope of the issue Make sure to fully test your code Make sure to include any required documentation Remember your contributions represent your public reputation and that of DXC
- Request review
- Create a contribution request (Pull Request) which include:
- Your code changes
- A commit message describing what you're submitting
- A reference to the original issue you created/updated in step 1
See LICENSE file