Skip to content

PyTorch-Calculator is a python application that uses PyTorch to interpret and solve mathematical expressions and equations you've written to the UI.

License

Notifications You must be signed in to change notification settings

Glas42/PyTorch-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch-Calculator

About

What is this app? PyTorch-Calculator is a python application that uses a custom PyTorch ML model to interpret and solve mathematical expressions you've drawn to the UI. The machine learning model and the dataset used for training are available on Hugging Face. The app will automatically download and update the model as needed. The app has only been tested on Windows and is also probably not compatible with other platforms.

How to Install the app

  1. Download Python 3.11.x from here and install it
  2. Clone or download this repository
  3. Run the Start.bat script, it will automatically create a virtual environment and install the required packages
  • The build instructions for the C++ version can be found here

What is the current state of the app?

The app is currently being rewritten in C++ to improve performance, but the Python version works fine. The current detection model works but it's not perfect and only detects the following characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, +, -, *, /, =, (, ).

Preview

About

PyTorch-Calculator is a python application that uses PyTorch to interpret and solve mathematical expressions and equations you've written to the UI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published